Download presentation
Presentation is loading. Please wait.
Published byMargaretMargaret Barker Modified over 9 years ago
1
Update on TOFSIM Status Bockjoo Kim Seoul National University 21 Nov 2002 MC MeetingOutline TOFSIM DocumentationTOFSIM Documentation Data and MC ComparisonData and MC Comparison Time Resolution and Pull Dist.Time Resolution and Pull Dist. TOF Simulation How-ToTOF Simulation How-To SummarySummary
2
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)
3
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
4
Option USRTUNED:Time to TDC t = t 0offset – (t hit - t light – t walk ) t hit : Bar hit time (Geant) t 0offset :measured during calib. t light = ±z hit /c barhit (+ for east – for west) t walk = log(Q(z)/Q mip (z)) – (log (Q(z)/Q mip (z))) 2 Q mip (z) = Q 0E,W e - (L/2 ∓ z )/ + az 2 Q(z) = Q Landau * Q mip (z) t smeared = t ± (100 + 0.4*dhit ) (ps) TDC = (1+ e - t smeared / )t smeared TOFSIM Documentation…continues From calibration files
5
Underlying concept for ADC Parameterization Charged particle TOF Bar Light Landau Dist (no z dependence) Charged particle Light ADC(West) ADC(East) ADC = Electronics Landau from light Gaussian from electronics We measure 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))
6
Option USRTUNED E to ADC Effect of photon statistics Q Landau = E/8* ( Landau ) Landau = sqrt( ( Q0E /Q 0E ) 2 + ( Q0W /Q 0W ) 2 –0.5( r) 2 )/sqrt(2) Q 0E,W, Q0E,W :Peak and width of the ⊥ MIP’s ADC response r : electronics resolution from residual) of ln(Q E /Q W ) vs z z-dependence –Q(z) = Q Landau * Q 0E,W e - (L/2 ∓ z )/ + az 2 –Q 0E,W, and a are channel or bar dependent Electronics resolution ADC = Q(z) ± (Q 0E,W r )/sqrt(2) TOFSIM Documentation…continues A fudge factor
7
option DBFILE:Like Reconstruction Reconstruction gets TOF from TOF = t off – t TOFD – t walk – t light -(t res ) (Is this true?) In simulation we can put the effects as t TOFD = t off - t hit – t walk – t light For ADC, we should use USRTUNED parm. because there are no parameters for ADC in DB. If everything is perfect, TOF = t hit
8
Example tcl (simulation part) 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 Databse Specification Files for parameters Simulation OPTION
9
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)
10
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| 0.35
11
USRTUNED:Time distribution Red :Express-stream data Black: MC(option USRTUNED(=calib. from file) ) T west Walk cor T east Walk cor
12
USRTUNED:ADC distribution Blue :Store832 Red :E-stream data Black: MC
13
DBFILE:Time Distribution Red :Express-stream data Black: MC(option DBFILE(=calib. from DB+file) ) This is a work in progress.
14
DBFILE:Time Distribution/offset With MC time offset –3.2 ns. But the reason is unknown.
15
DBFILE:ADC distribution Red :E-stream data Black: MC
16
Measured T0 This needs to be investigated! Red :E-stream data Black: MC option USRTUNED Blue:MC option DBFILE
17
Measured TOF This needs to be investigated! Red :E-stream data Black: MC option USRTUNED Blue:MC option DBFILE
18
TOFSIM usage webpage See TOFSIM webpage In the web, I will put the standard tcl files used for this presentation
19
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.