#include <HcalDetIdAssociator.h>
Public Member Functions | |
HHcalDetIdAssociator () | |
Protected Member Functions | |
virtual std::set< DetId > | getASetOfValidDetIds () |
Definition at line 24 of file HcalDetIdAssociator.h.
HHcalDetIdAssociator::HHcalDetIdAssociator | ( | ) | [inline] |
Definition at line 26 of file HcalDetIdAssociator.h.
:HCaloDetIdAssociator(72,70,0.087){};
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(), and DetId::Hcal.
{ std::set<DetId> setOfValidIds; const std::vector<DetId>& vectOfValidIds = geometry_->getValidDetIds(DetId::Hcal, 1);//HB for(std::vector<DetId>::const_iterator it = vectOfValidIds.begin(); it != vectOfValidIds.end(); ++it) setOfValidIds.insert(*it); // vectOfValidIds.clear(); const std::vector<DetId>& vectOfValidIdsHE = geometry_->getValidDetIds(DetId::Hcal, 2);//HE for(std::vector<DetId>::const_iterator it = vectOfValidIdsHE.begin(); it != vectOfValidIdsHE.end(); ++it) setOfValidIds.insert(*it); return setOfValidIds; }