#include <GeometryTranslator.h>
Public Member Functions | |
double | calculateBendAngle (const TriggerPrimitive &) const |
double | calculateGlobalEta (const TriggerPrimitive &) const |
double | calculateGlobalPhi (const TriggerPrimitive &) const |
void | checkAndUpdateGeometry (const edm::EventSetup &) |
GeometryTranslator () | |
~GeometryTranslator () | |
Private Member Functions | |
double | calcCSCSpecificBend (const TriggerPrimitive &) const |
double | calcCSCSpecificEta (const TriggerPrimitive &) const |
double | calcCSCSpecificPhi (const TriggerPrimitive &) const |
double | calcDTSpecificBend (const TriggerPrimitive &) const |
double | calcDTSpecificEta (const TriggerPrimitive &) const |
double | calcDTSpecificPhi (const TriggerPrimitive &) const |
GlobalPoint | calcDTSpecificPoint (const TriggerPrimitive &) const |
double | calcRPCSpecificBend (const TriggerPrimitive &) const |
double | calcRPCSpecificEta (const TriggerPrimitive &) const |
double | calcRPCSpecificPhi (const TriggerPrimitive &) const |
GlobalPoint | getCSCSpecificPoint (const TriggerPrimitive &) const |
GlobalPoint | getRPCSpecificPoint (const TriggerPrimitive &) const |
bool | isCSCCounterClockwise (const std::unique_ptr< const CSCLayer > &) const |
Private Attributes | |
edm::ESHandle< CSCGeometry > | _geocsc |
edm::ESHandle< DTGeometry > | _geodt |
unsigned long long | _geom_cache_id |
edm::ESHandle< RPCGeometry > | _georpc |
Definition at line 36 of file GeometryTranslator.h.
GeometryTranslator::GeometryTranslator | ( | ) |
Definition at line 20 of file GeometryTranslator.cc.
GeometryTranslator::~GeometryTranslator | ( | ) |
Definition at line 24 of file GeometryTranslator.cc.
|
private |
Definition at line 201 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 191 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getCSCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 196 of file GeometryTranslator.cc.
References getCSCSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 255 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::DTData::bendingAngle, and L1TMuon::TriggerPrimitive::getDTData().
Referenced by calculateBendAngle().
|
private |
Definition at line 244 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::eta().
Referenced by calculateGlobalEta().
|
private |
Definition at line 249 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 206 of file GeometryTranslator.cc.
References _geodt, L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getDTData(), M_PI, PV3DBase< T, PVType, FrameType >::mag(), phi(), L1TMuon::TriggerPrimitive::DTData::radialAngle, L1TMuon::TriggerPrimitive::DTData::sector, DTChamberId::station(), PV3DBase< T, PVType, FrameType >::theta(), and L1TMuon::TriggerPrimitive::DTData::theta_bti_group.
Referenced by calcDTSpecificEta(), and calcDTSpecificPhi().
|
private |
Definition at line 118 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 106 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getRPCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 111 of file GeometryTranslator.cc.
References getRPCSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
double GeometryTranslator::calculateBendAngle | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 64 of file GeometryTranslator.cc.
References calcCSCSpecificBend(), calcDTSpecificBend(), calcRPCSpecificBend(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalEta | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 28 of file GeometryTranslator.cc.
References calcCSCSpecificEta(), calcDTSpecificEta(), calcRPCSpecificEta(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalPhi | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 46 of file GeometryTranslator.cc.
References calcCSCSpecificPhi(), calcDTSpecificPhi(), calcRPCSpecificPhi(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
void GeometryTranslator::checkAndUpdateGeometry | ( | const edm::EventSetup & | es | ) |
Definition at line 81 of file GeometryTranslator.cc.
References _geocsc, _geodt, _geom_cache_id, _georpc, edm::eventsetup::EventSetupRecord::cacheIdentifier(), relativeConstraints::geom, edm::EventSetup::get(), and edm::eventsetup::EventSetupRecord::get().
|
private |
Definition at line 128 of file GeometryTranslator.cc.
References _geocsc, L1TMuon::TriggerPrimitive::detId(), CSCPatternLUT::get2007Position(), L1TMuon::TriggerPrimitive::getCSCData(), isCSCCounterClockwise(), CSCConstants::KEY_ALCT_LAYER, L1TMuon::TriggerPrimitive::CSCData::keywire, PV3DBase< T, PVType, FrameType >::mag(), hltrates_dqm_sourceclient-live_cfg::offset, listBenchmarks::pattern, L1TMuon::TriggerPrimitive::CSCData::pattern, PV3DBase< T, PVType, FrameType >::phi(), L1TMuon::TriggerPrimitive::CSCData::strip, PV3DBase< T, PVType, FrameType >::theta(), and Geom::Phi< T >::value().
Referenced by calcCSCSpecificEta(), and calcCSCSpecificPhi().
|
private |
Definition at line 93 of file GeometryTranslator.cc.
References _georpc, RPCRoll::centreOfStrip(), L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getRPCData(), L1TMuon::TriggerPrimitive::RPCData::strip, and GeomDet::toGlobal().
Referenced by calcRPCSpecificEta(), and calcRPCSpecificPhi().
|
private |
Definition at line 262 of file GeometryTranslator.cc.
References funct::abs(), and M_PI.
Referenced by getCSCSpecificPoint().
|
private |
Definition at line 51 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getCSCSpecificPoint().
|
private |
Definition at line 52 of file GeometryTranslator.h.
Referenced by calcDTSpecificPoint(), and checkAndUpdateGeometry().
|
private |
Definition at line 49 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 50 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getRPCSpecificPoint().