GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
19class TGo4MbsEvent;
20class TMeshParameter;
21class TH1D;
22
24 public:
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
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
TGo4Analysis(const char *name=nullptr)
Protected constructor for singleton instance.
Wrapper for the standard gsi event structure as delivered from mbs.
TMeshParameter * fPar
virtual ~TMeshAnalysis()
Int_t UserPostLoop() override
User defined function called once after processing the main event loop.
Int_t UserEventFunc() override
User defined function which processes the actual analysis.
TGo4MbsEvent * fMbsEvent
Int_t UserPreLoop() override
User defined function called once before processing the main event loop.
This parameter may be used for a global setup of the mesh.