#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 () | |
const CSCGeometry & | getCSCGeometry () const |
const DTGeometry & | getDTGeometry () const |
const GEMGeometry & | getGEMGeometry () const |
GlobalPoint | getGlobalPoint (const TriggerPrimitive &) const |
const MagneticField & | getMagneticField () const |
const RPCGeometry & | getRPCGeometry () const |
~GeometryTranslator () | |
Private Attributes | |
edm::ESHandle< CSCGeometry > | _geocsc |
edm::ESHandle< DTGeometry > | _geodt |
edm::ESHandle< GEMGeometry > | _geogem |
unsigned long long | _geom_cache_id |
edm::ESHandle< RPCGeometry > | _georpc |
edm::ESHandle< MagneticField > | _magfield |
unsigned long long | _magfield_cache_id |
Definition at line 38 of file GeometryTranslator.h.
GeometryTranslator::GeometryTranslator | ( | ) |
Definition at line 24 of file GeometryTranslator.cc.
GeometryTranslator::~GeometryTranslator | ( | ) |
Definition at line 28 of file GeometryTranslator.cc.
|
private |
Definition at line 277 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::CSCData::bend, and L1TMuon::TriggerPrimitive::getCSCData().
Referenced by calculateBendAngle().
|
private |
Definition at line 267 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getCSCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 272 of file GeometryTranslator.cc.
References getCSCSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 331 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::getDTData(), and isCSCCounterClockwise().
Referenced by calculateBendAngle().
|
private |
Definition at line 320 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::eta().
Referenced by calculateGlobalEta().
|
private |
Definition at line 325 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 282 of file GeometryTranslator.cc.
References _geodt, DTGeometry::chamber(), L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getDTData(), M_PI, PV3DBase< T, PVType, FrameType >::mag(), 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(), calcDTSpecificPhi(), and getGlobalPoint().
|
private |
Definition at line 161 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 149 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getGEMSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 154 of file GeometryTranslator.cc.
References getGEMSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 194 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 182 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getRPCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 187 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 74 of file GeometryTranslator.cc.
References calcCSCSpecificBend(), calcDTSpecificBend(), calcGEMSpecificBend(), calcRPCSpecificBend(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalEta | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 32 of file GeometryTranslator.cc.
References calcCSCSpecificEta(), calcDTSpecificEta(), calcGEMSpecificEta(), calcRPCSpecificEta(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalPhi | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 53 of file GeometryTranslator.cc.
References calcCSCSpecificPhi(), calcDTSpecificPhi(), calcGEMSpecificPhi(), calcRPCSpecificPhi(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
void GeometryTranslator::checkAndUpdateGeometry | ( | const edm::EventSetup & | es | ) |
Definition at line 116 of file GeometryTranslator.cc.
References _geocsc, _geodt, _geogem, _geom_cache_id, _georpc, _magfield, _magfield_cache_id, edm::eventsetup::EventSetupRecord::cacheIdentifier(), relativeConstraints::geom, edm::EventSetup::get(), and edm::eventsetup::EventSetupRecord::get().
Referenced by TrackFinder::process().
|
inline |
Definition at line 53 of file GeometryTranslator.h.
|
private |
Definition at line 204 of file GeometryTranslator.cc.
References _geocsc, CSCGeometry::chamber(), L1TMuon::TriggerPrimitive::detId(), CSCPatternLUT::get2007Position(), L1TMuon::TriggerPrimitive::getCSCData(), triggerObjects_cff::id, isCSCCounterClockwise(), CSCConstants::KEY_ALCT_LAYER, L1TMuon::TriggerPrimitive::CSCData::keywire, PV3DBase< T, PVType, FrameType >::mag(), PFRecoTauDiscriminationByIsolation_cfi::offset, listBenchmarks::pattern, L1TMuon::TriggerPrimitive::CSCData::pattern, PV3DBase< T, PVType, FrameType >::phi(), digitizers_cfi::strip, L1TMuon::TriggerPrimitive::CSCData::strip, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by calcCSCSpecificEta(), calcCSCSpecificPhi(), and getGlobalPoint().
|
inline |
Definition at line 54 of file GeometryTranslator.h.
|
inline |
Definition at line 51 of file GeometryTranslator.h.
|
private |
Definition at line 136 of file GeometryTranslator.cc.
References _geogem, GEMEtaPartition::centreOfPad(), L1TMuon::TriggerPrimitive::detId(), GEMGeometry::etaPartition(), L1TMuon::TriggerPrimitive::getGEMData(), runTauDisplay::gp, triggerObjects_cff::id, L1TMuon::TriggerPrimitive::GEMData::pad, and GeomDet::toGlobal().
Referenced by calcGEMSpecificEta(), calcGEMSpecificPhi(), and getGlobalPoint().
GlobalPoint GeometryTranslator::getGlobalPoint | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 95 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), getCSCSpecificPoint(), getGEMSpecificPoint(), getRPCSpecificPoint(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, and L1TMuon::TriggerPrimitive::subsystem().
Referenced by PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_gem(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 56 of file GeometryTranslator.h.
|
inline |
Definition at line 52 of file GeometryTranslator.h.
|
private |
Definition at line 167 of file GeometryTranslator.cc.
References _georpc, RPCRoll::centreOfStrip(), L1TMuon::TriggerPrimitive::detId(), L1TMuon::TriggerPrimitive::getRPCData(), runTauDisplay::gp, triggerObjects_cff::id, RPCGeometry::roll(), digitizers_cfi::strip, L1TMuon::TriggerPrimitive::RPCData::strip_hi, L1TMuon::TriggerPrimitive::RPCData::strip_low, and GeomDet::toGlobal().
Referenced by calcRPCSpecificEta(), calcRPCSpecificPhi(), and getGlobalPoint().
|
private |
Definition at line 338 of file GeometryTranslator.cc.
References funct::abs(), and M_PI.
Referenced by calcDTSpecificBend(), and getCSCSpecificPoint().
|
private |
Definition at line 63 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getCSCSpecificPoint().
|
private |
Definition at line 64 of file GeometryTranslator.h.
Referenced by calcDTSpecificPoint(), and checkAndUpdateGeometry().
|
private |
Definition at line 61 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getGEMSpecificPoint().
|
private |
Definition at line 60 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 62 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getRPCSpecificPoint().
|
private |
Definition at line 67 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 66 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().