shift digits in time by timeShift
Definition at line 29 of file testCosmicT0Finder.py.
◆ event()
event processing
Definition at line 32 of file testCosmicT0Finder.py.
33 ''' event processing '''
37 digit.setTime(digit.getTime() + timeShift)
40 gROOT.ProcessLine(
'struct TreeStruct {\
41 int slot; /* slot number */ \
42 int nfot; /* number of photons in the slot */ \
43 int pdg; /* PDG code from barHit */ \
44 float x; /* local x from barHit */ \
45 float y; /* local y from barHit */ \
46 float z; /* local z from barHit */ \
47 float t; /* time from barHit */ \
48 float p; /* momentum from barHit */ \
49 float theta; /* momentum theta [deg] from barHit */ \
50 float phi; /* momentum local phi [deg] from barHit */ \
51 float dx; /* extHit - barHit difference in local x */ \
52 float dy; /* extHit - barHit difference in local y */ \
53 float dz; /* extHit - barHit difference in local z */ \
54 float dt; /* extHit - barHit difference in time */ \
55 float dp; /* extHit - barHit difference in momentum */ \
56 float dtheta; /* extHit - barHit difference in theta [deg] */ \
57 float dphi; /* extHit - barHit difference in local phi [deg] */ \
58 float t0; /* t0 determined by TOPCosmicT0Finder */ \
59 float t0err; /* error on t0 */ \
60 float timeShift; /* time shift applied to TOPDigits */ \
61 float dt0; /* difference: dt + t0 - timeShift */ \
A (simplified) python wrapper for StoreArray.
The documentation for this class was generated from the following file: