FairRoot/PandaRoot
PndKFParticleFinder.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 //-----------------------------------------------------------
3 
4 #ifndef PndKFParticleFinder_HH
5 #define PndKFParticleFinder_HH
6 
7 #include "FairTask.h"
8 
9 #include "TString.h"
10 
11 #include <vector>
12 
14 class KFParticleTopoReconstructor;
15 class TClonesArray;
16 
17 class PndKFParticleFinder : public FairTask {
18  public:
19 
20  // Constructors/Destructors ---------
21  PndKFParticleFinder(const char* name = "PndKFParticleFinder", Int_t iVerbose = 0);
23 
24  void SetPVToZero() { fPVFindMode = 0; }
27 
30 
31  virtual InitStatus Init();
32  virtual void Exec(Option_t* opt);
33 
34  const KFParticleTopoReconstructor * GetTopoReconstructor() const { return fTopoReconstructor; }
35 
37 
38  // set cuts
39  void SetPrimaryProbCut(float prob);
40 
41  private:
42 
43  double InversedChi2Prob(double p, int ndf) const;
44 
47 
48  //names of input branches
51 
52  //input branches
53  TClonesArray *fChargedTrackArray;
54  TClonesArray *fNeutralTrackArray;
55  TClonesArray *fEmcBumps;
56 
57  //topology reconstructor
58  KFParticleTopoReconstructor *fTopoReconstructor;
60 
61  //PID information
63 
65 };
66 
67 #endif
PndKFParticleFinder(const char *name="PndKFParticleFinder", Int_t iVerbose=0)
Double_t p
Definition: anasim.C:58
TClonesArray * fNeutralTrackArray
const KFParticleTopoReconstructor * GetTopoReconstructor() const
PndKFParticleFinderPID * fPID
TString fNeutralTrackBranchName
Name of the input TCA.
int pid()
void SetPIDInformation(PndKFParticleFinderPID *pid)
void SetNeutralTrackBranchName(const TString &name)
TClonesArray * fEmcBumps
const PndKFParticleFinder & operator=(const PndKFParticleFinder &)
TString name
void SetChargedTrackBranchName(const TString &name)
double InversedChi2Prob(double p, int ndf) const
virtual void Exec(Option_t *opt)
Int_t iVerbose
KFParticleTopoReconstructor * fTopoReconstructor
ClassDef(PndKFParticleFinder, 1)
TClonesArray * fChargedTrackArray
Name of the input TCA.
void SetPrimaryProbCut(float prob)
virtual InitStatus Init()