#include <GeometryTranslator.h>
Public Member Functions | |
double | calculateBendAngle (const MuonTriggerPrimitive &) const |
double | calculateGlobalEta (const MuonTriggerPrimitive &) const |
double | calculateGlobalPhi (const MuonTriggerPrimitive &) const |
void | checkAndUpdateGeometry (const edm::EventSetup &) |
GeometryTranslator () | |
~GeometryTranslator () | |
Private Member Functions | |
double | calcCSCSpecificBend (const MuonTriggerPrimitive &) const |
double | calcCSCSpecificEta (const MuonTriggerPrimitive &) const |
double | calcCSCSpecificPhi (const MuonTriggerPrimitive &) const |
double | calcDTSpecificBend (const MuonTriggerPrimitive &) const |
double | calcDTSpecificEta (const MuonTriggerPrimitive &) const |
double | calcDTSpecificPhi (const MuonTriggerPrimitive &) const |
GlobalPoint | calcDTSpecificPoint (const MuonTriggerPrimitive &) const |
double | calcRPCSpecificBend (const MuonTriggerPrimitive &) const |
double | calcRPCSpecificEta (const MuonTriggerPrimitive &) const |
double | calcRPCSpecificPhi (const MuonTriggerPrimitive &) const |
GlobalPoint | getCSCSpecificPoint (const MuonTriggerPrimitive &) const |
GlobalPoint | getRPCSpecificPoint (const MuonTriggerPrimitive &) 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 l1t::MuonTriggerPrimitive::DTData::bendingAngle, and l1t::MuonTriggerPrimitive::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, l1t::MuonTriggerPrimitive::detId(), l1t::MuonTriggerPrimitive::getDTData(), M_PI, PV3DBase< T, PVType, FrameType >::mag(), phi(), l1t::MuonTriggerPrimitive::DTData::radialAngle, l1t::MuonTriggerPrimitive::DTData::sector, DTChamberId::station(), PV3DBase< T, PVType, FrameType >::theta(), and l1t::MuonTriggerPrimitive::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 MuonTriggerPrimitive & | tp | ) | const |
Definition at line 64 of file GeometryTranslator.cc.
References calcCSCSpecificBend(), calcDTSpecificBend(), calcRPCSpecificBend(), l1t::MuonTriggerPrimitive::kCSC, l1t::MuonTriggerPrimitive::kDT, l1t::MuonTriggerPrimitive::kRPC, and l1t::MuonTriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalEta | ( | const MuonTriggerPrimitive & | tp | ) | const |
Definition at line 28 of file GeometryTranslator.cc.
References calcCSCSpecificEta(), calcDTSpecificEta(), calcRPCSpecificEta(), l1t::MuonTriggerPrimitive::kCSC, l1t::MuonTriggerPrimitive::kDT, l1t::MuonTriggerPrimitive::kRPC, and l1t::MuonTriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalPhi | ( | const MuonTriggerPrimitive & | tp | ) | const |
Definition at line 46 of file GeometryTranslator.cc.
References calcCSCSpecificPhi(), calcDTSpecificPhi(), calcRPCSpecificPhi(), l1t::MuonTriggerPrimitive::kCSC, l1t::MuonTriggerPrimitive::kDT, l1t::MuonTriggerPrimitive::kRPC, and l1t::MuonTriggerPrimitive::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, l1t::MuonTriggerPrimitive::detId(), CSCPatternLUT::get2007Position(), l1t::MuonTriggerPrimitive::getCSCData(), isCSCCounterClockwise(), CSCConstants::KEY_ALCT_LAYER, l1t::MuonTriggerPrimitive::CSCData::keywire, PV3DBase< T, PVType, FrameType >::mag(), hltrates_dqm_sourceclient-live_cfg::offset, listBenchmarks::pattern, l1t::MuonTriggerPrimitive::CSCData::pattern, PV3DBase< T, PVType, FrameType >::phi(), l1t::MuonTriggerPrimitive::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, l1t::MuonTriggerPrimitive::detId(), l1t::MuonTriggerPrimitive::getRPCData(), and l1t::MuonTriggerPrimitive::RPCData::strip.
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().