GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TYYYAnalysis.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 TYYYAnalysis_H
15#define TYYYAnalysis_H
16
17#include "TGo4Analysis.h"
18
19class TH1D;
20class TYYYRawEvent;
21class TYYYUnpackEvent;
22class TYYYParameter;
23
24class TYYYAnalysis : public TGo4Analysis {
25 public:
27 TYYYAnalysis(int argc, char **argv);
28 virtual ~TYYYAnalysis();
29 Int_t UserPreLoop() override;
30 Int_t UserEventFunc() override;
31 Int_t UserPostLoop() override;
32 private:
35 TH1D *fSize{nullptr};
37 Int_t fEvents{0};
38 Int_t fLastEvent{0};
39
40 ClassDefOverride(TYYYAnalysis,1)
41};
42
43#endif
TGo4Analysis(const char *name=nullptr)
Protected constructor for singleton instance.
TYYYParameter * fPar
Int_t UserPreLoop() override
User defined function called once before processing the main event loop.
Int_t UserPostLoop() override
User defined function called once after processing the main event loop.
TYYYUnpackEvent * fUnpackEvent
Int_t UserEventFunc() override
User defined function which processes the actual analysis.
virtual ~TYYYAnalysis()
TYYYRawEvent * fRawEvent
Example for user defined raw event class.