#include <EcalDetIdAssociator.h>
Public Member Functions | |
EcalDetIdAssociator () | |
EcalDetIdAssociator (const edm::ParameterSet &pSet) | |
virtual const char * | name () const |
Protected Member Functions | |
virtual const unsigned int | getNumberOfSubdetectors () const |
virtual const std::vector < DetId > & | getValidDetIds (unsigned int subDetectorIndex) const |
Definition at line 24 of file EcalDetIdAssociator.h.
EcalDetIdAssociator::EcalDetIdAssociator | ( | ) | [inline] |
Definition at line 26 of file EcalDetIdAssociator.h.
:CaloDetIdAssociator(360,300,0.02){};
EcalDetIdAssociator::EcalDetIdAssociator | ( | const edm::ParameterSet & | pSet | ) | [inline] |
Definition at line 28 of file EcalDetIdAssociator.h.
:CaloDetIdAssociator(pSet){};
virtual const unsigned int EcalDetIdAssociator::getNumberOfSubdetectors | ( | ) | const [inline, protected, virtual] |
Reimplemented from DetIdAssociator.
Definition at line 34 of file EcalDetIdAssociator.h.
{ return 2;}
virtual const std::vector<DetId>& EcalDetIdAssociator::getValidDetIds | ( | unsigned int | subDetectorIndex | ) | const [inline, protected, virtual] |
Reimplemented from CaloDetIdAssociator.
Definition at line 35 of file EcalDetIdAssociator.h.
References DetId::Ecal, EcalBarrel, EcalEndcap, CaloDetIdAssociator::geometry_, and CaloGeometry::getValidDetIds().
{ if ( subDetectorIndex == 0 ) return geometry_->getValidDetIds(DetId::Ecal, EcalBarrel);//EB else return geometry_->getValidDetIds(DetId::Ecal, EcalEndcap);//EE };
virtual const char* EcalDetIdAssociator::name | ( | void | ) | const [inline, virtual] |
Reimplemented from CaloDetIdAssociator.
Definition at line 30 of file EcalDetIdAssociator.h.
{ return "ECAL"; }