PandaRoot
PndGemDigiAna.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 // -------------------------------------------------------------------------
14 // ----- PndGemDigiAna header file -----
15 // ----- Created 02.06.2009 by R. Karabowicz -----
16 // -------------------------------------------------------------------------
17 
31 #ifndef PNDGEMDIGIANA_H
32 #define PNDGEMDIGIANA_H
33 
34 #include "TH1F.h"
35 #include "TH2F.h"
36 
37 #include "FairTask.h"
38 
39 #include "PndGemDigi.h"
40 #include "PndGemDigiPar.h"
41 
42 #include <vector>
43 
44 class PndGemDigiAna : public FairTask {
45 
46  public:
48  PndGemDigiAna();
49 
50  PndGemDigiAna(Int_t iVerbose);
51  PndGemDigiAna(TString taskName, Int_t iVerbose);
52 
54  virtual ~PndGemDigiAna();
55 
57  virtual void Exec(Option_t *opt);
58 
60  void SetVerbose(const Int_t &verbose) { fVerbose = verbose; };
61 
62  private:
63  PndGemDigiPar *fDigiPar;
64 
65  TClonesArray *fGemDigiArray;
66 
68  Int_t fNofEvents;
69 
70  TList *fHistoList;
71  // histograms to store last digi's time stamp on all strips
72  // histograms showing times between digis on all strips
73  TClonesArray *fHistoArray;
74 
75  void CreateHistos();
76  void AnaHistos();
77 
79  virtual void SetParContainers();
80 
82  virtual void Finish();
83 
85  virtual InitStatus Init();
86 
88  virtual InitStatus ReInit();
89 
90  ClassDef(PndGemDigiAna, 1);
91 };
92 
93 #endif
Digitization Parameter Class for GEM part.
Definition: PndGemDigiPar.h:42
void SetVerbose(const Int_t &verbose)
Definition: PndGemDigiAna.h:60
virtual void Exec(Option_t *opt)
analyze GEM digis
Definition: PndGemDigiAna.h:44
virtual ~PndGemDigiAna()