 |
Belle II Software
release-05-02-19
|
14 #ifndef TRGGDLModule_H
15 #define TRGGDLModule_H
19 #include <framework/core/HistoModule.h>
20 #include <framework/datastore/StoreObjPtr.h>
21 #include <mdst/dataobjects/TRGSummary.h>
22 #include <trg/grl/dataobjects/TRGGRLInfo.h>
23 #include "trg/gdl/TRGGDL.h"
24 #include <TDirectory.h>
56 virtual void event()
override;
59 virtual void endRun()
override;
70 std::string
version(
void)
const;
104 std::string _algFilePath;
113 TDirectory* oldDir =
nullptr;
114 TDirectory* newDir =
nullptr;
116 TH1I* h_inp =
nullptr;
117 TH1I* h_ftd =
nullptr;
118 TH1I* h_psn =
nullptr;
125 #endif // TRGGDLModule_H
int _simulationMode
Mode for TRGGDL simulation.
StoreObjPtr< TRGGRLInfo > m_TRGGRLInfo
< required input for TRGGRLInfo
int _firmwareSimulationMode
Switch for the firmware simulation. 0:do nothing, 1:do everything.
A module to simulate the Global Decision Logic.
The instance of TRGGDL is a singleton.
bool _algFromDB
Switch for algorithm source. False when using local .alg file.
virtual ~TRGGDLModule()
Destructor.
TRGGDLModule()
Constructor.
std::string version(void) const
returns version of TRGGDLModule.
virtual void initialize() override
Initilizes TRGGDLModule.
virtual void defineHisto() override
Define Histogram.
virtual void terminate() override
Called when processing ended.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
static TRGGDL * _gdl
A pointer to a TRGGDL;.
virtual void endRun() override
Called when run ended.
int _fastSimulationMode
Switch for the fast simulation.
virtual void beginRun() override
Called when new run started.
std::string _configFilename
Config. file name.
virtual void event() override
Called event by event.
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
int _debugLevel
Debug level.