#include <PreshowerDetIdAssociator.h>
Public Member Functions | |
virtual const char * | name () const |
PreshowerDetIdAssociator () | |
PreshowerDetIdAssociator (const edm::ParameterSet &pSet) | |
Protected Member Functions | |
virtual const std::vector < DetId > & | getValidDetIds (unsigned int subDetectorIndex) const |
Definition at line 24 of file PreshowerDetIdAssociator.h.
PreshowerDetIdAssociator::PreshowerDetIdAssociator | ( | ) | [inline] |
Definition at line 26 of file PreshowerDetIdAssociator.h.
:CaloDetIdAssociator(30,60,0.1){};
PreshowerDetIdAssociator::PreshowerDetIdAssociator | ( | const edm::ParameterSet & | pSet | ) | [inline] |
Definition at line 28 of file PreshowerDetIdAssociator.h.
:CaloDetIdAssociator(pSet){};
virtual const std::vector<DetId>& PreshowerDetIdAssociator::getValidDetIds | ( | unsigned int | subDetectorIndex | ) | const [inline, protected, virtual] |
Reimplemented from CaloDetIdAssociator.
Definition at line 33 of file PreshowerDetIdAssociator.h.
References DetId::Ecal, EcalPreshower, Exception, CaloDetIdAssociator::geometry_, and CaloGeometry::getValidDetIds().
{ if ( subDetectorIndex != 0 ) throw cms::Exception("FatalError") << "Preshower has only one sub-detector for geometry. Abort."; return geometry_->getValidDetIds(DetId::Ecal, EcalPreshower); };
virtual const char* PreshowerDetIdAssociator::name | ( | void | ) | const [inline, virtual] |
Reimplemented from CaloDetIdAssociator.
Definition at line 30 of file PreshowerDetIdAssociator.h.
{ return "Preshower"; }