#include <EcalDetIdAssociator.h>
Public Member Functions | |
HEcalDetIdAssociator () | |
Protected Member Functions | |
virtual std::set< DetId > | getASetOfValidDetIds () |
Definition at line 22 of file EcalDetIdAssociator.h.
HEcalDetIdAssociator::HEcalDetIdAssociator | ( | ) | [inline] |
Definition at line 24 of file EcalDetIdAssociator.h.
:HCaloDetIdAssociator(180,150,0.04){};
virtual std::set<DetId> HEcalDetIdAssociator::getASetOfValidDetIds | ( | ) | [inline, protected, virtual] |
Reimplemented from HCaloDetIdAssociator.
Definition at line 26 of file EcalDetIdAssociator.h.
References DetId::Ecal, HCaloDetIdAssociator::geometry_, and CaloGeometry::getValidDetIds().
{ std::set<DetId> setOfValidIds; const std::vector<DetId>& vectOfValidIds = geometry_->getValidDetIds(DetId::Ecal, 1);//EB for(std::vector<DetId>::const_iterator it = vectOfValidIds.begin(); it != vectOfValidIds.end(); ++it) setOfValidIds.insert(*it); // vectOfValidIds.clear(); const std::vector<DetId>& vectOfValidIdsEE = geometry_->getValidDetIds(DetId::Ecal, 2);//EE for(std::vector<DetId>::const_iterator it = vectOfValidIdsEE.begin(); it != vectOfValidIdsEE.end(); ++it) setOfValidIds.insert(*it); return setOfValidIds; }