PandaRoot
PndTrkGemCombiTask.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 PNDTRKGEMCOMBINATORIAL_H
14 #define PNDTRKGEMCOMBINATORIAL_H
15 
16 // fairroot
17 #include "FairTask.h"
18 
19 // ROOT
20 #include "TH2F.h"
21 #include "TCanvas.h"
22 #include "PndTrkGemCombinatorial.h"
23 
24 class TClonesArray;
25 
26 class PndTrkGemCombiTask : public FairTask {
27 
28  public:
31  PndTrkGemCombiTask(int verbose);
32 
35 
37  virtual InitStatus Init();
38 
40  virtual void Exec(Option_t *opt);
41 
42  void Reset();
43 
44  inline void SwitchOnDisplay() { fDisplayOn = kTRUE; }
45  inline void Evaluate() { fMCEval = kTRUE; }
46 
47  private:
48  PndTrkGemCombinatorial *fCombiFinder;
49  TClonesArray *fGemHitArray;
50  TClonesArray *fGemPointArray;
51 
52  Bool_t fDisplayOn, fMCEval;
53 
54  ClassDef(PndTrkGemCombiTask, 1);
55 };
56 
57 #endif
virtual InitStatus Init()
virtual void Exec(Option_t *opt)