#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 39 of file RPCStripsRing.h.
typedef std::map<int, RPCStripsRing> RPCStripsRing::TIdToRindMap |
Definition at line 44 of file RPCStripsRing.h.
typedef std::vector<TOtherConnStruct> RPCStripsRing::TOtherConnStructVec |
Definition at line 54 of file RPCStripsRing.h.
RPCStripsRing::RPCStripsRing | ( | const RPCRoll * | roll, |
boost::shared_ptr< L1RPCConeBuilder::TConMap > | cmap | ||
) |
Definition at line 35 of file RPCStripsRing.cc.
References 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 24 of file RPCStripsRing.cc.
|
inlinevirtual |
Definition at line 61 of file RPCStripsRing.h.
void RPCStripsRing::addRoll | ( | const RPCRoll * | roll | ) |
Definition at line 69 of file RPCStripsRing.cc.
References RPCRoll::centreOfStrip(), edm::hlt::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 125 of file RPCStripsRing.cc.
References edm::hlt::Exception, RPCRoll::id(), RPCDetId::layer(), RPCDetId::region(), relativeConstraints::station, and RPCDetId::station().
Referenced by getRingId(), and RPCStripsRing().
void RPCStripsRing::compressConnections | ( | ) |
Definition at line 515 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 421 of file RPCStripsRing.cc.
References begin, end, edm::hlt::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 301 of file RPCStripsRing.cc.
References abs, angle(), begin, end, edm::hlt::Exception, first, getTowerForRefRing(), i, isReferenceRing(), L1RPCConeBuilder::TStripCon::m_logplane, L1RPCConeBuilder::TStripCon::m_logstrip, L1RPCConeBuilder::TStripCon::m_PAC, L1RPCConeBuilder::TStripCon::m_tower, evf::evtn::offset(), phi, and pi.
void RPCStripsRing::fillWithVirtualStrips | ( | ) |
Definition at line 245 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 167 of file RPCStripsRing.cc.
References begin, end, edm::hlt::Exception, m_didFiltering, m_hwPlane, and m_region.
|
inline |
Definition at line 90 of file RPCStripsRing.h.
References m_compressedConnectionMap.
|
inline |
Definition at line 87 of file RPCStripsRing.h.
References m_connectionsMap.
|
inline |
Definition at line 82 of file RPCStripsRing.h.
References m_etaPartition.
Referenced by getTowerForRefRing().
|
inline |
|
static |
int RPCStripsRing::getRingId | ( | ) |
Definition at line 104 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 110 of file RPCStripsRing.cc.
References calculateHwPlane(), RPCGeomServ::eta_partition(), getRingId(), and RPCRoll::id().
int RPCStripsRing::getTowerForRefRing | ( | ) |
Definition at line 466 of file RPCStripsRing.cc.
References abs, edm::hlt::Exception, getEtaPartition(), isReferenceRing(), and run_regression::ret.
Referenced by createRefConnections().
|
inline |
Definition at line 83 of file RPCStripsRing.h.
References m_isReferenceRing.
Referenced by createOtherConnections(), createRefConnections(), fillWithVirtualStrips(), and getTowerForRefRing().
|
private |
Definition at line 107 of file RPCStripsRing.h.
Referenced by compressConnections(), and getCompressedConnectionsMap().
|
private |
Definition at line 106 of file RPCStripsRing.h.
Referenced by compressConnections(), and getConnectionsMap().
|
private |
Definition at line 104 of file RPCStripsRing.h.
Referenced by filterOverlapingChambers().
|
private |
Definition at line 103 of file RPCStripsRing.h.
Referenced by fillWithVirtualStrips().
|
private |
Definition at line 99 of file RPCStripsRing.h.
Referenced by getEtaPartition(), getRingId(), and RPCStripsRing().
|
private |
Definition at line 93 of file RPCStripsRing.h.
Referenced by fillWithVirtualStrips(), filterOverlapingChambers(), getHwPlane(), getRingId(), and RPCStripsRing().
|
private |
Definition at line 102 of file RPCStripsRing.h.
Referenced by isReferenceRing(), and RPCStripsRing().
|
private |
Definition at line 100 of file RPCStripsRing.h.
Referenced by filterOverlapingChambers(), and RPCStripsRing().