CMS 3D CMS Logo

Public Member Functions | Protected Member Functions

PreshowerDetIdAssociator Class Reference

#include <PreshowerDetIdAssociator.h>

Inheritance diagram for PreshowerDetIdAssociator:
CaloDetIdAssociator DetIdAssociator

List of all members.

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

Detailed Description

Definition at line 24 of file PreshowerDetIdAssociator.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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"; }