190 likes | 317 Views
21 Nov 2002 MC Meeting. Update on TOFSIM Status. Outline. TOFSIM Documentation Data and MC Comparison Time Resolution and Pull Dist. TOF Simulation How-To Summary. Bockjoo Kim Seoul National University. TOFSIM Documentation.
E N D
21 Nov 2002 MC Meeting Update on TOFSIM Status Outline • TOFSIM Documentation • Data and MC Comparison • Time Resolution and Pull Dist. • TOF Simulation How-To • Summary Bockjoo Kim Seoul National University
TOFSIM Documentation • TOFSIM is documented in CDFNote6120 and what is presented at April MC workshop • The note focuses on how the parameterization is done (ADC parameterization and twalk) (TofEventdata.cc does the parameterization) • USRTUNED parameterization uses calibration files(TofSimConfig.cc reads all the parameters from files)
TOFSIM Documentation…continues Simulation Options • SIMPLE • Use the simple parameterization • Good for quick test, e.g., material check, synched with rec. • MODERATE • Same as SIMPLE but with an analytic time-walk • Not well tested • USRTUNED • Use calibration files and can be used for analysis • But it is not in good shape yet, not well synched with rec. yet • (DBFILE) In preparation • DB for time and File for ADC • DB reading capability is implemented
TOFSIM Documentation…continues Option USRTUNED:Time to TDC • t = t0offset – (thit - tlight – twalk) thit : Bar hit time (Geant) t0offset :measured during calib. tlight =±zhit/cbarhit(+ for east – for west) twalk=alog(Q(z)/Qmip(z)) –b(log (Q(z)/Qmip(z)))2 Qmip (z) = Q0E,We- (L/2∓z )/L +az2 Q(z) = QLandau * Qmip (z) • tsmeared = t± (100 + 0.4*dhit ) (ps) • TDC =v(1+ue-tsmeared /t)tsmeared From calibration files
Underlying concept for ADC Parameterization TOF Bar Landau Dist (no z dependence) Light Landau from light Gaussian from electronics Charged particle Electronics ADC(West) ADC = ADC(East) Light We measure Charged particle Width in log(ADC(East)/ADC(West)) vs z Landau width from Landau fit - Width in log(ADC(East)/ADC(West)) vs z Electronics resolution Width in log(ADC(East)/ADC(West))
TOFSIM Documentation…continues Option USRTUNED :DE to ADC A fudge factor • Effect of photon statistics QLandau = DE/8*F(sLandau) sLandau = sqrt( (s Q0E/Q0E)2 + (s Q0W/Q0W)2 –0.5(Dr)2)/sqrt(2) Q0E,W ,s Q0E,W:Peak and width of the⊥MIP’s ADC response Dr : electronics resolution from D(residual) of ln(QE/QW) vs z • z-dependence • Q(z) = QLandau * Q0E,We- (L/2∓z )/L +az2 • Q0E,W ,L ,andaare channel or bar dependent • Electronics resolution ADC = Q(z) ± (Q0E,WDr )/sqrt(2)
option DBFILE:Like Reconstruction • Reconstruction gets TOF from TOF = toff – tTOFD – twalk – tlight-(tres) (Is this true?) • In simulation we can put the effects as tTOFD = toff - thit– twalk – tlight For ADC, we should use USRTUNED parm. because there are no parameters for ADC in DB. • If everything is perfect, TOF = thit
Example tcl (simulation part) Databse Specification Simulation OPTION module talk SimulationControlMod DetectorMenu simulateTof set t ; simulateCot set t exit add Tof3Pack TofDigi3Pack TofGroup ; add TofBar TofDigiBar TofGroup add CotSuperLayer CotDigitizer CotGroup ConfigMenus CotGroup_CotSuperLayer DriftModel set Garfield CreateMCOT set false ; CreateCOTM set true exit TofGroup_Tof3Pack globalChannelCalibFiles set TofSim/test/pmt_channels.dat \ TofSim/test/pmt_voltage.dat TofSim/test/bad_channels.dat \ TofSim/test/pmt_parameters.dat TofSim/test/calib_1e41e.dat \ usrChannelCalibFiles set TofSim/standalone/TofChannels_832x.dat level set DBFILE tacsimr set 135602 ; tacsimv set 1 ; tacsims set RAW ; pedsimr set 135602 pedsimv set 1 ; pedsims set RAW ; spdsimr set 135612 ; spdsimv set 1 spdsims set RAW ; attsimr set 135612 ; attsimv set 1 ; attsims set COMPLETE offsimr set 135612 ; offsimv set 1 ; offsims set COMPLETE; wlksimr set 135612 wlksimv set 1 ; wlksims set COMPLETE ; rsdsimr set 135612 ; rsdsimv set 2 rsdsims set RAW ; ressimr set 135612 ; ressimv set 2 ; ressims set RAW quit ; quit; quit Files for parameters
Reconstruction Options • Simple Pulse Finder • Track extrapolation : Geometric • Matching : TLR method • T0 Calculation : Negative Log Likelihood • Calibrator Type: • Dummy SIMPLE (sim-rec-synched ) • Sim USRTUNED (in preparation) • Test DBFILE (in preparation)
PT distribution Blue:J-stream data Red :E-stream data Black: MC MC: 5000 Pythia B-Bar Tracks which hit only single bar Basic track cuts, |d0|<1, |Z0|<75, and pT>0.35
USRTUNED:Time distribution T east Walk cor T west Walk cor Red :Express-stream data Black: MC(option USRTUNED(=calib. from file) )
USRTUNED:ADC distribution Red :E-stream data Black: MC Blue :Store832
DBFILE:Time Distribution This is a work in progress. Red :Express-stream data Black: MC(option DBFILE(=calib. from DB+file) )
DBFILE:Time Distribution/offset With MC time offset –3.2 ns. But the reason is unknown.
DBFILE:ADC distribution Red :E-stream data Black: MC
Measured T0 Red :E-stream data Black: MCoption USRTUNED Blue:MC option DBFILE This needs to be investigated!
Measured TOF Red :E-stream data Black: MCoption USRTUNED Blue:MC option DBFILE This needs to be investigated!
TOFSIM usage webpage • See TOFSIM webpage • In the web, I will put the standard tcl files used for this presentation
Summary • A very crude version of TOFSIM CDF Note is prepared • Simulation option DBFILE is added to use consistent parameters between Sim. and Rec. • Various simulation options show discrepancies between MC and DATA • T0 and TOF distribution should be understood