#include <TTGeometryTranslator.h>
Public Member Functions | |
double | calculateBendAngle (const TTTriggerPrimitive &) const |
double | calculateGlobalEta (const TTTriggerPrimitive &) const |
double | calculateGlobalPhi (const TTTriggerPrimitive &) const |
void | checkAndUpdateGeometry (const edm::EventSetup &) |
GlobalPoint | getGlobalPoint (const TTTriggerPrimitive &) const |
const MagneticField & | getMagneticField () const |
const TrackerGeometry & | getTrackerGeometry () const |
const TrackerTopology & | getTrackerTopology () const |
bool | isBarrel (const TTTriggerPrimitive &) const |
bool | isPSModule (const TTTriggerPrimitive &) const |
int | layer (const TTTriggerPrimitive &) const |
int | module (const TTTriggerPrimitive &) const |
int | region (const TTTriggerPrimitive &) const |
int | ring (const TTTriggerPrimitive &) const |
TTGeometryTranslator () | |
~TTGeometryTranslator () | |
Private Member Functions | |
double | calcTTSpecificBend (const TTTriggerPrimitive &) const |
double | calcTTSpecificEta (const TTTriggerPrimitive &) const |
double | calcTTSpecificPhi (const TTTriggerPrimitive &) const |
GlobalPoint | getTTSpecificPoint (const TTTriggerPrimitive &) const |
Private Attributes | |
edm::ESHandle< TrackerGeometry > | _geom |
unsigned long long | _geom_cache_id |
edm::ESHandle< MagneticField > | _magfield |
unsigned long long | _magfield_cache_id |
edm::ESHandle< TrackerTopology > | _topo |
unsigned long long | _topo_cache_id |
Definition at line 27 of file TTGeometryTranslator.h.
TTGeometryTranslator::TTGeometryTranslator | ( | ) |
Definition at line 22 of file TTGeometryTranslator.cc.
TTGeometryTranslator::~TTGeometryTranslator | ( | ) |
Definition at line 24 of file TTGeometryTranslator.cc.
|
private |
Definition at line 183 of file TTGeometryTranslator.cc.
References L1TMuon::TTTriggerPrimitive::TTData::bend, and L1TMuon::TTTriggerPrimitive::getTTData().
Referenced by calculateBendAngle().
|
private |
Definition at line 175 of file TTGeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getTTSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 179 of file TTGeometryTranslator.cc.
References getTTSpecificPoint(), and PV3DBase< T, PVType, FrameType >::phi().
Referenced by calculateGlobalPhi().
double TTGeometryTranslator::calculateBendAngle | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 117 of file TTGeometryTranslator.cc.
References calcTTSpecificBend(), L1TMuon::TTTriggerPrimitive::kTT, dqmiodatasetharvest::nan, and L1TMuon::TTTriggerPrimitive::subsystem().
double TTGeometryTranslator::calculateGlobalEta | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 95 of file TTGeometryTranslator.cc.
References calcTTSpecificEta(), L1TMuon::TTTriggerPrimitive::kTT, dqmiodatasetharvest::nan, and L1TMuon::TTTriggerPrimitive::subsystem().
double TTGeometryTranslator::calculateGlobalPhi | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 106 of file TTGeometryTranslator.cc.
References calcTTSpecificPhi(), L1TMuon::TTTriggerPrimitive::kTT, dqmiodatasetharvest::nan, and L1TMuon::TTTriggerPrimitive::subsystem().
void TTGeometryTranslator::checkAndUpdateGeometry | ( | const edm::EventSetup & | es | ) |
Definition at line 141 of file TTGeometryTranslator.cc.
References _geom, _geom_cache_id, _magfield, _magfield_cache_id, _topo, _topo_cache_id, edm::eventsetup::EventSetupRecord::cacheIdentifier(), relativeConstraints::geom, edm::EventSetup::get(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), and volumeBasedMagneticField_1103l_cfi::magfield.
GlobalPoint TTGeometryTranslator::getGlobalPoint | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 128 of file TTGeometryTranslator.cc.
References getTTSpecificPoint(), L1TMuon::TTTriggerPrimitive::kTT, dqmiodatasetharvest::nan, runTheMatrix::ret, and L1TMuon::TTTriggerPrimitive::subsystem().
Referenced by TTPrimitiveConversion::convert_tt().
|
inline |
Definition at line 53 of file TTGeometryTranslator.h.
|
inline |
Definition at line 51 of file TTGeometryTranslator.h.
|
inline |
Definition at line 52 of file TTGeometryTranslator.h.
|
private |
Definition at line 164 of file TTGeometryTranslator.cc.
References _geom, L1TMuon::TTTriggerPrimitive::TTData::col_f, L1TMuon::TTTriggerPrimitive::detId(), L1TMuon::TTTriggerPrimitive::getTTData(), runTauDisplay::gp, TrackerGeometry::idToDetUnit(), Topology::localPosition(), L1TMuon::TTTriggerPrimitive::TTData::row_f, PixelGeomDetUnit::specificTopology(), GeomDet::surface(), and Surface::toGlobal().
Referenced by calcTTSpecificEta(), calcTTSpecificPhi(), and getGlobalPoint().
bool TTGeometryTranslator::isBarrel | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 26 of file TTGeometryTranslator.cc.
References L1TMuon::TTTriggerPrimitive::detId(), DetId::subdetId(), and StripSubdetector::TOB.
bool TTGeometryTranslator::isPSModule | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 33 of file TTGeometryTranslator.cc.
References _geom, L1TMuon::TTTriggerPrimitive::detId(), TrackerGeometry::getDetectorType(), TrackerGeometry::Ph2PSP, and TrackerGeometry::Ph2PSS.
int TTGeometryTranslator::layer | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 59 of file TTGeometryTranslator.cc.
References _topo, L1TMuon::TTTriggerPrimitive::detId(), TrackerTopology::layer(), DetId::subdetId(), StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by TTPrimitiveConversion::convert_tt(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
int TTGeometryTranslator::module | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 83 of file TTGeometryTranslator.cc.
References _topo, L1TMuon::TTTriggerPrimitive::detId(), TrackerTopology::module(), DetId::subdetId(), StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by TTPrimitiveConversion::convert_tt().
int TTGeometryTranslator::region | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 42 of file TTGeometryTranslator.cc.
References _topo, L1TMuon::TTTriggerPrimitive::detId(), DetId::subdetId(), StripSubdetector::TID, TrackerTopology::tidSide(), and StripSubdetector::TOB.
Referenced by TTPrimitiveConversion::convert_tt().
int TTGeometryTranslator::ring | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 71 of file TTGeometryTranslator.cc.
References _topo, L1TMuon::TTTriggerPrimitive::detId(), DetId::subdetId(), StripSubdetector::TID, TrackerTopology::tidRing(), StripSubdetector::TOB, and TrackerTopology::tobRod().
Referenced by TTPrimitiveConversion::convert_tt(), and geometryXMLparser.CSCAlignable::index().
|
private |
Definition at line 58 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), getTTSpecificPoint(), and isPSModule().
|
private |
Definition at line 57 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 64 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 63 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 61 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), layer(), module(), region(), and ring().
|
private |
Definition at line 60 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().