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