PandaRoot
PndPidFmdtInfo.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_FMDT_INFO_H
14 #define PID_FMDT_INFO_H
15 
16 #include "FairPropagator.h"
17 #include "FairRootManager.h"
18 #include "FairTrackParH.h"
19 #include "FairTrackParP.h"
20 
21 #include "PndTrack.h"
22 #include "PndPidCandidate.h"
23 #include "PndPidMuonSystemInfo.h"
24 
33  public:
34  PndPidFmdtInfo();
35  ~PndPidFmdtInfo();
36 
37  void SetCorrErrorProp(Bool_t corr_err_prop) { fCorrErrorProp = corr_err_prop; };
38 
44  void ActivateDebugNtuple(Bool_t debug_mode);
45 
52  virtual Bool_t Propagate(TVector3 vertex, FairTrackParH *helix, FairTrackParP *res, Int_t pdg_code);
53 
61  Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand);
62 
63  protected:
64  Bool_t fCorrErrorProp = kTRUE;
65 
67 };
68 
69 #endif // PID_FMDT_INFO_H
void SetCorrErrorProp(Bool_t corr_err_prop)
virtual Bool_t Propagate(TVector3 vertex, FairTrackParH *helix, FairTrackParP *res, Int_t pdg_code)
Call propagator to propagate track to detector.
Base class for accessing PID detector information of muon system (MDT, FMDT).
ClassDef(PndPidFmdtInfo, 1)
Bool_t fCorrErrorProp
kTRUE if include error propagation in correlation
~PndPidFmdtInfo()
Default destructor.
void ActivateDebugNtuple(Bool_t debug_mode)
Set debug mode of detector.
PndPidFmdtInfo()
Default constrcutor.
Bool_t GetInfo(PndTrack *track, PndPidCandidate *pidCand)
Add FMDT information to PidCandidate.
Class for accessing PID detector information of FMDT.