CMS 3D CMS Logo

HHcalDetIdAssociator Class Reference

#include <Calibration/Tools/interface/HcalDetIdAssociator.h>

Inheritance diagram for HHcalDetIdAssociator:

HCaloDetIdAssociator HDetIdAssociator

List of all members.

Public Member Functions

 HHcalDetIdAssociator ()

Protected Member Functions

virtual std::set< DetIdgetASetOfValidDetIds ()


Detailed Description

Definition at line 24 of file HcalDetIdAssociator.h.


Constructor & Destructor Documentation

HHcalDetIdAssociator::HHcalDetIdAssociator (  )  [inline]

Definition at line 26 of file HcalDetIdAssociator.h.

00026 :HCaloDetIdAssociator(72,70,0.087){};


Member Function Documentation

virtual std::set<DetId> HHcalDetIdAssociator::getASetOfValidDetIds (  )  [inline, protected, virtual]

Reimplemented from HCaloDetIdAssociator.

Definition at line 28 of file HcalDetIdAssociator.h.

References HCaloDetIdAssociator::geometry_, CaloGeometry::getValidDetIds(), DetId::Hcal, and it.

00028                                                {
00029       std::set<DetId> setOfValidIds;
00030       std::vector<DetId> vectOfValidIds = geometry_->getValidDetIds(DetId::Hcal, 1);//HB
00031       for(std::vector<DetId>::const_iterator it = vectOfValidIds.begin(); it != vectOfValidIds.end(); ++it)
00032          setOfValidIds.insert(*it);
00033 
00034       vectOfValidIds.clear();
00035       vectOfValidIds = geometry_->getValidDetIds(DetId::Hcal, 2);//HE
00036       for(std::vector<DetId>::const_iterator it = vectOfValidIds.begin(); it != vectOfValidIds.end(); ++it)
00037          setOfValidIds.insert(*it);
00038 
00039       return setOfValidIds;
00040 
00041    }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:24:13 2009 for CMSSW by  doxygen 1.5.4