#include <TTUEmulator.h>
Classes | |
class | TriggerResponse |
Public Member Functions | |
void | clearTriggerResponse () |
void | emulate () |
bool | initialise () |
int | line () const |
int | mode () const |
void | printinfo () const |
void | processTtu (RPCInputSignal *) |
void | processTtu (RPCInputSignal *, int) |
void | SetLineId (int) |
void | setmode (int mode) |
void | setSpecifications (const TTUBoardSpecs *, const RBCBoardSpecs *) |
void | setSpecs () |
TTUEmulator () | |
Standard constructor. More... | |
TTUEmulator (int, int) | |
TTUEmulator (int, const char *, const char *, int) | |
TTUEmulator (int, const char *, const char *, const char *, int) | |
Public Attributes | |
int | m_maxWheels |
std::bitset< 2 > | m_trigger |
std::map< int, std::bitset< 2 > > | m_triggerBx |
std::vector< TriggerResponse > | m_triggerBxVec |
std::array< RPCWheel, 2 > | m_Wheels |
Private Attributes | |
int | m_bx |
bool | m_debug |
int | m_id |
int | m_line |
std::string | m_logtype |
int | m_mode |
std::unique_ptr< TTUConfiguration > | m_ttuconf |
std::array< TTUInput, 2 > | m_ttuin |
std::array< int, 6 > | m_wheelIds |
This class performs the following tasks [ref 2]:
The default algorithm is implemented is TrackingAlg [ref 2].
ref 2: "A configurable Tracking Algorithm to detect cosmic muon tracks for the CMS-RPC based Technical Trigger", R.T.Rajan et al
email: aosor io@u niand es.e du.co
Definition at line 39 of file TTUEmulator.h.
|
inline |
Standard constructor.
Definition at line 42 of file TTUEmulator.h.
References clearTriggerResponse(), emulate(), initialise(), printinfo(), processTtu(), and setSpecifications().
TTUEmulator::TTUEmulator | ( | int | id, |
int | mxw | ||
) |
Definition at line 25 of file TTUEmulator.cc.
References gen::k, m_debug, m_id, m_line, m_maxWheels, m_mode, and m_Wheels.
TTUEmulator::TTUEmulator | ( | int | id, |
const char * | rbclogic_type, | ||
const char * | ttulogic_type, | ||
int | mxw | ||
) |
Definition at line 37 of file TTUEmulator.cc.
References gen::k, m_debug, m_id, m_line, m_maxWheels, m_mode, m_ttuconf, and m_Wheels.
TTUEmulator::TTUEmulator | ( | int | id, |
const char * | f_name, | ||
const char * | rbclogic_type, | ||
const char * | ttulogic_type, | ||
int | mxw | ||
) |
Definition at line 49 of file TTUEmulator.cc.
References gen::k, m_debug, m_id, m_line, m_maxWheels, m_mode, m_ttuconf, and m_Wheels.
void TTUEmulator::clearTriggerResponse | ( | ) |
Definition at line 268 of file TTUEmulator.cc.
References m_triggerBxVec.
Referenced by TTUEmulator().
void TTUEmulator::emulate | ( | ) |
Definition at line 100 of file TTUEmulator.cc.
References gen::k, m_maxWheels, and m_Wheels.
Referenced by TTUEmulator().
bool TTUEmulator::initialise | ( | ) |
Definition at line 79 of file TTUEmulator.cc.
References gather_cfg::cout, gen::k, m_debug, m_id, m_line, m_maxWheels, m_ttuconf, m_Wheels, and mps_update::status.
Referenced by TTUEmulator().
|
inline |
Definition at line 72 of file TTUEmulator.h.
References m_line, SetLineId(), and setSpecs().
Referenced by SetLineId().
|
inline |
void TTUEmulator::printinfo | ( | ) | const |
Definition at line 275 of file TTUEmulator.cc.
References gather_cfg::cout, gen::k, m_id, m_maxWheels, and m_Wheels.
Referenced by TTUEmulator().
void TTUEmulator::processTtu | ( | RPCInputSignal * | signal | ) |
Definition at line 108 of file TTUEmulator.cc.
References gather_cfg::cout, createfilelist::int, gen::k, m_debug, m_id, m_maxWheels, m_trigger, m_triggerBx, m_triggerBxVec, m_ttuconf, m_ttuin, m_Wheels, LaserDQM_cfg::process, generateDummyData::trg(), and tier0::unique().
Referenced by TTUEmulator().
void TTUEmulator::processTtu | ( | RPCInputSignal * | signal, |
int | wedgeId | ||
) |
Definition at line 189 of file TTUEmulator.cc.
References gather_cfg::cout, createfilelist::int, gen::k, m_debug, m_id, m_maxWheels, m_trigger, m_triggerBx, m_triggerBxVec, m_ttuconf, m_ttuin, m_Wheels, LaserDQM_cfg::process, generateDummyData::trg(), and tier0::unique().
void TTUEmulator::SetLineId | ( | int | line | ) |
|
inline |
void TTUEmulator::setSpecifications | ( | const TTUBoardSpecs * | ttuspecs, |
const RBCBoardSpecs * | rbcspecs | ||
) |
Definition at line 64 of file TTUEmulator.cc.
References gen::k, m_maxWheels, m_mode, m_ttuconf, and m_Wheels.
Referenced by TTUEmulator().
void TTUEmulator::setSpecs | ( | ) |
Referenced by line().
|
private |
Definition at line 119 of file TTUEmulator.h.
|
private |
Definition at line 131 of file TTUEmulator.h.
Referenced by initialise(), processTtu(), and TTUEmulator().
|
private |
Definition at line 118 of file TTUEmulator.h.
Referenced by initialise(), printinfo(), processTtu(), and TTUEmulator().
|
private |
Definition at line 121 of file TTUEmulator.h.
Referenced by initialise(), line(), SetLineId(), and TTUEmulator().
|
private |
Definition at line 125 of file TTUEmulator.h.
int TTUEmulator::m_maxWheels |
Definition at line 80 of file TTUEmulator.h.
Referenced by emulate(), initialise(), printinfo(), processTtu(), setSpecifications(), and TTUEmulator().
|
private |
Definition at line 120 of file TTUEmulator.h.
Referenced by mode(), setmode(), setSpecifications(), and TTUEmulator().
std::bitset<2> TTUEmulator::m_trigger |
Definition at line 83 of file TTUEmulator.h.
Referenced by processTtu().
std::map<int, std::bitset<2> > TTUEmulator::m_triggerBx |
Definition at line 84 of file TTUEmulator.h.
Referenced by processTtu().
std::vector<TriggerResponse> TTUEmulator::m_triggerBxVec |
Definition at line 112 of file TTUEmulator.h.
Referenced by clearTriggerResponse(), and processTtu().
|
private |
Definition at line 129 of file TTUEmulator.h.
Referenced by initialise(), processTtu(), setSpecifications(), and TTUEmulator().
|
private |
Definition at line 127 of file TTUEmulator.h.
Referenced by processTtu().
|
private |
Definition at line 123 of file TTUEmulator.h.
std::array<RPCWheel,2> TTUEmulator::m_Wheels |
Definition at line 82 of file TTUEmulator.h.
Referenced by emulate(), initialise(), printinfo(), processTtu(), setSpecifications(), and TTUEmulator().