#include <L1Trigger/RPCTriggerConfig/src/RPCConeBuilder.cc>
Public Types | |
typedef std::shared_ptr< L1RPCConeBuilder > | ReturnType |
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) |
void | buildCones (const edm::ESHandle< RPCGeometry > &rpcGeom) |
void | buildConnections () |
Private Attributes | |
int | m_hwPlaneBeg |
int | m_hwPlaneEnd |
edm::ESHandle< L1RPCConeDefinition > | m_L1RPCConeDefinition |
RPCStripsRing::TIdToRindMap | m_ringsMap |
int | m_rollBeg |
int | m_rollEnd |
edm::ESHandle< RPCGeometry > | m_rpcGeometry |
bool | m_runOnceBuildCones |
int | m_towerBeg |
Returns logplane number for this connection, if not connected returns -1. In second lpSize. More... | |
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 | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
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 35 of file RPCConeBuilder.h.
typedef std::shared_ptr<L1RPCConeBuilder> RPCConeBuilder::ReturnType |
Definition at line 39 of file RPCConeBuilder.h.
RPCConeBuilder::RPCConeBuilder | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 42 of file RPCConeBuilder.cc.
References coneDefCallback(), edm::eventsetup::dependsOn(), geometryCallback(), and edm::ESProducer::setWhatProduced().
|
inline |
Definition at line 39 of file RPCConeBuilder.h.
References areConnected(), buildCones(), buildConnections(), coneDefCallback(), geometryCallback(), trackingPlots::other, and produce().
|
private |
Definition at line 351 of file RPCConeBuilder.cc.
References funct::abs(), Exception, L1RPCConeDefinition::getLPSizeVec(), L1RPCConeDefinition::getRingToLPVec(), L1RPCConeDefinition::getRingToTowerVec(), diffTreeTool::index, and m_L1RPCConeDefinition.
Referenced by buildConnections(), and ~RPCConeBuilder().
|
private |
Definition at line 179 of file RPCConeBuilder.cc.
References funct::abs(), buildConnections(), RPCGeometry::dets(), Exception, RPCStripsRing::getRingId(), crabWrapper::key, m_ringsMap, m_runOnceBuildCones, and Validation_hcalonly_cfi::sign.
Referenced by produce(), and ~RPCConeBuilder().
|
private |
Definition at line 275 of file RPCConeBuilder.cc.
References areConnected(), Exception, RPCStripsRing::TOtherConnStruct::m_it, RPCStripsRing::TOtherConnStruct::m_logplane, RPCStripsRing::TOtherConnStruct::m_logplaneSize, and m_ringsMap.
Referenced by buildCones(), and ~RPCConeBuilder().
void RPCConeBuilder::coneDefCallback | ( | const L1RPCConeDefinitionRcd & | record | ) |
Definition at line 163 of file RPCConeBuilder.cc.
References edm::eventsetup::EventSetupRecord::get(), m_L1RPCConeDefinition, and m_runOnceBuildCones.
Referenced by RPCConeBuilder(), and ~RPCConeBuilder().
void RPCConeBuilder::geometryCallback | ( | const MuonGeometryRecord & | record | ) |
Definition at line 154 of file RPCConeBuilder.cc.
References edm::eventsetup::EventSetupRecord::get(), m_rpcGeometry, and m_runOnceBuildCones.
Referenced by RPCConeBuilder(), and ~RPCConeBuilder().
RPCConeBuilder::ReturnType RPCConeBuilder::produce | ( | const L1RPCConeBuilderRcd & | iRecord | ) |
Definition at line 117 of file RPCConeBuilder.cc.
References buildCones(), m_ringsMap, m_rpcGeometry, m_towerBeg, and m_towerEnd.
Referenced by ~RPCConeBuilder().
|
private |
Definition at line 63 of file RPCConeBuilder.h.
|
private |
Definition at line 64 of file RPCConeBuilder.h.
|
private |
Definition at line 66 of file RPCConeBuilder.h.
Referenced by areConnected(), and coneDefCallback().
|
private |
Definition at line 70 of file RPCConeBuilder.h.
Referenced by buildCones(), buildConnections(), and produce().
|
private |
Definition at line 61 of file RPCConeBuilder.h.
|
private |
Definition at line 62 of file RPCConeBuilder.h.
|
private |
Definition at line 67 of file RPCConeBuilder.h.
Referenced by geometryCallback(), and produce().
|
private |
Definition at line 68 of file RPCConeBuilder.h.
Referenced by buildCones(), coneDefCallback(), and geometryCallback().
|
private |
Returns logplane number for this connection, if not connected returns -1. In second lpSize.
Definition at line 59 of file RPCConeBuilder.h.
Referenced by produce().
|
private |
Definition at line 60 of file RPCConeBuilder.h.
Referenced by produce().