#include <TrackingLayer.h>
Classes | |
struct | eqfct |
struct | hashfct |
Public Types | |
enum | Det { Det::UNKNOWN, Det::PXB, Det::PXD, Det::TIB, Det::TID, Det::TOB, Det::TEC } |
enum | Side { Side::BARREL, Side::NEG_ENDCAP, Side::POS_ENDCAP } |
Public Member Functions | |
unsigned int | getLayerNumber () const |
TrackingLayer::Side | getSide () const |
unsigned int | getSideNumber () const |
TrackingLayer::Det | getSubDet () const |
unsigned int | getSubDetNumber () const |
bool | operator< (const TrackingLayer &layer) const |
bool | operator== (const TrackingLayer &layer) const |
std::string | toIdString () const |
std::string | toString () const |
TrackingLayer () | |
Static Public Member Functions | |
static TrackingLayer | createFromDetId (const DetId &detId, const TrackerTopology &trackerTopology) |
static TrackingLayer | createFromString (std::string layerSpecification) |
Public Attributes | |
unsigned int | _layerNumber |
Side | _side |
Det | _subDet |
Static Public Attributes | |
static const eqfct | _eqfct |
static const hashfct | _hashfct |
Definition at line 9 of file TrackingLayer.h.
|
strong |
Enumerator | |
---|---|
UNKNOWN | |
PXB | |
PXD | |
TIB | |
TID | |
TOB | |
TEC |
Definition at line 36 of file TrackingLayer.h.
|
strong |
Enumerator | |
---|---|
BARREL | |
NEG_ENDCAP | |
POS_ENDCAP |
Definition at line 45 of file TrackingLayer.h.
TrackingLayer::TrackingLayer | ( | ) |
Definition at line 5 of file TrackingLayer.cc.
|
static |
Definition at line 13 of file TrackingLayer.cc.
References _layerNumber, _side, _subDet, BARREL, edm::hlt::Exception, NEG_ENDCAP, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, POS_ENDCAP, TrackerTopology::print(), PXB, TrackerTopology::pxbLayer(), PXD, TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), DetId::subdetId(), StripSubdetector::TEC, TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), StripSubdetector::TIB, TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), StripSubdetector::TOB, TOB, and TrackerTopology::tobLayer().
Referenced by TrajectorySeedHitCandidate::init().
|
static |
Definition at line 103 of file TrackingLayer.cc.
References _layerNumber, _side, _subDet, BARREL, edm::hlt::Exception, NEG_ENDCAP, POS_ENDCAP, PXB, PXD, TEC, TIB, TID, and TOB.
Referenced by TrajectorySeedProducer::TrajectorySeedProducer().
|
inline |
Definition at line 85 of file TrackingLayer.h.
References _layerNumber.
Referenced by TrajectorySeedHitCandidate::init(), TrajectorySeedHitCandidate::layerNumber(), TrackingLayer::hashfct::operator()(), TrackingLayer::eqfct::operator()(), and toIdString().
|
inline |
Definition at line 70 of file TrackingLayer.h.
References _side.
|
inline |
Definition at line 80 of file TrackingLayer.h.
References _side.
Referenced by TrackingLayer::hashfct::operator()(), TrackingLayer::eqfct::operator()(), and toIdString().
|
inline |
Definition at line 65 of file TrackingLayer.h.
References _subDet.
|
inline |
Definition at line 75 of file TrackingLayer.h.
References _subDet.
Referenced by TrackingLayer::hashfct::operator()(), TrackingLayer::eqfct::operator()(), TrajectorySeedHitCandidate::subDetId(), and toIdString().
|
inline |
|
inline |
std::string TrackingLayer::toIdString | ( | ) | const |
Definition at line 284 of file TrackingLayer.cc.
References getLayerNumber(), getSideNumber(), getSubDetNumber(), and contentValuesCheck::ss.
std::string TrackingLayer::toString | ( | ) | const |
Definition at line 241 of file TrackingLayer.cc.
References _layerNumber, _side, _subDet, BARREL, NEG_ENDCAP, POS_ENDCAP, PXB, PXD, contentValuesCheck::ss, TEC, TIB, TID, TOB, and UNKNOWN.
|
static |
Definition at line 52 of file TrackingLayer.h.
Referenced by operator==().
|
static |
Definition at line 53 of file TrackingLayer.h.
Referenced by operator<().
unsigned int TrackingLayer::_layerNumber |
Definition at line 54 of file TrackingLayer.h.
Referenced by createFromDetId(), createFromString(), getLayerNumber(), and toString().
Side TrackingLayer::_side |
Definition at line 51 of file TrackingLayer.h.
Referenced by createFromDetId(), createFromString(), getSide(), getSideNumber(), and toString().
Det TrackingLayer::_subDet |
Definition at line 50 of file TrackingLayer.h.
Referenced by createFromDetId(), createFromString(), getSubDet(), getSubDetNumber(), and toString().