FairRoot/PandaRoot
PndLmdTrksFilterTask.h
Go to the documentation of this file.
1 //-----------------------------------------------------------
2 //
3 // Description:
4 // Task to filter fitted tracks based on chi2 and hits comparasion
5 //
6 // Author:
7 // Anastasia Karavdina
8 //-----------------------------------------------------------
9 
10 #ifndef PNDLMDTRKSFILTERTASK_H
11 #define PNDLMDTRKSFILTERTASK_H
12 
13 // Base Class Headers ----------------
14 #include "FairTask.h"
15 
16 // Collaborating Class Headers -------
17 #include <map>
18 #include "TH1.h"
19 #include "TH2.h"
20 #include "TString.h"
21 
22 // Collaborating Class Declarations --
23 class TClonesArray;
24 class TGeoManager;
25 
26 class PndLmdTrksFilterTask : public FairTask {
27  public:
28  // Constructors/Destructors ---------
30 #ifndef __CINT__
33 #endif
34  virtual ~PndLmdTrksFilterTask();
36  virtual InitStatus Init();
37  virtual void FinishTask();
38 
39  virtual void Exec(Option_t* opt);
40  void SetSkipKinFilt(bool fl) { flSkipKinFilt = fl; };
41  void SetBOXFilt(bool fl) { flBOXKinFilt = fl; };
42  void SetXThFilt(bool fl) { flXThKinFilt = fl; };
43  void SetYPhFilt(bool fl) { flYPhKinFilt = fl; };
44  void SetDX(double dx) { fdX = dx; }
45  void SetDY(double dy) { fdY = dy; }
46 
47  protected:
49  // Input Data------------
50  TClonesArray* fTrkCandArray;
51  TClonesArray* fTrkArray;
52  TClonesArray* fTrkOutArray;
53 
59  int fEventNr;
64 
65  double fdX; // beam shift in X
66  double fdY; // beam shift in Y
67 
69 };
70 
71 #endif
double dy
PndLmdTrksFilterTask & operator=(const PndLmdTrksFilterTask &)=delete
ClassDef(PndLmdTrksFilterTask, 3)
#define verbose
virtual void Exec(Option_t *opt)
double dx
void SetVerboseLevel(int verbose)
TClonesArray * fTrkCandArray
virtual InitStatus Init()