Belle II Software  release-08-01-10
TRGECLRawdataAnalysisModule.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 TRGECLRAWDATAANALYSISModule_H
10 #define TRGECLRAWDATAANALYSISModule_H
11 
12 #include <string>
13 #include <framework/core/Module.h>
14 #include <framework/datastore/StoreArray.h>
15 #include "trg/ecl/TrgEclCluster.h"
16 #include "trg/ecl/dataobjects/TRGECLCluster.h"
17 #include "trg/ecl/dataobjects/TRGECLUnpackerStore.h"
18 #include "trg/ecl/dataobjects/TRGECLTiming.h"
19 
20 
21 namespace Belle2 {
32 
33 
34  public:
35 
36  // virtual ModulePtr newModule(){
37  // ModulePtr nm(new TRGECLModule(false)); return nm;
38  // };
39 
42 
43 
46 
48  virtual void initialize() override;
49 
51  virtual void beginRun() override;
52 
54  virtual void event() override;
55 
57  virtual void endRun() override;
58 
60  virtual void terminate() override;
61 
62  public:
63 
65  std::string version(void) const;
66 
67  private: // Parameters
74 
76  std::string _configFilename;
77 
79  // TrgEcl* _ecl; */
80 
81  protected:
83  std::string m_inColName;
85  std::string m_eclHitOutColName;
87  std::string m_eclTCHitOutColName;
88 
91  int m_hitNum = 0;
93  int m_hitTCNum = 0;
94 
95  private:
96 
97  // double m_timeCPU; // CPU time
99  int m_nRun = 0;
101  int m_nEvent = 0;
104 
105 
106 
107  };
108 
110 } // namespace Belle2
111 
112 #endif // TRGECLModule_H
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
int m_hitNum
The current number of created hits in an event.
std::string m_eclTCHitOutColName
Output array name for TC.
StoreArray< TRGECLCluster > m_TRGECLCluster
output for TRGECLCluster
std::string m_inColName
A pointer to a TRGECL;*‍/.
std::string m_eclHitOutColName
Output array name for Xtal.
StoreArray< TRGECLUnpackerStore > m_TRGECLUnpackerStore
output for TRGECLUnpackerStore
StoreArray< TRGECLTiming > m_TRGECLTiming
output for TRGECLTiming
virtual void initialize() override
Initilizes TRGECLModule.
virtual void event() override
Called event by event.
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Called when processing ended.
virtual void beginRun() override
Called when new run started.
std::string version(void) const
returns version of TRGECLModule.
Abstract base class for different kinds of events.