#include <L1Trigger/RPCTriggerConfig/src/RPCConeBuilder.cc>
Public Types | |
using | ReturnType = std::unique_ptr< L1RPCConeBuilder > |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Private Member Functions | |
std::pair< int, int > | areConnected (RPCStripsRing::TIdToRindMap::iterator ref, RPCStripsRing::TIdToRindMap::iterator other, L1RPCConeDefinition const *) |
void | buildCones (RPCGeometry const *, L1RPCConeDefinition const *, RPCStripsRing::TIdToRindMap &) |
void | buildConnections (L1RPCConeDefinition const *, RPCStripsRing::TIdToRindMap &) |
Private Attributes | |
int | m_towerBeg |
int | m_towerEnd |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Description: <one line="" class="" summary>="">
Usage: <usage>
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 32 of file RPCConeBuilder.h.
using RPCConeBuilder::ReturnType = std::unique_ptr<L1RPCConeBuilder> |
Definition at line 37 of file RPCConeBuilder.h.
RPCConeBuilder::RPCConeBuilder | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 31 of file RPCConeBuilder.cc.
References edm::ESProducer::setWhatProduced().
|
private |
In the pair that is returned, the first element is the logplane number for this connection (if not connected returns -1) and the second element is lpSize.
Definition at line 161 of file RPCConeBuilder.cc.
References funct::abs(), Exception, L1RPCConeDefinition::getLPSizeVec(), L1RPCConeDefinition::getRingToLPVec(), and L1RPCConeDefinition::getRingToTowerVec().
Referenced by buildConnections().
|
private |
Definition at line 69 of file RPCConeBuilder.cc.
References buildConnections(), RPCGeometry::dets(), Exception, RPCStripsRing::getRingId(), crabWrapper::key, nullptr, and Validation_hcalonly_cfi::sign.
Referenced by produce().
|
private |
Definition at line 122 of file RPCConeBuilder.cc.
References areConnected(), Exception, RPCStripsRing::TOtherConnStruct::m_it, RPCStripsRing::TOtherConnStruct::m_logplane, and RPCStripsRing::TOtherConnStruct::m_logplaneSize.
Referenced by buildCones().
RPCConeBuilder::ReturnType RPCConeBuilder::produce | ( | const L1RPCConeBuilderRcd & | iRecord | ) |
Definition at line 40 of file RPCConeBuilder.cc.
References buildCones(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_towerBeg, m_towerEnd, and edm::ESHandle< T >::product().
|
private |
Definition at line 58 of file RPCConeBuilder.h.
Referenced by produce().
|
private |
Definition at line 59 of file RPCConeBuilder.h.
Referenced by produce().