Belle II Software  release-08-01-10
TRGGRL Class Reference

a class for TRGGRL More...

#include <TRGGRL.h>

Collaboration diagram for TRGGRL:

Public Member Functions

std::string name (void) const
 matching function More...
 
std::string version (void) const
 returns version.
 
std::string configFile (void) const
 returns configuration file name.
 
unsigned mode (void) const
 returns simulation mode.
 
unsigned mode (unsigned)
 sets and returns simulation mode.
 
unsigned firmwareSimulationMode (void) const
 returns firmware simulation mode.
 
void dump (const std::string &message) const
 dumps debug information.
 
int debugLevel (void) const
 returns debug level.
 
int debugLevel (int) const
 sets and returns debug level.
 
void clear (void)
 clears all TRGGRL information.
 
void fastClear (void)
 clears TRGGRL information.
 
void update (bool mcAnalysis=true)
 updates TRGGRL information.
 
const TRGClocksystemClock (void) const
 returns the system clock.
 

Static Public Member Functions

static TRGGRLgetTRGGRL (const std::string &configFile, unsigned simulationMode=0, unsigned fastSimulationMode=0, unsigned firmwareSimulationMode=0)
 returns TRGGRL object with specific configuration.
 
static TRGGRLgetTRGGRL (void)
 returns TRGGRL object. More...
 

Private Member Functions

 TRGGRL (const std::string &configFile, unsigned simulationMode, unsigned fastSimulationMode, unsigned firmwareSimulationMode)
 Constructor.
 
virtual ~TRGGRL ()
 Destructor.
 
void initialize (void)
 initializes GRL.
 
void configure (void)
 configures trigger modules for firmware simulation.
 
void simulate (void)
 fast trigger simulation.
 
void terminate (void)
 terminates when run is finished
 
void fastSimulation (void)
 Fast simulation.
 
void firmwareSimulation (void)
 Firmware simulation.
 

Private Attributes

int _debugLevel
 Debug level.
 
std::string _configFilename
 root file name.
 
unsigned _simulationMode
 Simulation mode.
 
unsigned _fastSimulationMode
 Fast simulation mode.
 
unsigned _firmwareSimulationMode
 Firmware simulation mode.
 
const TRGClock_clock
 GRL trigger system clock.
 
TFile * m_file
 root file
 
TTree * h1
 root tree
 
double x0
 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 x3
 Temporary variables to make tree in root files.
 
double x4
 Temporary variables to make tree in root files.
 
double x5
 Temporary variables to make tree in root files.
 
double x6
 Temporary variables to make tree in root files.
 
double x7
 Temporary variables to make tree in root files.
 
double x8
 Temporary variables to make tree in root files.
 
double x9
 Temporary variables to make tree in root files.
 
std::vector< TRGGRLMatch * > matchList
 Vector which stores list of TRGGRLMatch without 3D information.
 
std::vector< TRGGRLMatch * > matchList3D
 Vector which stores list of TRGGRLMatch with 3D information.
 

Static Private Attributes

static TRGGRL_grl = 0
 GRL singleton.
 

Friends

class TRGGRLModule
 

Detailed Description

a class for TRGGRL

Definition at line 43 of file TRGGRL.h.


The documentation for this class was generated from the following files: