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