PandaRoot
PndPidDskInfo.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_DSK_INFO_H
14 #define PID_DSK_INFO_H
15 
16 #include "TClonesArray.h"
17 
18 #include "FairRootManager.h"
19 #include "FairPropagator.h"
20 #include "PndPropagator.h"
21 #include "FairGeane.h"
22 
23 #include "PndTrack.h"
24 #include "PndPidCandidate.h"
25 #include "PndPidDetectorInfo.h"
26 
35  public:
36  PndPidDskInfo();
37  ~PndPidDskInfo();
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 *fDskParticle = nullptr;
73 
75 };
76 
77 #endif // PID_DSK_INFO_H
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add DSK information to PidCandidate.
ClassDef(PndPidDskInfo, 1)
PndPidDskInfo()
Default constructor.
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup DSK info.
TClonesArray * fDskParticle
Dsk particle/hit TCA.
Definition: PndPidDskInfo.h:72
void ActivateDebugNtuple(Bool_t debug_mode)
Set debug mode of detector.
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
~PndPidDskInfo()
Default destructor.
Class for accessing PID detector information of DSK.
Definition: PndPidDskInfo.h:34
Base class for accessing PID detector information.
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:64