#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 28 of file TTGeometryTranslator.h.
TTGeometryTranslator::TTGeometryTranslator | ( | ) |
Definition at line 23 of file TTGeometryTranslator.cc.
TTGeometryTranslator::~TTGeometryTranslator | ( | ) |
Definition at line 27 of file TTGeometryTranslator.cc.
|
private |
Definition at line 193 of file TTGeometryTranslator.cc.
References L1TMuon::TTTriggerPrimitive::TTData::bend, and L1TMuon::TTTriggerPrimitive::getTTData().
Referenced by calculateBendAngle().
|
private |
Definition at line 183 of file TTGeometryTranslator.cc.
References PV3DBase< T, PVType, FrameType >::eta(), and getTTSpecificPoint().
Referenced by calculateGlobalEta().
|
private |
Definition at line 188 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 123 of file TTGeometryTranslator.cc.
References calcTTSpecificBend(), L1TMuon::TTTriggerPrimitive::kTT, and L1TMuon::TTTriggerPrimitive::subsystem().
double TTGeometryTranslator::calculateGlobalEta | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 99 of file TTGeometryTranslator.cc.
References calcTTSpecificEta(), L1TMuon::TTTriggerPrimitive::kTT, and L1TMuon::TTTriggerPrimitive::subsystem().
double TTGeometryTranslator::calculateGlobalPhi | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 111 of file TTGeometryTranslator.cc.
References calcTTSpecificPhi(), L1TMuon::TTTriggerPrimitive::kTT, and L1TMuon::TTTriggerPrimitive::subsystem().
void TTGeometryTranslator::checkAndUpdateGeometry | ( | const edm::EventSetup & | es | ) |
Definition at line 147 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(), and edm::eventsetup::EventSetupRecord::get().
GlobalPoint TTGeometryTranslator::getGlobalPoint | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 135 of file TTGeometryTranslator.cc.
References getTTSpecificPoint(), L1TMuon::TTTriggerPrimitive::kTT, and L1TMuon::TTTriggerPrimitive::subsystem().
Referenced by TTPrimitiveConversion::convert_tt().
|
inline |
Definition at line 54 of file TTGeometryTranslator.h.
|
inline |
Definition at line 52 of file TTGeometryTranslator.h.
|
inline |
Definition at line 53 of file TTGeometryTranslator.h.
|
private |
Definition at line 171 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 30 of file TTGeometryTranslator.cc.
References L1TMuon::TTTriggerPrimitive::detId(), isBarrel(), DetId::subdetId(), and StripSubdetector::TOB.
Referenced by isBarrel().
bool TTGeometryTranslator::isPSModule | ( | const TTTriggerPrimitive & | tp | ) | const |
Definition at line 37 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 62 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 86 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 45 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 74 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 59 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), getTTSpecificPoint(), and isPSModule().
|
private |
Definition at line 58 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 65 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 64 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().
|
private |
Definition at line 62 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry(), layer(), module(), region(), and ring().
|
private |
Definition at line 61 of file TTGeometryTranslator.h.
Referenced by checkAndUpdateGeometry().