#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 41 of file GeometryTranslator.h.
GeometryTranslator::GeometryTranslator | ( | ) |
Definition at line 24 of file GeometryTranslator.cc.
GeometryTranslator::~GeometryTranslator | ( | ) |
Definition at line 26 of file GeometryTranslator.cc.
|
private |
Definition at line 294 of file GeometryTranslator.cc.
References cmsswSequenceInfo::tp.
Referenced by calculateBendAngle().
|
private |
Definition at line 286 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), getCSCSpecificPoint(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalEta().
|
private |
Definition at line 290 of file GeometryTranslator.cc.
References getCSCSpecificPoint(), PV3DBase< T, PVType, FrameType >::phi(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalPhi().
|
private |
Definition at line 342 of file GeometryTranslator.cc.
References trklet::bend(), and cmsswSequenceInfo::tp.
Referenced by calculateBendAngle().
|
private |
Definition at line 337 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), PV3DBase< T, PVType, FrameType >::eta(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalEta().
|
private |
Definition at line 339 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), PV3DBase< T, PVType, FrameType >::phi(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalPhi().
|
private |
Definition at line 305 of file GeometryTranslator.cc.
References _geodt, DTGeometry::chamber(), M_PI, PV3DBase< T, PVType, FrameType >::mag(), DTChamberId::station(), PV3DBase< T, PVType, FrameType >::theta(), and cmsswSequenceInfo::tp.
Referenced by calcDTSpecificEta(), calcDTSpecificPhi(), and getGlobalPoint().
|
private |
Definition at line 196 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 188 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), getGEMSpecificPoint(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalEta().
|
private |
Definition at line 192 of file GeometryTranslator.cc.
References getGEMSpecificPoint(), PV3DBase< T, PVType, FrameType >::phi(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalPhi().
|
private |
Definition at line 170 of file GeometryTranslator.cc.
References cmsswSequenceInfo::tp.
Referenced by calculateBendAngle().
|
private |
Definition at line 162 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), getME0SpecificPoint(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalEta().
|
private |
Definition at line 166 of file GeometryTranslator.cc.
References getME0SpecificPoint(), PV3DBase< T, PVType, FrameType >::phi(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalPhi().
|
private |
Definition at line 222 of file GeometryTranslator.cc.
Referenced by calculateBendAngle().
|
private |
Definition at line 212 of file GeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), getRPCSpecificPoint(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalEta().
|
private |
Definition at line 216 of file GeometryTranslator.cc.
References getRPCSpecificPoint(), PV3DBase< T, PVType, FrameType >::phi(), and cmsswSequenceInfo::tp.
Referenced by calculateGlobalPhi().
double GeometryTranslator::calculateBendAngle | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 74 of file GeometryTranslator.cc.
References calcCSCSpecificBend(), calcDTSpecificBend(), calcGEMSpecificBend(), calcME0SpecificBend(), calcRPCSpecificBend(), L1TMuon::kCSC, L1TMuon::kDT, L1TMuon::kGEM, L1TMuon::kME0, L1TMuon::kRPC, dqmiodatasetharvest::nan, and cmsswSequenceInfo::tp.
double GeometryTranslator::calculateGlobalEta | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 28 of file GeometryTranslator.cc.
References calcCSCSpecificEta(), calcDTSpecificEta(), calcGEMSpecificEta(), calcME0SpecificEta(), calcRPCSpecificEta(), L1TMuon::kCSC, L1TMuon::kDT, L1TMuon::kGEM, L1TMuon::kME0, L1TMuon::kRPC, dqmiodatasetharvest::nan, and cmsswSequenceInfo::tp.
double GeometryTranslator::calculateGlobalPhi | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 51 of file GeometryTranslator.cc.
References calcCSCSpecificPhi(), calcDTSpecificPhi(), calcGEMSpecificPhi(), calcME0SpecificPhi(), calcRPCSpecificPhi(), L1TMuon::kCSC, L1TMuon::kDT, L1TMuon::kGEM, L1TMuon::kME0, L1TMuon::kRPC, dqmiodatasetharvest::nan, and cmsswSequenceInfo::tp.
void GeometryTranslator::checkAndUpdateGeometry | ( | const edm::EventSetup & | es | ) |
Definition at line 122 of file GeometryTranslator.cc.
References _geocsc, _geodt, _geogem, _geom_cache_id, _geome0, _georpc, _magfield, _magfield_cache_id, relativeConstraints::geom, edm::EventSetup::get(), and volumeBasedMagneticField_160812_cfi::magfield.
Referenced by EMTFSetup::reload().
|
inline |
|
private |
Definition at line 231 of file GeometryTranslator.cc.
References _geocsc, cms::cuda::assert(), CSCGeometry::chamber(), CSCPatternBank::getLegacyPosition(), triggerObjects_cff::id, isCSCCounterClockwise(), CSCConstants::KEY_ALCT_LAYER, phase1PixelTopology::layer, PV3DBase< T, PVType, FrameType >::mag(), hltrates_dqm_sourceclient-live_cfg::offset, topSingleLeptonDQM_PU_cfi::pattern, PV3DBase< T, PVType, FrameType >::phi(), digitizers_cfi::strip, PV3DBase< T, PVType, FrameType >::theta(), cmsswSequenceInfo::tp, and Geom::Phi< T1, Range >::value().
Referenced by calcCSCSpecificEta(), calcCSCSpecificPhi(), and getGlobalPoint().
|
inline |
|
inline |
|
private |
Definition at line 176 of file GeometryTranslator.cc.
References _geogem, cms::cuda::assert(), GEMEtaPartition::centreOfPad(), GEMGeometry::etaPartition(), runTauDisplay::gp, triggerObjects_cff::id, GeomDet::surface(), Surface::toGlobal(), and cmsswSequenceInfo::tp.
Referenced by calcGEMSpecificEta(), calcGEMSpecificPhi(), and getGlobalPoint().
GlobalPoint GeometryTranslator::getGlobalPoint | ( | const TriggerPrimitive & | tp | ) | const |
Definition at line 97 of file GeometryTranslator.cc.
References calcDTSpecificPoint(), getCSCSpecificPoint(), getGEMSpecificPoint(), getME0SpecificPoint(), getRPCSpecificPoint(), L1TMuon::kCSC, L1TMuon::kDT, L1TMuon::kGEM, L1TMuon::kME0, L1TMuon::kRPC, dqmiodatasetharvest::nan, runTheMatrix::ret, and cmsswSequenceInfo::tp.
Referenced by PrimitiveConversion::convert_csc(), PrimitiveConversion::convert_dt(), PrimitiveConversion::convert_gem(), PrimitiveConversion::convert_me0(), and PrimitiveConversion::convert_rpc().
|
inline |
|
inline |
|
private |
Definition at line 144 of file GeometryTranslator.cc.
References _geome0, cms::cuda::assert(), ME0EtaPartition::centreOfStrip(), ME0Geometry::chamber(), relativeConstraints::chamber, ME0Layer::etaPartition(), runTauDisplay::gp, triggerObjects_cff::id, GeomDet::surface(), Surface::toGlobal(), and cmsswSequenceInfo::tp.
Referenced by calcME0SpecificEta(), calcME0SpecificPhi(), and getGlobalPoint().
|
inline |
Definition at line 56 of file GeometryTranslator.h.
References _georpc.
Referenced by PrimitiveConversion::convert_rpc(), and EMTFSubsystemCollector::extractPrimitives().
|
private |
Definition at line 200 of file GeometryTranslator.cc.
References _georpc, cms::cuda::assert(), RPCRoll::centreOfStrip(), runTauDisplay::gp, triggerObjects_cff::id, RPCGeometry::roll(), digitizers_cfi::strip, GeomDet::surface(), Surface::toGlobal(), and cmsswSequenceInfo::tp.
Referenced by calcRPCSpecificEta(), calcRPCSpecificPhi(), and getGlobalPoint().
|
private |
Definition at line 296 of file GeometryTranslator.cc.
References funct::abs(), phase1PixelTopology::layer, M_PI, and me0TriggerPseudoDigis_cff::nStrips.
Referenced by getCSCSpecificPoint().
|
private |
Definition at line 65 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), getCSCGeometry(), and getCSCSpecificPoint().
|
private |
Definition at line 64 of file GeometryTranslator.h.
Referenced by calcDTSpecificPoint(), checkAndUpdateGeometry(), and getDTGeometry().
|
private |
Definition at line 67 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), getGEMGeometry(), and getGEMSpecificPoint().
|
private |
Definition at line 63 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 68 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), getME0Geometry(), and getME0SpecificPoint().
|
private |
Definition at line 66 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), getRPCGeometry(), and getRPCSpecificPoint().
|
private |
Definition at line 71 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), and getMagneticField().
|
private |
Definition at line 70 of file GeometryTranslator.h.
Referenced by checkAndUpdateGeometry().