PandaRoot
PndPidSttInfo.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_STT_INFO_H
14 #define PID_STT_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 #include "FairRuntimeDb.h"
23 
24 #include "PndTrack.h"
25 #include "PndPidCandidate.h"
26 #include "PndGeoSttPar.h"
28 
37  public:
38  PndPidSttInfo();
39  ~PndPidSttInfo();
40 
41  void SetGeoPar(FairRuntimeDb *db) { fSttParameters = (PndGeoSttPar *)db->getContainer("PndGeoSttPar"); };
42 
43  Bool_t SetParContainers(FairRuntimeDb *db)
44  {
45  SetGeoPar(db);
46  return kTRUE;
47  }
48 
54  Int_t SetDetectorHits(FairRootManager *manager);
55 
63  Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params);
64 
72  Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
73 
74  protected:
75  TClonesArray *fSttHit = nullptr;
77 
79 };
80 
81 #endif // PID_STT_INFO_H
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup STT info.
PndPidSttInfo()
Default constructor.
ClassDef(PndPidSttInfo, 1)
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add STT information to PidCandidate.
Class for accessing PID detector information of STT.
Definition: PndPidSttInfo.h:36
~PndPidSttInfo()
Default destructor.
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
Base class for accessing PID detector information of tracking system (MVD, STT, GEM, FTS).
TClonesArray * fSttHit
Stt hit TCA.
Definition: PndPidSttInfo.h:75
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:64
Bool_t SetParContainers(FairRuntimeDb *db)
Definition: PndPidSttInfo.h:43
void SetGeoPar(FairRuntimeDb *db)
Definition: PndPidSttInfo.h:41
PndGeoSttPar * fSttParameters
Stt geometry parameters.
Definition: PndPidSttInfo.h:76