#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 () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | beginRun (edm::Run const &, const edm::EventSetup &) overridefinal |
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 |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
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, validate-o2o-wbm::f1, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_25ns10e33_v2_cff::InputTag, 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, NULL, and AlCaHLTBitMon_QueryRunRegistry::string.
RPCTechnicalTrigger::~RPCTechnicalTrigger | ( | ) |
Definition at line 109 of file RPCTechnicalTrigger.cc.
References LogDebug, m_hasConfig, m_readConfig, m_ttu, m_ttuRbcLine, and m_WheelTtu.
|
finaloverrideprivatevirtual |
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(), relval_2017::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 relval_steps::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 relval_2017::k, LogDebug, m_maxTtuBoards, m_ttu, m_ttuRbcLine, and TTUEmulator::printinfo().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 136 of file RPCTechnicalTrigger.cc.
References funct::abs(), TTUEmulator::clearTriggerResponse(), convertToMap(), gather_cfg::cout, edm::Event::getByLabel(), edm::HandleBase::isValid(), relval_2017::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(), mps_fire::result, ProcessInputSignal::retrievedata(), searchCoincidence(), and mps_update::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 relval_2017::k, relval_steps::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().