#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 38 of file GeometryTranslator.h.
GeometryTranslator::GeometryTranslator | ( | ) |
Definition at line 25 of file GeometryTranslator.cc.
GeometryTranslator::~GeometryTranslator | ( | ) |
Definition at line 27 of file GeometryTranslator.cc.
|
private |
Definition at line 266 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::CSCData::bend, and L1TMuon::TriggerPrimitive::getCSCData().
Referenced by calculateBendAngle().
|
private |
Definition at line 258 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getCSCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 262 of file GeometryTranslator.cc.
References getCSCSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 305 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::DTData::bendingAngle, and L1TMuon::TriggerPrimitive::getDTData().
Referenced by calculateBendAngle().
|
private |
Definition at line 300 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::eta().
Referenced by calculateGlobalEta().
|
private |
Definition at line 302 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 268 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 171 of file GeometryTranslator.cc.
References L1TMuon::TriggerPrimitive::GEMData::bend, and L1TMuon::TriggerPrimitive::getGEMData().
Referenced by calculateBendAngle().
|
private |
Definition at line 163 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getGEMSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 167 of file GeometryTranslator.cc.
References getGEMSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
|
private |
Definition at line 198 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 188 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getRPCSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 192 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 69 of file GeometryTranslator.cc.
References calcCSCSpecificBend(), calcDTSpecificBend(), calcGEMSpecificBend(), calcRPCSpecificBend(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, dqmiodatasetharvest::nan, and L1TMuon::TriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalEta | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 29 of file GeometryTranslator.cc.
References calcCSCSpecificEta(), calcDTSpecificEta(), calcGEMSpecificEta(), calcRPCSpecificEta(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, dqmiodatasetharvest::nan, and L1TMuon::TriggerPrimitive::subsystem().
double GeometryTranslator::calculateGlobalPhi | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 49 of file GeometryTranslator.cc.
References calcCSCSpecificPhi(), calcDTSpecificPhi(), calcGEMSpecificPhi(), calcRPCSpecificPhi(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, dqmiodatasetharvest::nan, and L1TMuon::TriggerPrimitive::subsystem().
void GeometryTranslator::checkAndUpdateGeometry | ( | const edm::EventSetup & | es | ) |
Definition at line 111 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(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), and volumeBasedMagneticField_1103l_cfi::magfield.
Referenced by TrackFinder::process().
|
inline |
Definition at line 54 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(), hltrates_dqm_sourceclient-live_cfg::offset, topSingleLeptonDQM_PU_cfi::pattern, L1TMuon::TriggerPrimitive::CSCData::pattern, PV3DBase< T, PVType, FrameType >::phi(), digitizers_cfi::strip, L1TMuon::TriggerPrimitive::CSCData::strip, PV3DBase< T, PVType, FrameType >::theta(), and Geom::Phi< T1, Range >::value().
Referenced by calcCSCSpecificEta(), calcCSCSpecificPhi(), and getGlobalPoint().
|
inline |
Definition at line 55 of file GeometryTranslator.h.
|
inline |
Definition at line 52 of file GeometryTranslator.h.
|
private |
Definition at line 131 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 89 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), getCSCSpecificPoint(), getGEMSpecificPoint(), getRPCSpecificPoint(), L1TMuon::TriggerPrimitive::kCSC, L1TMuon::TriggerPrimitive::kDT, L1TMuon::TriggerPrimitive::kGEM, L1TMuon::TriggerPrimitive::kRPC, dqmiodatasetharvest::nan, runTheMatrix::ret, and L1TMuon::TriggerPrimitive::subsystem().
Referenced by PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_gem(), and PrimitiveConversion::convert_rpc().
|
inline |
Definition at line 57 of file GeometryTranslator.h.
|
inline |
Definition at line 51 of file GeometryTranslator.h.
|
inline |
Definition at line 53 of file GeometryTranslator.h.
|
private |
Definition at line 173 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 311 of file GeometryTranslator.cc.
References funct::abs(), M_PI, and me0TriggerPseudoDigis_cff::nStrips.
Referenced by getCSCSpecificPoint().
|
private |
Definition at line 65 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getCSCSpecificPoint().
|
private |
Definition at line 66 of file GeometryTranslator.h.
Referenced by calcDTSpecificPoint(), and checkAndUpdateGeometry().
|
private |
Definition at line 63 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getGEMSpecificPoint().
|
private |
Definition at line 61 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 62 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getGEMSpecificPoint().
|
private |
Definition at line 64 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getRPCSpecificPoint().
|
private |
Definition at line 69 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 68 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().