Belle II Software  release-06-01-15
TrackAna.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #ifndef TRACKANAMODULE_H
10 #define TRACKANAMODULE_H
11 
12 #include <framework/core/HistoModule.h>
13 
14 #include "TH1F.h"
15 
16 namespace Belle2 {
24  class TrackAnaModule : public HistoModule {
25 
26  // Public functions
27  public:
28 
31  virtual ~TrackAnaModule();
32 
34  virtual void initialize();
35 
37  virtual void beginRun();
38  virtual void event();
39  virtual void endRun();
40  virtual void terminate();
41 
43  virtual void defineHisto();
44 
45  // Data members
46  private:
47  TH1F* h_multi;
48  TH1F* h_p[4];
49  TH1F* h_e;
50 
51  };
52 
54 } // end namespace Belle2
55 
56 #endif // MODULEHELLO_H
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Definition: HistoModule.h:29
A class definition of an input module for Sequential ROOT I/O.
Definition: TrackAna.h:24
virtual void event()
Function to process event record.
Definition: TrackAna.cc:64
virtual void initialize()
Module functions to be called from main process.
Definition: TrackAna.cc:44
virtual void beginRun()
Module functions to be called from event process.
Definition: TrackAna.cc:58
virtual void terminate()
Function to terminate module.
Definition: TrackAna.cc:94
virtual void endRun()
Function to process end_run record.
Definition: TrackAna.cc:89
TrackAnaModule()
Constructor / Destructor.
Definition: TrackAna.cc:29
virtual void defineHisto()
Module funcions to define histograms.
Definition: TrackAna.cc:49
Abstract base class for different kinds of events.