Belle II Software  release-08-01-10
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 29 of file testCosmicT0Finder.py.

Member Function Documentation

◆ event()

def event (   self)
 event processing 

Definition at line 32 of file testCosmicT0Finder.py.

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

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