CMS 3D CMS Logo

Public Member Functions | Protected Member Functions

HcalDetIdAssociator Class Reference

#include <HcalDetIdAssociator.h>

Inheritance diagram for HcalDetIdAssociator:
CaloDetIdAssociator DetIdAssociator

List of all members.

Public Member Functions

 HcalDetIdAssociator ()
 HcalDetIdAssociator (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

Detailed Description

Definition at line 24 of file HcalDetIdAssociator.h.


Constructor & Destructor Documentation

HcalDetIdAssociator::HcalDetIdAssociator ( ) [inline]

Definition at line 26 of file HcalDetIdAssociator.h.

:CaloDetIdAssociator(72, 70 ,0.087){};
HcalDetIdAssociator::HcalDetIdAssociator ( const edm::ParameterSet pSet) [inline]

Definition at line 28 of file HcalDetIdAssociator.h.


Member Function Documentation

virtual const unsigned int HcalDetIdAssociator::getNumberOfSubdetectors ( ) const [inline, protected, virtual]

Reimplemented from DetIdAssociator.

Definition at line 34 of file HcalDetIdAssociator.h.

{ return 2;}
virtual const std::vector<DetId>& HcalDetIdAssociator::getValidDetIds ( unsigned int  subDetectorIndex) const [inline, protected, virtual]

Reimplemented from CaloDetIdAssociator.

Definition at line 35 of file HcalDetIdAssociator.h.

References CaloDetIdAssociator::geometry_, CaloGeometry::getValidDetIds(), DetId::Hcal, HcalBarrel, and HcalEndcap.

                                                                                       {
     if ( subDetectorIndex == 0 )
       return geometry_->getValidDetIds(DetId::Hcal, HcalBarrel);//HB
     else
       return geometry_->getValidDetIds(DetId::Hcal, HcalEndcap);//HE
   };
virtual const char* HcalDetIdAssociator::name ( void  ) const [inline, virtual]

Reimplemented from CaloDetIdAssociator.

Definition at line 30 of file HcalDetIdAssociator.h.

{ return "HCAL"; }