#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 () |
boost::shared_ptr < L1RPCConeBuilder::TCompressedConMap > | getCompressedConnectionsMap () |
boost::shared_ptr < L1RPCConeBuilder::TConMap > | getConnectionsMap () |
int | getEtaPartition () |
int | getHwPlane () |
int | getRingId () |
int | getTowerForRefRing () |
bool | isReferenceRing () |
RPCStripsRing (const RPCRoll *roll, boost::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 | |
boost::shared_ptr < L1RPCConeBuilder::TCompressedConMap > | m_compressedConnectionMap |
boost::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 38 of file RPCStripsRing.h.
typedef std::map<int, RPCStripsRing> RPCStripsRing::TIdToRindMap |
Definition at line 43 of file RPCStripsRing.h.
typedef std::vector<TOtherConnStruct> RPCStripsRing::TOtherConnStructVec |
Definition at line 53 of file RPCStripsRing.h.
RPCStripsRing::RPCStripsRing | ( | const RPCRoll * | roll, |
boost::shared_ptr< L1RPCConeBuilder::TConMap > | cmap | ||
) |
Definition at line 34 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(), relativeConstraints::ring, and RPCDetId::ring().
RPCStripsRing::RPCStripsRing | ( | ) |
Definition at line 23 of file RPCStripsRing.cc.
|
inlinevirtual |
Definition at line 60 of file RPCStripsRing.h.
void RPCStripsRing::addRoll | ( | const RPCRoll * | roll | ) |
Definition at line 68 of file RPCStripsRing.cc.
References RPCRoll::centreOfStrip(), Exception, getRingId(), 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 124 of file RPCStripsRing.cc.
References Exception, RPCRoll::id(), RPCDetId::layer(), RPCDetId::region(), HLT_25ns10e33_v2_cff::region, relativeConstraints::station, and RPCDetId::station().
Referenced by getRingId(), and RPCStripsRing().
void RPCStripsRing::compressConnections | ( | ) |
Definition at line 514 of file RPCStripsRing.cc.
References L1RPCConeBuilder::TCompressedCon::addStrip(), 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 420 of file RPCStripsRing.cc.
References begin, end, Exception, i, isReferenceRing(), L1RPCConeBuilder::TStripCon::m_logplane, L1RPCConeBuilder::TStripCon::m_logstrip, L1RPCConeBuilder::TStripCon::m_PAC, and L1RPCConeBuilder::TStripCon::m_tower.
void RPCStripsRing::createRefConnections | ( | TOtherConnStructVec & | otherRings, |
int | logplane, | ||
int | logplaneSize | ||
) |
Definition at line 300 of file RPCStripsRing.cc.
References funct::abs(), angle(), begin, end, Exception, plotBeamSpotDB::first, getTowerForRefRing(), 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 244 of file RPCStripsRing.cc.
References begin, delta, end, i, edm::eventsetup::heterocontainer::insert(), isReferenceRing(), m_didVirtuals, m_hwPlane, and pi.
void RPCStripsRing::filterOverlapingChambers | ( | ) |
Definition at line 166 of file RPCStripsRing.cc.
References begin, end, Exception, m_didFiltering, m_hwPlane, and m_region.
|
inline |
Definition at line 89 of file RPCStripsRing.h.
References m_compressedConnectionMap.
|
inline |
Definition at line 86 of file RPCStripsRing.h.
References m_connectionsMap.
|
inline |
Definition at line 81 of file RPCStripsRing.h.
References m_etaPartition.
Referenced by getTowerForRefRing().
|
inline |
|
static |
Definition at line 90 of file RPCStripsRing.cc.
References funct::abs(), and jetcorrextractor::sign().
int RPCStripsRing::getRingId | ( | ) |
Definition at line 103 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 109 of file RPCStripsRing.cc.
References calculateHwPlane(), RPCGeomServ::eta_partition(), getRingId(), and RPCRoll::id().
int RPCStripsRing::getTowerForRefRing | ( | ) |
Definition at line 465 of file RPCStripsRing.cc.
References funct::abs(), Exception, getEtaPartition(), isReferenceRing(), runTheMatrix::ret, and jetcorrextractor::sign().
Referenced by createRefConnections().
|
inline |
Definition at line 82 of file RPCStripsRing.h.
References m_isReferenceRing.
Referenced by createOtherConnections(), createRefConnections(), fillWithVirtualStrips(), and getTowerForRefRing().
|
private |
Definition at line 106 of file RPCStripsRing.h.
Referenced by compressConnections(), and getCompressedConnectionsMap().
|
private |
Definition at line 105 of file RPCStripsRing.h.
Referenced by compressConnections(), and getConnectionsMap().
|
private |
Definition at line 103 of file RPCStripsRing.h.
Referenced by filterOverlapingChambers().
|
private |
Definition at line 102 of file RPCStripsRing.h.
Referenced by fillWithVirtualStrips().
|
private |
Definition at line 98 of file RPCStripsRing.h.
Referenced by getEtaPartition(), getRingId(), and RPCStripsRing().
|
private |
Definition at line 92 of file RPCStripsRing.h.
Referenced by fillWithVirtualStrips(), filterOverlapingChambers(), getHwPlane(), getRingId(), and RPCStripsRing().
|
private |
Definition at line 101 of file RPCStripsRing.h.
Referenced by isReferenceRing(), and RPCStripsRing().
|
private |
Definition at line 99 of file RPCStripsRing.h.
Referenced by filterOverlapingChambers(), and RPCStripsRing().