PandaRoot
PndTrkGemCombinatorial.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 PNDTRKGEMCOMBITASK_H
14 #define PNDTRKGEMCOMBITASK_H
15 
16 // fairroot
17 #include "FairTask.h"
18 
19 // ROOT
20 #include "TH2F.h"
21 #include "TCanvas.h"
22 
23 class TClonesArray;
24 
25 class PndTrkGemCombinatorial : public FairTask {
26 
27  public:
30  PndTrkGemCombinatorial(TClonesArray *gemhitarray, int verbose);
31 
34  std::map<int, bool> CombinatorialSuppression();
35 
36  void SwitchOnDisplay();
37  void DrawGeometry();
38  void DrawMCPoints();
39 
40  void SetMCPointTCA(TClonesArray *gempointarray) { fGemPointArray = gempointarray; }
41  inline void Evaluate() { fMCEval = kTRUE; }
42 
43  private:
44  TClonesArray *fGemHitArray;
45  TClonesArray *fGemPointArray;
46 
47  // display
48  Bool_t fDisplayOn, fMCEval;
49  Int_t fVerbose;
50  TH2F *hxy, *hxy1, *hxy2, *hxy3;
51  TCanvas *display;
52 
53  ClassDef(PndTrkGemCombinatorial, 1);
54 };
55 
56 #endif
void SetMCPointTCA(TClonesArray *gempointarray)
std::map< int, bool > CombinatorialSuppression()