#include <L1Trigger/RPCTechnicalTrigger/interface/RPCTechnicalTrigger.cc>
Classes | |
struct | sortByBx |
class | TTUResults |
Public Member Functions | |
RPCTechnicalTrigger (const edm::ParameterSet &) | |
~RPCTechnicalTrigger () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | beginRun (edm::Run &, const edm::EventSetup &) |
int | convertToMap (const std::vector< TTUResults * > &) |
virtual void | endJob () |
void | printinfo () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
bool | Reset () |
bool | searchCoincidence (int, int) |
Private Attributes | |
int | m_boardIndex [3] |
int | m_cand |
std::string | m_configFile |
std::vector< int >::iterator | m_firstSector |
bool | m_hasConfig |
int | m_ievt |
RPCInputSignal * | m_input |
int | m_maxBits |
int | m_maxTtuBoards |
int | m_nWheels [3] |
std::vector< int > | m_quadrants |
const RBCBoardSpecs * | m_rbcspecs |
TTUConfigurator * | m_readConfig |
edm::InputTag | m_rpcDigiLabel |
edm::ESHandle< RPCGeometry > | m_rpcGeometry |
edm::InputTag | m_rpcSimLinkInstance |
std::vector< TTUResults * > | m_serializedInfoLine1 |
std::vector< TTUResults * > | m_serializedInfoLine2 |
ProcessInputSignal * | m_signal |
std::bitset< 5 > | m_triggerbits |
std::vector< unsigned > | m_ttBits |
std::vector< std::string > | m_ttNames |
TTUEmulator * | m_ttu [3] |
TTUEmulator * | m_ttuRbcLine [3] |
std::map< int, TTUResults * > | m_ttuResultsByQuadrant |
const TTUBoardSpecs * | m_ttuspecs |
int | m_useEventSetup |
int | m_useRPCSimLink |
int | m_verbosity |
std::map< int, int > | m_WheelTtu |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: Implementation of the RPC Technical Trigger Emulator
Implementation:
Definition at line 68 of file RPCTechnicalTrigger.h.
|
explicit |
Definition at line 28 of file RPCTechnicalTrigger.cc.
References HDQMDatabaseProducer::configFile, python.connectstrParser::f1, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), LogTrace, m_boardIndex, m_cand, m_configFile, m_hasConfig, m_ievt, m_maxBits, m_maxTtuBoards, m_nWheels, m_quadrants, m_readConfig, m_rpcDigiLabel, m_rpcSimLinkInstance, m_ttBits, m_ttNames, m_ttu, m_ttuRbcLine, m_useEventSetup, m_useRPCSimLink, m_verbosity, m_WheelTtu, and NULL.
RPCTechnicalTrigger::~RPCTechnicalTrigger | ( | ) |
Definition at line 108 of file RPCTechnicalTrigger.cc.
References LogDebug, m_hasConfig, m_readConfig, m_ttu, m_ttuRbcLine, and m_WheelTtu.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 378 of file RPCTechnicalTrigger.cc.
References edm::EventSetup::get(), TTUConfigurator::getRbcSpecs(), TTUConfigurator::getTtuSpecs(), TTUEmulator::initialise(), edm::ESHandleBase::isValid(), gen::k, LogDebug, m_configFile, TTUConfigurator::m_hasConfig, m_hasConfig, m_maxTtuBoards, m_rbcspecs, m_readConfig, m_rpcGeometry, m_ttu, m_ttuRbcLine, m_ttuspecs, m_useEventSetup, TTUConfigurator::process(), edm::ESHandle< class >::product(), TTUEmulator::SetLineId(), and TTUEmulator::setSpecifications().
|
private |
Definition at line 443 of file RPCTechnicalTrigger.cc.
References combine::key, and m_ttuResultsByQuadrant.
Referenced by produce().
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 550 of file RPCTechnicalTrigger.cc.
References LogDebug.
|
private |
Definition at line 557 of file RPCTechnicalTrigger.cc.
References gen::k, LogDebug, m_maxTtuBoards, m_ttu, m_ttuRbcLine, and TTUEmulator::printinfo().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 135 of file RPCTechnicalTrigger.cc.
References abs, TTUEmulator::clearTriggerResponse(), convertToMap(), gather_cfg::cout, edm::Event::getByLabel(), edm::HandleBase::isValid(), gen::k, LogDebug, m_firstSector, m_hasConfig, m_ievt, m_input, m_maxTtuBoards, m_quadrants, m_rpcDigiLabel, m_rpcGeometry, m_serializedInfoLine1, m_serializedInfoLine2, m_signal, m_triggerbits, TTUEmulator::m_triggerBxVec, m_ttBits, m_ttNames, m_ttu, m_ttuRbcLine, m_useRPCSimLink, m_verbosity, ProcessInputSignal::next(), convertSQLitetoXML_cfg::output, TTUEmulator::processTtu(), edm::Event::put(), Reset(), query::result, ProcessInputSignal::retrievedata(), searchCoincidence(), python.multivaluedict::sort(), and ntuplemaker::status.
|
private |
Definition at line 354 of file RPCTechnicalTrigger.cc.
References RPCInputSignal::clear(), m_input, m_serializedInfoLine1, m_serializedInfoLine2, m_signal, m_triggerbits, and m_ttuResultsByQuadrant.
Referenced by produce().
|
private |
Definition at line 467 of file RPCTechnicalTrigger.cc.
References gen::k, combine::key, m_firstSector, m_quadrants, m_ttuResultsByQuadrant, and m_WheelTtu.
Referenced by produce().
|
private |
Definition at line 115 of file RPCTechnicalTrigger.h.
Referenced by RPCTechnicalTrigger().
|
private |
Definition at line 114 of file RPCTechnicalTrigger.h.
Referenced by RPCTechnicalTrigger().
|
private |
Definition at line 101 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), and RPCTechnicalTrigger().
|
private |
Definition at line 182 of file RPCTechnicalTrigger.h.
Referenced by produce(), and searchCoincidence().
|
private |
Definition at line 119 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), produce(), RPCTechnicalTrigger(), and ~RPCTechnicalTrigger().
|
private |
Definition at line 113 of file RPCTechnicalTrigger.h.
Referenced by produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 91 of file RPCTechnicalTrigger.h.
|
private |
Definition at line 118 of file RPCTechnicalTrigger.h.
Referenced by RPCTechnicalTrigger().
|
private |
Definition at line 117 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), printinfo(), produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 116 of file RPCTechnicalTrigger.h.
Referenced by RPCTechnicalTrigger().
|
private |
Definition at line 180 of file RPCTechnicalTrigger.h.
Referenced by produce(), RPCTechnicalTrigger(), and searchCoincidence().
|
private |
Definition at line 111 of file RPCTechnicalTrigger.h.
Referenced by beginRun().
|
private |
Definition at line 109 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), RPCTechnicalTrigger(), and ~RPCTechnicalTrigger().
|
private |
Definition at line 104 of file RPCTechnicalTrigger.h.
Referenced by produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 97 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 105 of file RPCTechnicalTrigger.h.
Referenced by RPCTechnicalTrigger().
|
private |
Definition at line 169 of file RPCTechnicalTrigger.h.
|
private |
Definition at line 170 of file RPCTechnicalTrigger.h.
|
private |
Definition at line 93 of file RPCTechnicalTrigger.h.
|
private |
Definition at line 95 of file RPCTechnicalTrigger.h.
|
private |
Definition at line 102 of file RPCTechnicalTrigger.h.
Referenced by produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 103 of file RPCTechnicalTrigger.h.
Referenced by produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 87 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), printinfo(), produce(), RPCTechnicalTrigger(), and ~RPCTechnicalTrigger().
|
private |
Definition at line 89 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), printinfo(), produce(), RPCTechnicalTrigger(), and ~RPCTechnicalTrigger().
|
private |
Definition at line 178 of file RPCTechnicalTrigger.h.
Referenced by convertToMap(), Reset(), and searchCoincidence().
|
private |
Definition at line 110 of file RPCTechnicalTrigger.h.
Referenced by beginRun().
|
private |
Definition at line 100 of file RPCTechnicalTrigger.h.
Referenced by beginRun(), and RPCTechnicalTrigger().
|
private |
Definition at line 107 of file RPCTechnicalTrigger.h.
Referenced by produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 99 of file RPCTechnicalTrigger.h.
Referenced by produce(), and RPCTechnicalTrigger().
|
private |
Definition at line 176 of file RPCTechnicalTrigger.h.
Referenced by RPCTechnicalTrigger(), searchCoincidence(), and ~RPCTechnicalTrigger().