Belle II Software development
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
21namespace Belle2 {
29
30
31 public:
32
33 // virtual ModulePtr newModule(){
34 // ModulePtr nm(new TRGECLModule(false)); return nm;
35 // };
36
39
40
43
45 virtual void initialize() override;
46
48 virtual void beginRun() override;
49
51 virtual void event() override;
52
54 virtual void endRun() override;
55
57 virtual void terminate() override;
58
59 public:
60
62 std::string version(void) const;
63
64 private: // Parameters
71
73 std::string _configFilename;
74
76 // TrgEcl* _ecl; */
77
78 protected:
80 std::string m_inColName;
82 std::string m_eclHitOutColName;
85
88 int m_hitNum = 0;
90 int m_hitTCNum = 0;
91
92 private:
93
94 // double m_timeCPU; // CPU time
96 int m_nRun = 0;
98 int m_nEvent = 0;
101
102
103
104 };
105
107} // namespace Belle2
108
109#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.