PandaRoot
PndPidFtsInfo.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_FTS_INFO_H
14 #define PID_FTS_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 "PndGeoFtsPar.h"
28 
37  public:
38  PndPidFtsInfo();
39  ~PndPidFtsInfo();
40 
41  void SetGeoPar(FairRuntimeDb *db) { fFtsParameters = (PndGeoFtsPar *)db->getContainer("PndGeoFtsPar"); };
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 *fFtsHit = nullptr;
77 
79 };
80 
81 #endif // PID_FTS_INFO_H
Int_t SetDetectorHits(FairRootManager *manager)
Fill detector hit TCAs and adjust detector mode.
PndPidFtsInfo()
Default constructor.
~PndPidFtsInfo()
Default destructor.
void SetGeoPar(FairRuntimeDb *db)
Definition: PndPidFtsInfo.h:41
ClassDef(PndPidFtsInfo, 1)
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add FTS information to PidCandidate.
Base class for accessing PID detector information of tracking system (MVD, STT, GEM, FTS).
TClonesArray * fFtsHit
Fts hit TCA.
Definition: PndPidFtsInfo.h:75
Class for accessing PID detector information of FTS.
Definition: PndPidFtsInfo.h:36
Bool_t SetParContainers(FairRuntimeDb *db)
Definition: PndPidFtsInfo.h:43
Propagator interface class for PandaRoot.
Definition: PndPropagator.h:64
Bool_t Setup(FairRootManager *manager, PndPropagator *propagator, PndPidDetectorParams::DetectorParams *params)
Setup FTS info.
PndGeoFtsPar * fFtsParameters
Fts geometry parameters.
Definition: PndPidFtsInfo.h:76