12#define TRGGRL_UNDEFINED 999999
15#include "trg/trg/Clock.h"
16#include "trg/grl/TRGGRLMatch.h"
22 template <
class T>
class Point3D;
49 unsigned simulationMode = 0,
50 unsigned fastSimulationMode = 0,
61 unsigned simulationMode,
62 unsigned fastSimulationMode,
86 std::string
name(
void)
const;
89 std::string
version(
void)
const;
104 void dump(
const std::string& message)
const;
121 void update(
bool mcAnalysis =
true);
A class to represent a digitized signal. Unit is nano second.
A module to simulate the Global Decision Logic.
unsigned _simulationMode
Simulation mode.
std::string _configFilename
root file name.
unsigned _fastSimulationMode
Fast simulation mode.
double x9
Temporary variables to make tree in root files.
int _debugLevel
Debug level.
std::vector< TRGGRLMatch * > matchList
Vector which stores list of TRGGRLMatch without 3D information.
double x5
Temporary variables to make tree in root files.
unsigned _firmwareSimulationMode
Firmware simulation mode.
const TRGClock & _clock
GRL trigger system clock.
unsigned mode(void) const
returns simulation mode.
unsigned mode(unsigned)
sets and returns simulation mode.
std::vector< TRGGRLMatch * > matchList3D
Vector which stores list of TRGGRLMatch with 3D information.
double x8
Temporary variables to make tree in root files.
double x3
Temporary variables to make tree in root files.
double x7
Temporary variables to make tree in root files.
double x1
Temporary variables to make tree in root files.
double x2
Temporary variables to make tree in root files.
double x6
Temporary variables to make tree in root files.
double x0
Temporary variables to make tree in root files.
double x4
Temporary variables to make tree in root files.
const TRGClock & systemClock(void) const
returns the system clock.
void configure(void)
configures trigger modules for firmware simulation.
int debugLevel(void) const
returns debug level.
HepGeom::Point3D< double > Point3D
3D point
std::string name(void) const
matching function
void fastClear(void)
clears TRGGRL information.
void terminate(void)
terminates when run is finished
static TRGGRL * getTRGGRL(void)
returns TRGGRL object.
unsigned firmwareSimulationMode(void) const
returns firmware simulation mode.
void initialize(void)
initializes GRL.
void dump(const std::string &message) const
dumps debug information.
void update(bool mcAnalysis=true)
updates TRGGRL information.
void fastSimulation(void)
Fast simulation.
std::string version(void) const
returns version.
std::string configFile(void) const
returns configuration file name.
void simulate(void)
fast trigger simulation.
void clear(void)
clears all TRGGRL information.
void firmwareSimulation(void)
Firmware simulation.
static TRGGRL * _grl
GRL singleton.
virtual ~TRGGRL()
Destructor.
Abstract base class for different kinds of events.