HRSMC, The Geant4 Simulation Program for G2P|GEP Jixie Zhang 10/30/2012.

Slides:



Advertisements
Similar presentations
GEANT Simulation of RCS Vahe Mamyan Hall A Analysis Workshop December 10, 2003.
Advertisements

Robert Michaels HAMC Hall A Analysis Workshop 09 C HAMC = Hall A Monte Carlo ROOT / C++ Design Somewhat like SAMC & genercone For HRS only. Uses LeRose.
Measuring the Neutron and 3 He Spin Structure at Low Q 2 Vincent Sulkosky College of William and Mary, Williamsburg VA Experimental Overview The.
HRSMC, A Geant4 Simulation for HRS and Beyond Jixie Zhang Hall A & C Data Analysis Workshop December 2013 Jixie Zhang1Data Analysis Workshop, Dec 2013.
E : HRS Cross Section Analyses Vincent Sulkosky Massachusetts Institute of Technology GMp Collaboration Meeting September 24 th, 2012.
Jin Huang & Vincent Sulkosky Massachusetts Institute of Technology Boson 2010 Workshop Sept 20, JLab.
Hall D Photon Beam Simulation and Rates Part 1: photon beam line Part 2: tagger Richard Jones, University of Connecticut Hall D Beam Line and Tagger Review.
Zhihong Ye Hampton University Feb. 16 th 2010, APS Meeting, Washington DC Data Analysis Strategy to Obtain High Precision Missing Mass Spectra For E
LBNE R&D Briefing May 12, 2014 LBNE R&D Briefing May 12, 2014 LArIAT and LBNE Jim Stewart LArIAT EPAG Chair BNL LBNE LARIAT-EPAG J. Stewart BNL T. Junk.
Min Huang Duke University, TUNL On Behalf of the E g2p collaboration Hall A Analysis Workshop, 12/12/12.
GRD - Collimation Simulation with SIXTRACK - MIB WG - October 2005 LHC COLLIMATION SYSTEM STUDIES USING SIXTRACK Ralph Assmann, Stefano Redaelli, Guillaume.
HPS Test Run Setup Takashi Maruyama SLAC Heavy Photon Search Collaboration Meeting Thomas Jefferson National Accelerator Facility, May 26-27,
HLab meeting 10/14/08 K. Shirotori. Contents SksMinus status –SKS magnet trouble –Magnetic field study.
Report of the NTPC Test Experiment in 2007Sep and Others Yohei Nakatsugawa.
A Reconstruction Algorithm for a RICH detector for CLAS12 Ahmed El Alaoui RICH Workchop, Jefferson Lab, newport News, VA November th 2011.
HRSMC, The Geant4 Simulation of HRS for G2P|GEP Jixie Zhang For the G2P Collaboration Hall A & C Data Analysis Workshop December 2012 Jixie Zhang1Data.
HRSMC, A Geant4 Simulation for HRS Jixie Zhang CREX Collaboration Meeting April 2014 Jixie Zhang1April 2014.
Jin Huang M.I.T. For Transversity Collaboration Meeting Sept 24, JLab.
A Study of Mapping for g2p instead of Reconstruction? Jixie Zhang Nov 27, 2012.
Question and Answer 1) A weighted Monte-Carlo ray trace of particles exiting the target/magnet assembly for all primary beam energies showing: a) Where.
Spectrometer Optics John J. LeRose. The Basics Charged particles moving through static magnetic fields.  Magnetic Rigidity Local radius of curvature.
Jin Huang M.I.T. Hall A Analysis Workshop Dec 14, JLab.
Vincent Sulkosky Massachusetts Institute of Technology Spokespeople: J.-P. Chen, A. Deur, F. Garibaldi Hall A Collaboration Meeting December 10 th, 2012.
SoLID simulation Zhiwen Zhao Uva SoLID Collaboration Meeting 2011/6/2 1.
SHMS Optics Studies Tanja Horn JLab JLab Hall C meeting 18 January 2008.
Charmonium feasibility study F. Guber, E. Karpechev, A.Kurepin, A. Maevskaia Institute for Nuclear Research RAS, Moscow CBM collaboration meeting 11 February.
Impact parameter resolution study for ILC detector Tomoaki Fujikawa (Tohoku university) ACFA Workshop in Taipei Nov
Measurement of F 2 and R=σ L /σ T in Nuclei at Low Q 2 Phase I Ya Li Hampton University January 18, 2008.
A search for deeply-bound kaonic nuclear states in (in-flight K -, N) reaction Hiroaki Ohnishi RIKEN.
CEBAF The Continuous Electron Beam Accelerating Facility(CEBAF) is the central particle accelerator at JLab. CEBAF is capable of producing electron beams.
APEX Septum Analysis G.M. Urciuoli. Comparison between PREX septum field (from SNAKE input), and APEX septum field (from TOSCA simulations). Y axis.
PREX Mtg, July 2008R. Michaels, JLab Hall A Monte Carlo -- HAMC Similar to A. Deur’s ``Single Arm Monte Carlo’’ “Fast” Monte Carlo -- not Geant ROOT /
Update on the Hall C Monte Carlo simulation for 12 GeV Mark Jones.
Latifa Elouadrhiri Jefferson Lab Hall B 12 GeV Upgrade Drift Chamber Review Jefferson Lab March 6- 8, 2007 CLAS12 Drift Chambers Simulation and Event Reconstruction.
Lecture 9: Inelastic Scattering and Excited States 2/10/2003 Inelastic scattering refers to the process in which energy is transferred to the target,
E.C. AschenauerFebruary Inclusive Structure functions in eA or why momentum resolutions are important E.C. Aschenauer February How to extract.
Geant4 Simulation of the Beam Line for the HARP Experiment M.Gostkin, A.Jemtchougov, E.Rogalev (JINR, Dubna)
Impact parameter resolutions for ILC detector Tomoaki Fujikawa (Tohoku university) ACFA Workshop in Taipei Nov
Optics, Tracking, and TOF Status/Update/Roadmap Xin Qian KRL Caltech.
Dual Target Design for CLAS12 Omair Alam and Gerard Gilfoyle Department of Physics, University of Richmond Introduction One of the fundamental goals of.
E97-110: Small Angle GDH Experimental Status Report E97-110: Small Angle GDH Experimental Status Report Vincent Sulkosky Massachusetts Institute of Technology.
Momentum Corrections for E5 Data Set R. Burrell, G.P. Gilfoyle University of Richmond, Physics Department CEBAF The Continuous Electron Beam Accelerating.
HES-HKS & KaoS meeting Toshi Gogami 27/June/2012.
 0 life time analysis updates, preliminary results from Primex experiment 08/13/2007 I.Larin, Hall-B meeting.
1 Limitations in the use of RICH counters to detect tau-neutrino appearance Tord Ekelöf /Uppsala University Roger Forty /CERN Christian Hansen This talk.
Run Coordnator Report 2012/04/ /04/10 Jixie Zhang
Electron Spectrometer: Status July 14 Simon Jolly, Lawrence Deacon 1 st July 2014.
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
Measurement of Exclusive  - Electro-production from the Neutron in the Resonance Region Jixie Zhang Physics Department Old Dominion University 11/30/2006.
E97-110: Small Angle GDH Experimental Status Report E97-110: Small Angle GDH Experimental Status Report Vincent Sulkosky Massachusetts Institute of Technology.
Spectrometer optics studies and target development for the 208Pb(e,e’p) experiment in Hall A at Jefferson Lab, GUIDO M. URCIUOLI, INFN, Roma, Italy, JUAN.
1 Simulation, Formatter & Analysis Kyo Tsukada Tohoku Univ.
Jin Huang Brookhaven National Lab ● Optics General ● Test Run Calibration ● Comment on Full Runs Trying to collect materials from three years ago. May.
Object-Oriented Track Reconstruction in the PHENIX Detector at RHIC Outline The PHENIX Detector Tracking in PHENIX Overview Algorithms Object-Oriented.
Open and Hidden Beauty Production in 920 GeV p-N interactions Presented by Mauro Villa for the Hera-B collaboration 2002/3 data taking:
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
Mitglied der Helmholtz-Gemeinschaft Hit Reconstruction for the Luminosity Monitor March 3 rd 2009 | T. Randriamalala, J. Ritman and T. Stockmanns.
Min Huang g2p/GEp Collaboration Meeting April 18, 2011.
Jixie Zhang1 A Geant4 Simulation for RTPC 12 Jixie Zhang University of Virginia Spectator Tagging Workshop March 11, 2014.
M. Kuhn, P. Hopchev, M. Ferro-Luzzi
Huagen Xu IKP: T. Randriamalala, J. Ritman and T. Stockmanns
Tracking System at CERN 06 and 07 test beams
VTX tracking issues Y. Akiba.
SBS Magnet, Optics, and Spin Transport
Precision Measurement of the Electroproduction of p0 Near Threshold:
Momentum Corrections for E5 Data Set
Special Considerations for SIDIS
CLAS Simulations for the E5 Data Set
Geant4 in HARP V.Ivanchenko For the HARP Collaboration
Presentation transcript:

HRSMC, The Geant4 Simulation Program for G2P|GEP Jixie Zhang 10/30/2012

Introduction HRSMC is the Geant4 program developed to simulate the physics for G2P and GEP experiments. Geometry: Full G2P platform, (target, target field coil, scattering chamber, local dump, septum, platform itself, 3 rd arm), HRS QQDQ magnet geometry, BigBite, Hall A Neutron Detectors (HAND). Support 5.65 degrees central ray angle(with g2p septum), and also any HRS angle without the septum. Fields: FZ fields, target field, septum fields. HRS QQDQ fields are not included yet(not needed). The transportation in HRS are taken care by SNAKE models which came from ‘SNAKE + MUDIFI’. Major purposes: study the G2P|GEP optics and HRS acceptance with target field. 2

Geometry in HRSMC Detectors and fields can be turned on or off in configuration files. Include OLD BigBite and HAND geometry, which were used in quasi-elastic experiments (E05-102, E05-015, E BigBite field is just an uniform field. Can use a field map when needed. 3

G2P|GEP Geometry SNAKE models are used in HRS transportation. Currently one standard 12.5 degrees model, two E degree models (one with larger X0 and the other is normal X0), and two models for G2p (normal (484816) septum with and without shims) are ready. Models for G2p and septa will be ready soon. All models are without target field. 4

Physics Modules The following models are available(default is QGSP_BERT): FTFP_BERT FTFP_BERT_EMV FTFP_BERT_EMX FTF_BIC LHEP LHEP_EMV QBBC QGS_BIC QGSC_BERT QGSP QGSP_BERT QGSP_BERT_EMV QGSP_BIC_EMY QGSP_BERT_EMX QGSP_BERT_HP QGSP_BIC QGSP_BIC_HP For detials of these model, please refer to ncePL.shtml Jixie’s personal Models: QGSP_BERT QGSP_BERT_HP QGSP_BIC QGSP_BIC_HP HRSHadronPhysics User-Step-Limit will be invoked for e-, pr, alpha, D2 and He3. Allow various step length in Target, Scattering Chamber, in FZ magnets and the rest of the hall. 5 Include Neutrons Models

Magnetic Fields FZ Magnet: Tosca map is available but not built in yet. Currently uniform fields are used. Target Magnet: 2 models are available: one is Hall-B Coil (both TOSCA map and routine availabe), the other is UVA Coil which was used in SANE experiment(only TOSCA map available) Septum Magnet: TOSCA map for 4 configurations are available: without shim, , , , BigBite: Uniform field, can support field map if needed. HRS QQDQ: Field map can be extracted from SNAKE program. Not necessary for G2P|GEP. Place fields into QQDQ and run GEANT4 throught HRS will const too much time for each event. Not efficient at all. Will not do that if not have to. 6

Input and Output Input: HRSMC requires detector configuration file ‘Detector.ini’to turn on |off detectors. It also require ‘HRSUsage.ini’to interpret the command line and provide the usage menu. Each non-uniform magneitc field is associated with a configuration file to specify the ratation, position and current ratio...etc. Field maps should also be available. Output: 2 types of output are available: ascii file, root ntuple. Can be turn on|off in ‘Detector.ini’. Verbose (screen output): verbose can be turned on or off using internal command, which can be written into the macro files. Note: All default command line arguments are written in‘HRSUsage.ini’, user can change them in this file to avoid typing long command. 7

Strategy Vertex to Sieve: propagated by Geant4 with all physics models (i.e. MSC, Decay, Ionization, EM physics...) Sieve to Focal: using Snake forward model, 8-10 software collimator cuts are applied along the trajectories to make sure particle is really hitting the focal plane. Focal to Sieve: using Snake backward model. Sieve to Target: using Drift-In-Field model. Target to Vertex: using Drift-In-Field model. 8 Target plane Vertex plane Sieve plane Virtual boundary Focal plane Snake forward Snake backward Propagated by Geant4 Drifted in field

Advantage of HRSMC XS models: elastic and inelastic(QFS) Flexible command line. General hit processing for common detecotors. Event generator: BdL, Elas, QuasiElas, RootNtuple, RootHisto... Flexible physics modles Flexible Virtual Detector configurated by input files Fast option Powerful field interpretor 9

Documentation Source code is availabe in SVN: Instruction for Geant4 installation, environment setup and update history are availabe. Usage menu will be show by these commands: HRSMC -h, HRSMC --h, HRSMC -help, HRSMC --help Usage: HRSMC [option1 argument_list] [...] [optionN argument_list] There are about 30 options currently available, will keep adding. To get the detail usage of each option, just type 'help' after it. For example: HRSMC -physicsmodel help Menu for internal commands: html files are already created to describe the detail usage for each command. Output root ntuple structure description is ready A lot of macro files and scripts to analyze the output root ntuple are availabe 10

Study The Resolution of SNAKE Model How to read these plots? ‘tr’ means in transport coordinate ‘lab’means in hall coordinate ‘Mean’will be the offset of the construction ‘Sigma’will be the resolution of the reconstruction Reconstructed variable in target plane Thrown or Effective variable in target plane

Resolution of SNAKE Model shim (2) Normal situation: 2 cm raster, +/-5% delta,full coverage of theta and phi.0 mm BPM vertical resolution. Reocnstructed Ytg_tr got improved, but is still bad if it is 10 mm away... 12

BPM Dependence of SNAKE Model shim Normal situation: 2 cm raster, +/-5% delta,full coverage of theta and phi. Delta and X_tr have strong dependence, Theta_tr also has some dependence. 13

Effective BPM X0_tr and Theta_tr 14 Variable in target plane imaged by NO target field SNAKE model Thrown variable in target plane

Resolution of HRSMC Using SNAKE Model shim, No Target Field 15 Raster=2.4cm, BPM resolution: 1 mm in vertical

Resolution of HRSMC Using SNAKE Model shim, Stop at Exact Z0,5T 16 Raster=2.4cm, BPM resolution: 1 mm in vertical

Resolution of HRSMC Using SNAKE Model shim, Stop at Target Plane,5T 17 Raster=2.4cm, BPM resolution: 1 mm in vertical

Dependence of Theta Resolution, Using SNAKE Model shim,5T Resolution is out of control at the edge of the acceptance The overall dTheta resolution looks bad, but not too bad if binned in Z0_tr. That indicates it has strong dependence on Z0_tr, or the TRUE vertex z. dTheta resolution has very strong out-of-plane-angle, in- plane-angle and TRUE vertex z denpendence. In the regeon |Z0_tr|<10 mm, dTheta resolution satisfies the requirement of g2p. Need to find out a way to select good reolution regeon. 18

Conclusion HRSMC is ready for most G2P tasks. Need SNAKE model for GEP. It can be easily modified for other experiments. For g2p, to reach 5% uncertainty in absolution cross section, we have to limit the uncertaity of the reconstructed scatering angle to 1% (or 1.4 mrad at 5.0T target field, or 1.2 mrad at 2.5T target field field). That said, at 5.0T target field, the uncertainty of theta_tr and phi_tr are required to be less than 2 mrad at 5.0T trget field. The stratege of the reconstruction is: No-Target-Filed-HRS + Drift-Sieve-to-Target-in-field. Require high resolution for the HRS package. When target field is used, the resolutions of the reconstruction are mainly come from the uncertainty of vertex z. To improve this, high resolution in Ytg_tr is required. 19

Acknowledgment Thank John LeRose for providing guidence and SNAKE models Thank Min Huang for providong SNAKE models and her hard work in optics optimization for real data Thank Chao Gu for helping in both simulation and optics optimization Thanks to Vince, Jin, Nilanga, Xin for their patient discussion and useful suggestions 20

Back up 21

22

End Planes Propagate procedures and Name Rules for Their Variables Variables: $={X,Theta,Y,Phi,Delta,(Z,P)} Two coordinate systems: Hall coordinate system (HCS) and Transport coordinate system(TCS, variable names always followed by‘_tr’) Propagate procedures: 1.Thrown in vertex plane: $0, $_tr 2.Images of thrown vertex at target plane: $tg_tr 3.Sieve plane (Virtual Boundary): $vb, $vb_tr 4.Projected to target plane: $_proj2tg_tr 5.Focal plane: $fp_tr 6.Snake’s reconstruction at target plane: $_rec2tg_tr 7.Project Snake’s reconstruction to sieve plane: $_proj2sl_tr 8.Drift from sieve plane to target plane: $tg_rec_tr 9.Drift from target plane to vertex plane: $_rec, $rec_tr $0,$0_tr -> $tg_tr -> $vb,$vb_tr -> $_proj2tg_tr -> $fp_tr -> $_rec2tg_tr -> $_proj2sl_tr -> $tg_rec_tr -> $_rec,$_rec_tr BPM resolution of lab Y (vertical) was used in step 5 to go backward BPM resolution of lab X (horizontal) was used in step 9 to calculate vertex Z, then determined the vertex plane and do the drift. Compare the vaiables between planes: 1 vs 9, 2 vs 8, 4 vs 6 23

Resolution of SNAKE Model shim (1) The best scenerio: x,theta,y,phi,delta are all delta function at the cental values, asumming 1 mm BPM vertical resolution. 24

Drift-In-Field Module Purpose: Propagate particle in EM field from one location to the other. In G2P only magnetic field is used. This module is mainly used to drift electron from sieve plane to target plane or vertex plane (the end plane of the vertex). Input: 3-vector of initial position and momentum in Hall Coordinate System (HCS), field map, particle’s mass and charge. Output: 3-vector of final position and momentum in HCS Speed: 12 milisecond to drift 800 mm with 50 um step length. Other usages: This module is also used in the following projects: 1)finding the chicane position and beam pipe angle; 2)predicting the vertex position at target plane based on BPM A and BPM B measurements; 3)finding beam titled angle and position offsets at veraious vertex z. 25

SNAKE Model: Sieve Focal Snake models are actually fitted between target plane and focal plane. All used Snake models are without target field, which means their trajectories in between sieve plane and target plane are STRAIGHT LINES. Even for 5.0 Tesla target field, the integrated BdL_y from 800 mm to beyond is only 0.01 Tesla.m, about 1.46% of the total. This means the effect from the target field behind the sieve is negligable. field=5.0T trajectory: y vs z Therefore: Sieve-to-Focal-without-targetfield = Sieve-to-Focal-with-targetfield. Sieve-to-Focal = Target-to-Focal – Target-to-Sieve. Same for Focal-to-Sieve. 26

BPM Resolution There are only 4 variables (x, y, theta, phi) in the focal plane, in order to reconstruction back to five variables (x, y, theta, phi, delta) in the target plane, one assumption has to be made. This assumption is that the momentum of the particle (delta) only depends on the VERTICAL displacement and the value of the out-of-plane angle (theta). That said, if the initial vertical position X0 is known, delta and the other 4 vaiables can all be reconstructed. The initial vertical position X0 usually came from BPM vertical mesurement. Two  sources:  X0 =  BPM_Measurement +  Vertical_DueToUnknownZ0InField When target field is on, since we do not know the vertex Z0,  Z=15mm, BPM will have large uncertianty in the vertical position. Horizontal is fine.  Vertical from simulation: Field=5T, E=2.254 GeV, Beam goes to local dump trajectory: y vs z Field(T)Beam (GeV)  Vertical (mm) ,3.359<0.2 27

Transform Vaiables between Coordinate Systems: TCS and HCS TCS = Transport Coordinate System HCS = Hall Coordinate System Curtsey to Chao Gu 28

Uncertainty Estimation Curtsey to Chao Gu + 29

Energy Loss Correction for Electron 30 NH3, With Liquid Helium 40 mil C12 No Liquid Helium 40 mil C12 With Liquid Helium P0 (GeV/c) P0-Pvb (GeV/c) P0 (GeV/c) P0-Pvb (GeV/c) Fit ‘pol3’ to dp Vs. P0: f(x)= p 0 + p 1 *x + p 2 *x 2 + p 3 *x 3

Contribution of BPM Vertical Resolution Normal situation: 2 cm raster, +/-5% delta,full coverage of theta and phi. 31 BPM Res = 0 mm BPM Res = 1 mm

Dependence of Phi Resolution, Using SNAKE Model shim,5T 32 The overall dPhi resolution looks bad, but not too bad if binned in Z0_tr. That indicates it has strong dependence on Z0_tr, or the TRUE vertex z. dPhi resolution has very strong out-of-plane-angle, in-plane-angle and TRUE vertex z denpendence.

Resolution of HRSMC Using SNAKE Model shim, Stop at Vertex Plane,5T 33 Raster=2.4cm, BPM resolution: 0.5mm in horizontal and 1 mm in vertical