CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/CSCRecHit/interface/CSCRangeMapAccessor.h

Go to the documentation of this file.
00001 #ifndef DataFormats_CSCRecHit_CSCRangeMapAccessor_H
00002 #define DataFormats_CSCRecHit_CSCRangeMapAccessor_H
00003 
00011 #include <DataFormats/MuonDetId/interface/CSCDetId.h>
00012 
00013 class CSCDetIdSameDetLayerComparator {
00014  public:
00015   bool operator() (CSCDetId i1, CSCDetId i2) const;
00016 };
00017 
00018 class CSCDetIdSameChamberComparator {
00019  public:
00020   bool operator()(CSCDetId i1, CSCDetId i2) const;
00021 };
00022 
00023 class CSCRangeMapAccessor {
00024  public:
00025   
00027   CSCRangeMapAccessor();
00028 
00030   virtual ~CSCRangeMapAccessor();
00031   
00033   static std::pair<CSCDetId,CSCDetIdSameChamberComparator> cscChamber(CSCDetId id);
00034   static std::pair<CSCDetId,CSCDetIdSameDetLayerComparator> cscDetLayer(CSCDetId id);
00035 
00036  private:
00037    
00038 };
00039  
00040 #endif