#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 |
TTUEmulator::TTUEmulator | ( | int | id, |
int | mxw | ||
) |
Definition at line 24 of file TTUEmulator.cc.
TTUEmulator::TTUEmulator | ( | int | id, |
const char * | rbclogic_type, | ||
const char * | ttulogic_type, | ||
int | mxw | ||
) |
Definition at line 29 of file TTUEmulator.cc.
TTUEmulator::TTUEmulator | ( | int | id, |
const char * | f_name, | ||
const char * | rbclogic_type, | ||
const char * | ttulogic_type, | ||
int | mxw | ||
) |
Definition at line 40 of file TTUEmulator.cc.
void TTUEmulator::clearTriggerResponse | ( | ) |
Definition at line 228 of file TTUEmulator.cc.
References m_triggerBxVec.
void TTUEmulator::emulate | ( | ) |
Definition at line 82 of file TTUEmulator.cc.
References isotrackApplyRegressor::k, m_maxWheels, and m_Wheels.
bool TTUEmulator::initialise | ( | ) |
Definition at line 64 of file TTUEmulator.cc.
References gather_cfg::cout, isotrackApplyRegressor::k, m_debug, m_id, m_line, m_maxWheels, m_ttuconf, m_Wheels, and mps_update::status.
|
inline |
|
inline |
void TTUEmulator::printinfo | ( | ) | const |
Definition at line 232 of file TTUEmulator.cc.
References gather_cfg::cout, isotrackApplyRegressor::k, m_id, m_maxWheels, and m_Wheels.
void TTUEmulator::processTtu | ( | RPCInputSignal * | signal | ) |
Definition at line 88 of file TTUEmulator.cc.
References makePileupJSON::bx, reco::ceil(), gather_cfg::cout, isotrackApplyRegressor::k, m_debug, m_id, m_maxWheels, m_trigger, m_triggerBx, m_triggerBxVec, m_ttuconf, m_ttuin, m_Wheels, LaserDQM_cfg::process, and tier0::unique().
void TTUEmulator::processTtu | ( | RPCInputSignal * | signal, |
int | wedgeId | ||
) |
Definition at line 157 of file TTUEmulator.cc.
References makePileupJSON::bx, reco::ceil(), gather_cfg::cout, isotrackApplyRegressor::k, m_debug, m_id, m_maxWheels, m_trigger, m_triggerBx, m_triggerBxVec, m_ttuconf, m_ttuin, m_Wheels, LaserDQM_cfg::process, and tier0::unique().
void TTUEmulator::SetLineId | ( | int | line | ) |
|
inline |
void TTUEmulator::setSpecifications | ( | const TTUBoardSpecs * | ttuspecs, |
const RBCBoardSpecs * | rbcspecs | ||
) |
Definition at line 52 of file TTUEmulator.cc.
References isotrackApplyRegressor::k, m_maxWheels, m_mode, m_ttuconf, and m_Wheels.
void TTUEmulator::setSpecs | ( | ) |
|
private |
Definition at line 110 of file TTUEmulator.h.
|
private |
Definition at line 122 of file TTUEmulator.h.
Referenced by initialise(), and processTtu().
|
private |
Definition at line 109 of file TTUEmulator.h.
Referenced by initialise(), printinfo(), and processTtu().
|
private |
Definition at line 112 of file TTUEmulator.h.
Referenced by initialise(), line(), and SetLineId().
|
private |
Definition at line 116 of file TTUEmulator.h.
int TTUEmulator::m_maxWheels |
Definition at line 74 of file TTUEmulator.h.
Referenced by emulate(), initialise(), printinfo(), processTtu(), and setSpecifications().
|
private |
Definition at line 111 of file TTUEmulator.h.
Referenced by mode(), setmode(), and setSpecifications().
std::bitset<2> TTUEmulator::m_trigger |
Definition at line 77 of file TTUEmulator.h.
Referenced by processTtu().
std::map<int, std::bitset<2> > TTUEmulator::m_triggerBx |
Definition at line 78 of file TTUEmulator.h.
Referenced by processTtu().
std::vector<TriggerResponse> TTUEmulator::m_triggerBxVec |
Definition at line 105 of file TTUEmulator.h.
Referenced by clearTriggerResponse(), and processTtu().
|
private |
Definition at line 120 of file TTUEmulator.h.
Referenced by initialise(), processTtu(), and setSpecifications().
|
private |
Definition at line 118 of file TTUEmulator.h.
Referenced by processTtu().
|
private |
Definition at line 114 of file TTUEmulator.h.
std::array<RPCWheel, 2> TTUEmulator::m_Wheels |
Definition at line 76 of file TTUEmulator.h.
Referenced by emulate(), initialise(), printinfo(), processTtu(), and setSpecifications().