14#include <framework/core/HistoModule.h>
15#include <framework/datastore/StoreObjPtr.h>
16#include <mdst/dataobjects/TRGSummary.h>
17#include <trg/grl/dataobjects/TRGGRLInfo.h>
18#include "trg/gdl/TRGGDL.h"
19#include <simulation/dataobjects/SimClockState.h>
20#include <TDirectory.h>
52 virtual void event()
override;
55 virtual void endRun()
override;
66 std::string
version(
void)
const;
100 std::string _algFilePath;
119 TDirectory* oldDir =
nullptr;
120 TDirectory* newDir =
nullptr;
122 TH1I* h_inp =
nullptr;
123 TH1I* h_ftd =
nullptr;
124 TH1I* h_psn =
nullptr;
HistoModule.h is supposed to be used instead of Module.h for the modules with histogram definitions t...
Type-safe access to single objects in the data store.
A module to simulate the Global Decision Logic.
StoreObjPtr< TRGGRLInfo > m_TRGGRLInfo
< required input for TRGGRLInfo
std::string _configFilename
Config. file name.
bool _algFromDB
Switch for algorithm source. False when using local .alg file.
int _debugLevel
Debug level.
double _timquality_threshold_sfin
Threshold to determine timing quality flag with MC truth: super fine.
int _simulationMode
Mode for TRGGDL simulation.
bool m_simulateT0Jitter
if True, L1 jitter is simulated by EventT0Generator
int _firmwareSimulationMode
Switch for the firmware simulation. 0:do nothing, 1:do everything.
double _timquality_threshold_fine
Threshold to determine timing quality flag with MC truth: fine.
int _fastSimulationMode
Switch for the fast simulation.
StoreObjPtr< SimClockState > m_simClockState
generated hardware clock state
The instance of TRGGDL is a singleton.
virtual void initialize() override
Initilizes TRGGDLModule.
virtual void event() override
Called event by event.
virtual void endRun() override
Called when run ended.
virtual ~TRGGDLModule()
Destructor.
virtual void terminate() override
Called when processing ended.
static TRGGDL * _gdl
A pointer to a TRGGDL;.
virtual void beginRun() override
Called when new run started.
TRGGDLModule()
Constructor.
std::string version(void) const
returns version of TRGGDLModule.
virtual void defineHisto() override
Define Histogram.
Abstract base class for different kinds of events.