PandaRoot
PndGemDigiAna.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndGemDigiAna header file -----
3 // ----- Created 02.06.2009 by R. Karabowicz -----
4 // -------------------------------------------------------------------------
5 
19 #ifndef PNDGEMDIGIANA_H
20 #define PNDGEMDIGIANA_H
21 
22 #include "TH1F.h"
23 #include "TH2F.h"
24 
25 #include "FairTask.h"
26 
27 #include "PndGemDigi.h"
28 #include "PndGemDigiPar.h"
29 
30 #include <vector>
31 
32 class PndGemDigiAna : public FairTask {
33 
34  public:
36  PndGemDigiAna();
37 
38  PndGemDigiAna(Int_t iVerbose);
39  PndGemDigiAna(TString taskName, Int_t iVerbose);
40 
42  virtual ~PndGemDigiAna();
43 
45  virtual void Exec(Option_t *opt);
46 
48  void SetVerbose(const Int_t &verbose) { fVerbose = verbose; };
49 
50  private:
51  PndGemDigiPar *fDigiPar;
52 
53  TClonesArray *fGemDigiArray;
54 
56  Int_t fNofEvents;
57 
58  TList *fHistoList;
59  // histograms to store last digi's time stamp on all strips
60  // histograms showing times between digis on all strips
61  TClonesArray *fHistoArray;
62 
63  void CreateHistos();
64  void AnaHistos();
65 
67  virtual void SetParContainers();
68 
70  virtual void Finish();
71 
73  virtual InitStatus Init();
74 
76  virtual InitStatus ReInit();
77 
78  ClassDef(PndGemDigiAna, 1);
79 };
80 
81 #endif
Digitization Parameter Class for GEM part.
Definition: PndGemDigiPar.h:30
void SetVerbose(const Int_t &verbose)
Definition: PndGemDigiAna.h:48
virtual void Exec(Option_t *opt)
analyze GEM digis
Definition: PndGemDigiAna.h:32
virtual ~PndGemDigiAna()