Belle II Software  release-06-01-15
ShiftDigits Class Reference
Inheritance diagram for ShiftDigits:
Collaboration diagram for ShiftDigits:

Public Member Functions

def event (self)
 

Detailed Description

 shift digits in time by timeShift

Definition at line 28 of file testCosmicT0Finder.py.

Member Function Documentation

◆ event()

def event (   self)
 event processing 

Definition at line 31 of file testCosmicT0Finder.py.

31  def event(self):
32  ''' event processing '''
33 
34  digits = Belle2.PyStoreArray('TOPDigits')
35  for digit in digits:
36  digit.setTime(digit.getTime() + timeShift)
37 
38 
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 */ \
61 };')
62 
a (simplified) python wrapper for StoreArray.
Definition: PyStoreArray.h:56

The documentation for this class was generated from the following file: