#include <L1Trigger/RPCTrigger/interface/RPCStripsRing.h>
Classes | |
struct | TOtherConnStruct |
Public Types | |
typedef std::map< int, RPCStripsRing > | TIdToRindMap |
typedef std::vector< TOtherConnStruct > | TOtherConnStructVec |
Public Member Functions | |
void | addRoll (const RPCRoll *roll) |
void | compressConnections () |
void | createOtherConnections (int tower, int PACno, int logplane, int logplanesize, float angle) |
void | createRefConnections (TOtherConnStructVec &otherRings, int logplane, int logplaneSize) |
void | fillWithVirtualStrips () |
void | filterOverlapingChambers () |
std::shared_ptr< L1RPCConeBuilder::TCompressedConMap > | getCompressedConnectionsMap () |
std::shared_ptr< L1RPCConeBuilder::TConMap > | getConnectionsMap () |
int | getEtaPartition () |
int | getHwPlane () |
int | getRingId () |
int | getTowerForRefRing () |
bool | isReferenceRing () |
RPCStripsRing (const RPCRoll *roll, std::shared_ptr< L1RPCConeBuilder::TConMap > cmap) | |
RPCStripsRing () | |
virtual | ~RPCStripsRing () |
Static Public Member Functions | |
static int | calculateHwPlane (const RPCRoll *roll) |
Calculate ringId for any given RPCRoll. More... | |
static int | getRingId (int etaPart, int hwPlane) |
static int | getRingId (const RPCRoll *roll) |
Calculate ringId for this ring. More... | |
Private Attributes | |
std::shared_ptr< L1RPCConeBuilder::TCompressedConMap > | m_compressedConnectionMap |
std::shared_ptr< L1RPCConeBuilder::TConMap > | m_connectionsMap |
bool | m_didFiltering |
bool | m_didVirtuals |
int | m_etaPartition |
int | m_hwPlane |
bool | m_isReferenceRing |
int | m_region |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 36 of file RPCStripsRing.h.
typedef std::map<int, RPCStripsRing> RPCStripsRing::TIdToRindMap |
Definition at line 39 of file RPCStripsRing.h.
typedef std::vector<TOtherConnStruct> RPCStripsRing::TOtherConnStructVec |
Definition at line 48 of file RPCStripsRing.h.
RPCStripsRing::RPCStripsRing | ( | const RPCRoll * | roll, |
std::shared_ptr< L1RPCConeBuilder::TConMap > | cmap | ||
) |
Definition at line 31 of file RPCStripsRing.cc.
References funct::abs(), addRoll(), calculateHwPlane(), hcalRecHitTable_cff::detId, RPCGeomServ::eta_partition(), getRingId(), m_etaPartition, m_hwPlane, m_isReferenceRing, m_region, relativeConstraints::ring, and nano_mu_digi_cff::roll.
RPCStripsRing::RPCStripsRing | ( | ) |
Definition at line 23 of file RPCStripsRing.cc.
|
inlinevirtual |
Definition at line 53 of file RPCStripsRing.h.
void RPCStripsRing::addRoll | ( | const RPCRoll * | roll | ) |
Definition at line 58 of file RPCStripsRing.cc.
References Exception, getRingId(), mps_fire::i, PV3DBase< T, PVType, FrameType >::phi(), and nano_mu_digi_cff::roll.
Referenced by RPCStripsRing().
|
static |
Calculate ringId for any given RPCRoll.
Definition at line 100 of file RPCStripsRing.cc.
References hcalRecHitTable_cff::detId, Exception, nano_mu_digi_cff::layer, nano_mu_digi_cff::region, nano_mu_digi_cff::roll, and relativeConstraints::station.
Referenced by getRingId(), and RPCStripsRing().
void RPCStripsRing::compressConnections | ( | ) |
Definition at line 440 of file RPCStripsRing.cc.
References L1RPCConeBuilder::TCompressedCon::addStrip(), hcalRecHitTable_cff::detId, createfilelist::int, m_compressedConnectionMap, m_connectionsMap, L1RPCConeBuilder::TCompressedCon::m_logplane, L1RPCConeBuilder::TCompressedCon::m_mul, L1RPCConeBuilder::TCompressedCon::m_offset, L1RPCConeBuilder::TCompressedCon::m_PAC, and L1RPCConeBuilder::TCompressedCon::m_tower.
void RPCStripsRing::createOtherConnections | ( | int | tower, |
int | PACno, | ||
int | logplane, | ||
int | logplanesize, | ||
float | angle | ||
) |
Definition at line 358 of file RPCStripsRing.cc.
References mps_fire::end, Exception, mps_fire::i, isReferenceRing(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, L1RPCConeBuilder::TStripCon::m_logplane, L1RPCConeBuilder::TStripCon::m_logstrip, L1RPCConeBuilder::TStripCon::m_PAC, L1RPCConeBuilder::TStripCon::m_tower, and l1tHGCalTowerProducer_cfi::tower.
void RPCStripsRing::createRefConnections | ( | TOtherConnStructVec & | otherRings, |
int | logplane, | ||
int | logplaneSize | ||
) |
Definition at line 246 of file RPCStripsRing.cc.
References funct::abs(), angle(), mps_fire::end, Exception, dqmdumpme::first, getTowerForRefRing(), mps_fire::i, isReferenceRing(), L1RPCConeBuilder::TStripCon::m_logplane, L1RPCConeBuilder::TStripCon::m_logstrip, L1RPCConeBuilder::TStripCon::m_PAC, L1RPCConeBuilder::TStripCon::m_tower, hltrates_dqm_sourceclient-live_cfg::offset, phi, and pi.
void RPCStripsRing::fillWithVirtualStrips | ( | ) |
Definition at line 201 of file RPCStripsRing.cc.
References dumpMFGeometry_cfg::delta, mps_fire::end, mps_fire::i, edm::eventsetup::heterocontainer::insert(), createfilelist::int, isReferenceRing(), m_didVirtuals, m_hwPlane, and pi.
void RPCStripsRing::filterOverlapingChambers | ( | ) |
Definition at line 135 of file RPCStripsRing.cc.
References mps_fire::end, Exception, m_didFiltering, m_hwPlane, and m_region.
|
inline |
Definition at line 79 of file RPCStripsRing.h.
References m_compressedConnectionMap.
|
inline |
Definition at line 77 of file RPCStripsRing.h.
References m_connectionsMap.
|
inline |
Definition at line 72 of file RPCStripsRing.h.
References m_etaPartition.
Referenced by getTowerForRefRing().
|
inline |
|
static |
Definition at line 76 of file RPCStripsRing.cc.
References funct::abs(), and Validation_hcalonly_cfi::sign.
int RPCStripsRing::getRingId | ( | ) |
Definition at line 87 of file RPCStripsRing.cc.
References m_etaPartition, and m_hwPlane.
Referenced by addRoll(), RPCConeBuilder::buildCones(), getRingId(), and RPCStripsRing().
|
static |
Calculate ringId for this ring.
Definition at line 89 of file RPCStripsRing.cc.
References calculateHwPlane(), hcalRecHitTable_cff::detId, RPCGeomServ::eta_partition(), getRingId(), and nano_mu_digi_cff::roll.
int RPCStripsRing::getTowerForRefRing | ( | ) |
Definition at line 396 of file RPCStripsRing.cc.
References funct::abs(), Exception, getEtaPartition(), isReferenceRing(), runTheMatrix::ret, and Validation_hcalonly_cfi::sign.
Referenced by createRefConnections().
|
inline |
Definition at line 73 of file RPCStripsRing.h.
References m_isReferenceRing.
Referenced by createOtherConnections(), createRefConnections(), fillWithVirtualStrips(), and getTowerForRefRing().
|
private |
Definition at line 93 of file RPCStripsRing.h.
Referenced by compressConnections(), and getCompressedConnectionsMap().
|
private |
Definition at line 92 of file RPCStripsRing.h.
Referenced by compressConnections(), and getConnectionsMap().
|
private |
Definition at line 90 of file RPCStripsRing.h.
Referenced by filterOverlapingChambers().
|
private |
Definition at line 89 of file RPCStripsRing.h.
Referenced by fillWithVirtualStrips().
|
private |
Definition at line 85 of file RPCStripsRing.h.
Referenced by getEtaPartition(), getRingId(), and RPCStripsRing().
|
private |
Definition at line 81 of file RPCStripsRing.h.
Referenced by fillWithVirtualStrips(), filterOverlapingChambers(), getHwPlane(), getRingId(), and RPCStripsRing().
|
private |
Definition at line 88 of file RPCStripsRing.h.
Referenced by isReferenceRing(), and RPCStripsRing().
|
private |
Definition at line 86 of file RPCStripsRing.h.
Referenced by filterOverlapingChambers(), and RPCStripsRing().