#include <RPCWheel.h>
Public Member Functions | |
void | createWheelMap () |
void | emulate () |
int | getid () |
bool | initialise () |
void | print_wheel (const TTUInput &) |
void | printinfo () |
bool | process (int, const std::map< int, RBCInput * > &) |
bool | process (int, const std::map< int, TTUInput * > &) |
void | retrieveWheelMap (TTUInput &) |
RPCWheel () | |
Standard constructor. More... | |
void | setProperties (int) |
void | setProperties (int, const char *) |
void | setProperties (int, const char *, const char *) |
void | setSpecifications (const RBCBoardSpecs *) |
virtual | ~RPCWheel () |
Destructor. More... | |
Public Attributes | |
std::vector< RBCEmulator * > | m_RBCE |
Private Attributes | |
bool | m_debug |
int | m_id |
int | m_maxlayers |
int | m_maxrbc |
int | m_maxsectors |
std::bitset< 12 > | m_rbcDecision |
std::vector< int > | m_sec1id |
std::vector< int > | m_sec2id |
std::bitset< 6 > * | m_wheelmap |
RPCWheel::RPCWheel | ( | ) |
Standard constructor.
Definition at line 17 of file RPCWheel.cc.
References m_debug, m_id, m_maxlayers, m_maxrbc, m_maxsectors, m_sec1id, m_sec2id, and m_wheelmap.
|
virtual |
Destructor.
Definition at line 105 of file RPCWheel.cc.
References m_RBCE, m_sec1id, m_sec2id, and m_wheelmap.
void RPCWheel::createWheelMap | ( | ) |
Definition at line 233 of file RPCWheel.cc.
References gather_cfg::cout, relval_steps::k, m_debug, m_maxrbc, m_rbcDecision, m_RBCE, and m_wheelmap.
Referenced by TTUEmulator::processTtu().
void RPCWheel::emulate | ( | ) |
|
inline |
bool RPCWheel::initialise | ( | ) |
Definition at line 129 of file RPCWheel.cc.
References relval_steps::k, m_maxrbc, m_RBCE, and ntuplemaker::status.
void RPCWheel::print_wheel | ( | const TTUInput & | wmap | ) |
Definition at line 300 of file RPCWheel.cc.
References gather_cfg::cout, i, TTUInput::input_sec, j, relval_steps::k, TTUInput::m_bx, m_maxlayers, m_maxsectors, and TTUInput::m_wheelId.
Referenced by retrieveWheelMap().
void RPCWheel::printinfo | ( | ) |
Definition at line 291 of file RPCWheel.cc.
References gather_cfg::cout, relval_steps::k, m_id, m_maxrbc, and m_RBCE.
bool RPCWheel::process | ( | int | bx, |
const std::map< int, RBCInput * > & | data | ||
) |
Definition at line 149 of file RPCWheel.cc.
References funct::abs(), gather_cfg::cout, relval_steps::k, relval_steps::key, m_debug, m_maxrbc, m_RBCE, and ntuplemaker::status.
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
bool RPCWheel::process | ( | int | bx, |
const std::map< int, TTUInput * > & | data | ||
) |
Definition at line 195 of file RPCWheel.cc.
References funct::abs(), gather_cfg::cout, relval_steps::k, relval_steps::key, m_debug, m_id, m_maxsectors, m_wheelmap, and ntuplemaker::status.
Referenced by ConfigBuilder.ConfigBuilder::__init__(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::anyOf(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare(), ConfigBuilder.ConfigBuilder::prepare_ALCA(), ConfigBuilder.ConfigBuilder::prepare_DQM(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HARVESTING(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
void RPCWheel::retrieveWheelMap | ( | TTUInput & | output | ) |
Definition at line 266 of file RPCWheel.cc.
References gather_cfg::cout, i, TTUInput::input_sec, j, m_debug, m_id, m_maxlayers, m_maxsectors, TTUInput::m_rbcDecision, m_rbcDecision, TTUInput::m_wheelId, m_wheelmap, print_wheel(), and TTUInput::reset().
Referenced by TTUEmulator::processTtu().
void RPCWheel::setProperties | ( | int | wid | ) |
Definition at line 44 of file RPCWheel.cc.
References relval_steps::k, m_id, m_maxrbc, m_maxsectors, m_RBCE, m_sec1id, m_sec2id, m_wheelmap, and reset().
void RPCWheel::setProperties | ( | int | wid, |
const char * | logic_type | ||
) |
Definition at line 64 of file RPCWheel.cc.
References relval_steps::k, m_id, m_maxrbc, m_maxsectors, m_RBCE, m_sec1id, m_sec2id, m_wheelmap, and reset().
void RPCWheel::setProperties | ( | int | wid, |
const char * | f_name, | ||
const char * | logic_type | ||
) |
Definition at line 83 of file RPCWheel.cc.
References relval_steps::k, m_id, m_maxrbc, m_maxsectors, m_RBCE, m_wheelmap, and reset().
void RPCWheel::setSpecifications | ( | const RBCBoardSpecs * | rbcspecs | ) |
|
private |
Definition at line 75 of file RPCWheel.h.
Referenced by createWheelMap(), process(), retrieveWheelMap(), and RPCWheel().
|
private |
Definition at line 62 of file RPCWheel.h.
Referenced by getid(), printinfo(), process(), retrieveWheelMap(), RPCWheel(), and setProperties().
|
private |
Definition at line 64 of file RPCWheel.h.
Referenced by print_wheel(), retrieveWheelMap(), and RPCWheel().
|
private |
Definition at line 63 of file RPCWheel.h.
Referenced by createWheelMap(), emulate(), initialise(), printinfo(), process(), RPCWheel(), setProperties(), and setSpecifications().
|
private |
Definition at line 65 of file RPCWheel.h.
Referenced by print_wheel(), process(), retrieveWheelMap(), RPCWheel(), and setProperties().
|
private |
Definition at line 72 of file RPCWheel.h.
Referenced by createWheelMap(), and retrieveWheelMap().
std::vector<RBCEmulator*> RPCWheel::m_RBCE |
Definition at line 56 of file RPCWheel.h.
Referenced by createWheelMap(), emulate(), initialise(), printinfo(), process(), setProperties(), setSpecifications(), and ~RPCWheel().
|
private |
Definition at line 67 of file RPCWheel.h.
Referenced by RPCWheel(), setProperties(), and ~RPCWheel().
|
private |
Definition at line 68 of file RPCWheel.h.
Referenced by RPCWheel(), setProperties(), and ~RPCWheel().
|
private |
Definition at line 73 of file RPCWheel.h.
Referenced by createWheelMap(), process(), retrieveWheelMap(), RPCWheel(), setProperties(), and ~RPCWheel().