#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 ME0Geometry & | getME0Geometry () 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< ME0Geometry > | _geome0 |
edm::ESHandle< RPCGeometry > | _georpc |
edm::ESHandle< MagneticField > | _magfield |
unsigned long long | _magfield_cache_id |
Definition at line 39 of file GeometryTranslator.h.
GeometryTranslator::GeometryTranslator | ( | ) |
Definition at line 25 of file GeometryTranslator.cc.
GeometryTranslator::~GeometryTranslator | ( | ) |
Definition at line 29 of file GeometryTranslator.cc.
|
private |
Definition at line 298 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::CSCData::bend, and L1TMuon::TriggerPrimitive::getCSCData().
Referenced by calculateBendAngle().
|
private |
Definition at line 288 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getCSCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 293 of file GeometryTranslator.cc.
References getCSCSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 352 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::DTData::bendingAngle, L1TMuon::TriggerPrimitive::getDTData(), and isCSCCounterClockwise().
Referenced by calculateBendAngle().
|
private |
Definition at line 341 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::eta().
Referenced by calculateGlobalEta().
|
private |
Definition at line 346 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 303 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 181 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::GEMData::bend, and L1TMuon::TriggerPrimitive::getGEMData().
Referenced by calculateBendAngle().
|
private |
Definition at line 171 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getGEMSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 176 of file GeometryTranslator.cc.
References getGEMSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 215 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 203 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getRPCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 208 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 75 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 33 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 54 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 117 of file GeometryTranslator.cc.
References _geocsc, _geodt, _geogem, _geom_cache_id, _geome0, _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 55 of file GeometryTranslator.h.
|
private |
Definition at line 225 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 56 of file GeometryTranslator.h.
|
inline |
Definition at line 53 of file GeometryTranslator.h.
|
private |
Definition at line 138 of file GeometryTranslator.cc.
References _geogem, _geome0, GEMEtaPartition::centreOfPad(), ME0EtaPartition::centreOfStrip(), L1TMuon::TriggerPrimitive::detId(), ME0Geometry::etaPartition(), GEMGeometry::etaPartition(), L1TMuon::TriggerPrimitive::getGEMData(), runTauDisplay::gp, triggerObjects_cff::id, L1TMuon::TriggerPrimitive::GEMData::isME0, L1TMuon::TriggerPrimitive::GEMData::pad_hi, L1TMuon::TriggerPrimitive::GEMData::pad_low, digitizers_cfi::strip, GeomDet::surface(), and Surface::toGlobal().
Referenced by calcGEMSpecificEta(), calcGEMSpecificPhi(), and getGlobalPoint().
GlobalPoint GeometryTranslator::getGlobalPoint | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 96 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 58 of file GeometryTranslator.h.
|
inline |
Definition at line 52 of file GeometryTranslator.h.
|
inline |
Definition at line 54 of file GeometryTranslator.h.
|
private |
Definition at line 187 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, GeomDet::surface(), and Surface::toGlobal().
Referenced by calcRPCSpecificEta(), calcRPCSpecificPhi(), and getGlobalPoint().
|
private |
Definition at line 359 of file GeometryTranslator.cc.
References funct::abs(), and M_PI.
Referenced by calcDTSpecificBend(), and getCSCSpecificPoint().
|
private |
Definition at line 66 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getCSCSpecificPoint().
|
private |
Definition at line 67 of file GeometryTranslator.h.
Referenced by calcDTSpecificPoint(), and checkAndUpdateGeometry().
|
private |
Definition at line 64 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getGEMSpecificPoint().
|
private |
Definition at line 62 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 63 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getGEMSpecificPoint().
|
private |
Definition at line 65 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getRPCSpecificPoint().
|
private |
Definition at line 70 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 69 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().