#include <TrackingTools/TrackAssociator/interface/HcalDetIdAssociator.h>
Public Member Functions | |
HcalDetIdAssociator (const edm::ParameterSet &pSet) | |
HcalDetIdAssociator () | |
Protected Member Functions | |
virtual std::set< DetId > | getASetOfValidDetIds () const |
Definition at line 24 of file HcalDetIdAssociator.h.
HcalDetIdAssociator::HcalDetIdAssociator | ( | ) | [inline] |
HcalDetIdAssociator::HcalDetIdAssociator | ( | const edm::ParameterSet & | pSet | ) | [inline] |
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 };