PandaRoot
PndTrkGemCombinatorial.h
Go to the documentation of this file.
1 #ifndef PNDTRKGEMCOMBITASK_H
2 #define PNDTRKGEMCOMBITASK_H
3 
4 // fairroot
5 #include "FairTask.h"
6 
7 // ROOT
8 #include "TH2F.h"
9 #include "TCanvas.h"
10 
11 class TClonesArray;
12 
13 class PndTrkGemCombinatorial : public FairTask {
14 
15  public:
18  PndTrkGemCombinatorial(TClonesArray *gemhitarray, int verbose);
19 
22  std::map<int, bool> CombinatorialSuppression();
23 
24  void SwitchOnDisplay();
25  void DrawGeometry();
26  void DrawMCPoints();
27 
28  void SetMCPointTCA(TClonesArray *gempointarray) { fGemPointArray = gempointarray; }
29  inline void Evaluate() { fMCEval = kTRUE; }
30 
31  private:
32  TClonesArray *fGemHitArray;
33  TClonesArray *fGemPointArray;
34 
35  // display
36  Bool_t fDisplayOn, fMCEval;
37  Int_t fVerbose;
38  TH2F *hxy, *hxy1, *hxy2, *hxy3;
39  TCanvas *display;
40 
41  ClassDef(PndTrkGemCombinatorial, 1);
42 };
43 
44 #endif
void SetMCPointTCA(TClonesArray *gempointarray)
std::map< int, bool > CombinatorialSuppression()