![]() |
FairShip
|
Public Member Functions | |
| None | __init__ (self, name, intree, outtree=None) |
| None | digitize (self) |
| Public Member Functions inherited from BaseDetector.BaseDetector | |
| None | __init__ (self, name, intree, branchName=None, mcBranchType=None, mcBranchName=None, int splitLevel=99, outtree=None) |
| None | delete (self) |
| None | fill (self) |
| None | process (self) |
Additional Inherited Members | |
| Public Attributes inherited from BaseDetector.BaseDetector | |
| name = name | |
| intree = intree | |
| outtree = outtree if outtree is not None else intree | |
| det = ROOT.std.vector(f"{name}Hit")() | |
| MCdet = None | |
| mcBranch = None | |
| branch = self.outtree.Branch(f"Digi_{branchName}Hits", self.det, 32000, splitLevel) | |
Definition at line 8 of file timeDetector.py.
| None timeDetector.timeDetector.__init__ | ( | self, | |
| name, | |||
| intree, | |||
| outtree = None ) |
Definition at line 9 of file timeDetector.py.
| None timeDetector.timeDetector.digitize | ( | self | ) |
Digitize timing detector MC hits. One hit is created per TimeDetPoint, at the same index. Per bar, the hit from the point with the earliest true (unsmeared) time is marked valid, all others invalid. The selection uses the MC time rather than the smeared TDC values: points in the same bar (e.g. a muon and its delta electrons) belong to the same light pulse, so comparing independently smeared TDCs would pick a random point and often invalidate the primary's hit.
Reimplemented from BaseDetector.BaseDetector.
Definition at line 12 of file timeDetector.py.