PandaRoot
PndPidTofInfo.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PID_TOF_INFO_H
14 #define PID_TOF_INFO_H
15 
16 #include "TClonesArray.h"
17 
18 #include "FairPropagator.h"
19 #include "PndPropagator.h"
20 #include "FairGeane.h"
21 #include "FairRootManager.h"
22 
23 #include "PndTrack.h"
24 #include "PndPidCandidate.h"
25 #include "PndPidDetectorInfo.h"
26 
35  public:
36  PndPidTofInfo();
37  ~PndPidTofInfo();
38 
44  void ActivateDebugNtuple(Bool_t debug_mode);
45 
51  Int_t SetDetectorHits(FairRootManager *manager);
52 
60  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
61 
69  Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
70 
71  protected:
72  TClonesArray *fTofHit = nullptr;
73  TClonesArray *fTofPoint = nullptr;
74 
76 };
77 
78 #endif // PID_TOF_INFO_H
~PndPidTofInfo()
Default destructor.
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add TOF information to PidCandidate.
TClonesArray * fTofHit
Tof hit TCA.
Definition: PndPidTofInfo.h:72
ClassDef(PndPidTofInfo, 1)
TClonesArray * fTofPoint
Tof point TCA.
Definition: PndPidTofInfo.h:73
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
Class for accessing PID detector information of TOF.
Definition: PndPidTofInfo.h:34
void ActivateDebugNtuple(Bool_t debug_mode)
Set debug mode of detector.
Base class for accessing PID detector information.
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:64
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup TOF info.
PndPidTofInfo()
Default constructor.