#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(), RPCGeomServ::eta_partition(), getRingId(), RPCRoll::id(), m_etaPartition, m_hwPlane, m_isReferenceRing, m_region, RPCDetId::region(), RPCDetId::ring(), and relativeConstraints::ring.
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 RPCRoll::centreOfStrip(), Exception, getRingId(), mps_fire::i, RPCRoll::id(), RPCRoll::nstrips(), PV3DBase< T, PVType, FrameType >::phi(), DetId::rawId(), and GeomDet::toGlobal().
Referenced by RPCStripsRing().
|
static |
Calculate ringId for any given RPCRoll.
Definition at line 100 of file RPCStripsRing.cc.
References Exception, RPCRoll::id(), RPCDetId::layer(), phase1PixelTopology::layer, RPCDetId::region(), HLT_2022v11_cff::region, relativeConstraints::station, and RPCDetId::station().
Referenced by getRingId(), and RPCStripsRing().
void RPCStripsRing::compressConnections | ( | ) |
Definition at line 443 of file RPCStripsRing.cc.
References L1RPCConeBuilder::TCompressedCon::addStrip(), 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 361 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 hgcalTowerProducer_cfi::tower.
void RPCStripsRing::createRefConnections | ( | TOtherConnStructVec & | otherRings, |
int | logplane, | ||
int | logplaneSize | ||
) |
Definition at line 249 of file RPCStripsRing.cc.
References funct::abs(), angle(), mps_fire::end, Exception, 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 204 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(), RPCGeomServ::eta_partition(), getRingId(), and RPCRoll::id().
int RPCStripsRing::getTowerForRefRing | ( | ) |
Definition at line 399 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().