GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TMeshAnalysis.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TMESHANALYSIS_H
15 #define TMESHANALYSIS_H
16 
17 #include "TGo4Analysis.h"
18 
19 class TGo4MbsEvent;
20 class TMeshParameter;
21 class TH1D;
22 
23 class TMeshAnalysis : public TGo4Analysis {
24  public:
25  TMeshAnalysis();
26  TMeshAnalysis(int argc, char **argv);
27  virtual ~TMeshAnalysis();
28  Int_t UserPreLoop() override;
29  Int_t UserEventFunc() override;
30  Int_t UserPostLoop() override;
31  private:
32 
33  TMeshParameter *fPar{nullptr};
34  TGo4MbsEvent *fMbsEvent{nullptr};
35  TH1D *fSize{nullptr};
36  Int_t fEvents{0};
37  Int_t fLastEvent{0};
38 
39  ClassDefOverride(TMeshAnalysis,1)
40 };
41 
42 #endif //TMESHANALYSIS_H
43 
virtual ~TMeshAnalysis()
Int_t UserEventFunc() override
Int_t UserPostLoop() override
TGo4MbsEvent * fMbsEvent
Definition: TMeshAnalysis.h:34
TMeshParameter * fPar
Definition: TMeshAnalysis.h:33
Int_t UserPreLoop() override