![]() |
![]() |
00001 #ifndef TrackAssociator_HODetIdAssociator_h 00002 #define TrackAssociator_HODetIdAssociator_h 1 00003 // -*- C++ -*- 00004 // 00005 // Package: TrackAssociator 00006 // Class: HODetIdAssociator 00007 // 00008 /* 00009 00010 Description: <one line class summary> 00011 00012 Implementation: 00013 <Notes on implementation> 00014 */ 00015 // 00016 // Original Author: Dmytro Kovalskyi 00017 // Created: Fri Apr 21 10:59:41 PDT 2006 00018 // $Id: HODetIdAssociator.h,v 1.2 2007/10/08 13:04:31 dmytro Exp $ 00019 // 00020 // 00021 00022 #include "TrackingTools/TrackAssociator/interface/CaloDetIdAssociator.h" 00023 00024 class HODetIdAssociator: public CaloDetIdAssociator{ 00025 public: 00026 HODetIdAssociator():CaloDetIdAssociator(72,30,0.087){}; 00027 00028 HODetIdAssociator(const edm::ParameterSet& pSet):CaloDetIdAssociator(pSet){}; 00029 00030 protected: 00031 00032 virtual std::set<DetId> getASetOfValidDetIds() const { 00033 std::set<DetId> setOfValidIds; 00034 std::vector<DetId> vectOfValidIds = geometry_->getValidDetIds(DetId::Hcal, 3);//HO 00035 for(std::vector<DetId>::const_iterator it = vectOfValidIds.begin(); it != vectOfValidIds.end(); ++it) 00036 setOfValidIds.insert(*it); 00037 return setOfValidIds; 00038 }; 00039 00040 }; 00041 #endif