Belle II Software  release-08-01-10
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  void initialize() override;
35 
37  void beginRun() override;
38  void event() override;
39  void endRun() override;
40  void terminate() override;
41 
43  void defineHisto() override;
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
void initialize() override
Module functions to be called from main process.
Definition: TrackAna.cc:44
void event() override
Function to process event record.
Definition: TrackAna.cc:64
void endRun() override
Function to process end_run record.
Definition: TrackAna.cc:86
void terminate() override
Function to terminate module.
Definition: TrackAna.cc:91
void beginRun() override
Module functions to be called from event process.
Definition: TrackAna.cc:58
TrackAnaModule()
Constructor / Destructor.
Definition: TrackAna.cc:29
void defineHisto() override
Module funcions to define histograms.
Definition: TrackAna.cc:49
Abstract base class for different kinds of events.