![]() |
![]() |
#include <GeomDetType.h>
Public Types | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Member Functions | |
GeomDetType (const std::string &name, SubDetector subdet) | |
bool | isBarrel () const |
bool | isCSC () const |
bool | isDT () const |
bool | isEndcap () const |
bool | isMuon () const |
bool | isRPC () const |
bool | isTracker () const |
bool | isTrackerPixel () const |
bool | isTrackerStrip () const |
const std::string & | name () const |
SubDetector | subDetector () const |
virtual const Topology & | topology () const =0 |
virtual | ~GeomDetType () |
Private Attributes | |
std::string | theName |
SubDetector | theSubDet |
Definition at line 10 of file GeomDetType.h.
Definition at line 12 of file GeomDetType.h.
GeomDetType::GeomDetType | ( | const std::string & | name, |
SubDetector | subdet | ||
) |
Definition at line 5 of file GeomDetType.cc.
GeomDetType::~GeomDetType | ( | ) | [virtual] |
Definition at line 9 of file GeomDetType.cc.
{}
bool GeomDetType::isBarrel | ( | ) | const |
Definition at line 13 of file GeomDetType.cc.
References isDT(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::RPCBarrel, theSubDet, sistripsummary::TIB, and sistripsummary::TOB.
Referenced by isEndcap(), and ClusterShapeHitFilter::isNormalOriented().
bool GeomDetType::isCSC | ( | ) | const |
bool GeomDetType::isDT | ( | ) | const |
Definition at line 41 of file GeomDetType.cc.
References GeomDetEnumerators::DT, and theSubDet.
Referenced by isBarrel().
bool GeomDetType::isEndcap | ( | ) | const |
Definition at line 18 of file GeomDetType.cc.
References isBarrel().
Referenced by KFSwitching1DUpdator::update().
{ return (!isBarrel()); }
bool GeomDetType::isMuon | ( | ) | const |
bool GeomDetType::isRPC | ( | ) | const |
Definition at line 52 of file GeomDetType.cc.
References GeomDetEnumerators::RPCBarrel, GeomDetEnumerators::RPCEndcap, and theSubDet.
Referenced by isMuon().
bool GeomDetType::isTracker | ( | ) | const |
Definition at line 35 of file GeomDetType.cc.
References isTrackerPixel(), and isTrackerStrip().
Referenced by TrackerDpgAnalysis::analyze().
{ return ( isTrackerStrip() || isTrackerPixel() ); }
bool GeomDetType::isTrackerPixel | ( | ) | const |
Definition at line 30 of file GeomDetType.cc.
References GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, and theSubDet.
Referenced by Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), Chi2Switching1DEstimator::estimate(), Chi2SwitchingEstimator::estimate(), isTracker(), KFSwitching1DUpdator::update(), and KFSwitchingUpdator::update().
{ return (theSubDet == PixelBarrel || theSubDet == PixelEndcap); }
bool GeomDetType::isTrackerStrip | ( | ) | const |
Definition at line 24 of file GeomDetType.cc.
References sistripsummary::TEC, theSubDet, sistripsummary::TIB, sistripsummary::TID, and sistripsummary::TOB.
Referenced by isTracker().
const std::string& GeomDetType::name | ( | void | ) | const [inline] |
SubDetector GeomDetType::subDetector | ( | ) | const [inline] |
Definition at line 22 of file GeomDetType.h.
References theSubDet.
Referenced by PixelCPEBase::setTheDet(), GeomDetUnit::subDetector(), and SiTrivialInduceChargeOnStrips::typeOf().
{return theSubDet;}
virtual const Topology& GeomDetType::topology | ( | ) | const [pure virtual] |
Implemented in CSCChamberSpecs, DTLayerType, RPCRollSpecs, PixelGeomDetType, and StripGeomDetType.
Referenced by TrackerValidationVariables::fillHitQuantities(), Strip1DMeasurementTransformator::init(), and SiClusterTranslator::produce().
std::string GeomDetType::theName [private] |
Reimplemented in CSCChamberSpecs.
Definition at line 37 of file GeomDetType.h.
Referenced by name().
SubDetector GeomDetType::theSubDet [private] |
Definition at line 38 of file GeomDetType.h.
Referenced by isBarrel(), isCSC(), isDT(), isMuon(), isRPC(), isTrackerPixel(), isTrackerStrip(), and subDetector().