CMS 3D CMS Logo

HcalDetIdAssociator Class Reference

#include <TrackingTools/TrackAssociator/interface/HcalDetIdAssociator.h>

Inheritance diagram for HcalDetIdAssociator:

CaloDetIdAssociator DetIdAssociator

List of all members.

Public Member Functions

 HcalDetIdAssociator (const edm::ParameterSet &pSet)
 HcalDetIdAssociator ()

Protected Member Functions

virtual std::set< DetIdgetASetOfValidDetIds () 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.

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

HcalDetIdAssociator::HcalDetIdAssociator ( const edm::ParameterSet pSet  )  [inline]

Definition at line 28 of file HcalDetIdAssociator.h.

00028 :CaloDetIdAssociator(pSet){};


Member Function Documentation

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

Reimplemented from CaloDetIdAssociator.

Definition at line 32 of file HcalDetIdAssociator.h.

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

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


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