Belle II Software development
TRGGRL Class Reference

a class for TRGGRL More...

#include <TRGGRL.h>

Public Member Functions

std::string name (void) const
 matching function
 
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.
 

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.

Friends And Related Function Documentation

◆ TRGGRLModule

friend class TRGGRLModule
friend

Definition at line 192 of file TRGGRL.h.

Member Data Documentation

◆ _clock

const TRGClock& _clock
private

GRL trigger system clock.

Definition at line 159 of file TRGGRL.h.

◆ _configFilename

std::string _configFilename
private

root file name.

Definition at line 147 of file TRGGRL.h.

◆ _debugLevel

int _debugLevel
mutableprivate

Debug level.

Definition at line 144 of file TRGGRL.h.

◆ _fastSimulationMode

unsigned _fastSimulationMode
private

Fast simulation mode.

Definition at line 153 of file TRGGRL.h.

◆ _firmwareSimulationMode

unsigned _firmwareSimulationMode
private

Firmware simulation mode.

Definition at line 156 of file TRGGRL.h.

◆ _simulationMode

unsigned _simulationMode
private

Simulation mode.

Definition at line 150 of file TRGGRL.h.

◆ h1

TTree* h1
private

root tree

Definition at line 165 of file TRGGRL.h.

◆ m_file

TFile* m_file
private

root file

Definition at line 162 of file TRGGRL.h.

◆ matchList

std::vector<TRGGRLMatch* > matchList
private

Vector which stores list of TRGGRLMatch without 3D information.

Definition at line 188 of file TRGGRL.h.

◆ matchList3D

std::vector<TRGGRLMatch* > matchList3D
private

Vector which stores list of TRGGRLMatch with 3D information.

Definition at line 190 of file TRGGRL.h.

◆ x0

double x0
private

Temporary variables to make tree in root files.

Definition at line 168 of file TRGGRL.h.

◆ x1

double x1
private

Temporary variables to make tree in root files.

Definition at line 170 of file TRGGRL.h.

◆ x2

double x2
private

Temporary variables to make tree in root files.

Definition at line 172 of file TRGGRL.h.

◆ x3

double x3
private

Temporary variables to make tree in root files.

Definition at line 174 of file TRGGRL.h.

◆ x4

double x4
private

Temporary variables to make tree in root files.

Definition at line 176 of file TRGGRL.h.

◆ x5

double x5
private

Temporary variables to make tree in root files.

Definition at line 178 of file TRGGRL.h.

◆ x6

double x6
private

Temporary variables to make tree in root files.

Definition at line 180 of file TRGGRL.h.

◆ x7

double x7
private

Temporary variables to make tree in root files.

Definition at line 182 of file TRGGRL.h.

◆ x8

double x8
private

Temporary variables to make tree in root files.

Definition at line 184 of file TRGGRL.h.

◆ x9

double x9
private

Temporary variables to make tree in root files.

Definition at line 186 of file TRGGRL.h.


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