Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:21

0001 #ifndef DataFormats_ForwardDetId_HGCSiliconDetIdToModule_H
0002 #define DataFormats_ForwardDetId_HGCSiliconDetIdToModule_H 1
0003 
0004 #include "DataFormats/ForwardDetId/interface/HGCalTriggerDetId.h"
0005 #include "DataFormats/ForwardDetId/interface/HGCSiliconDetId.h"
0006 #include <vector>
0007 
0008 class HGCSiliconDetIdToModule {
0009 public:
0010   /** This translated TriggerDetId to Module and viceversa for HGCSilicon*/
0011   HGCSiliconDetIdToModule();
0012 
0013   static const HGCSiliconDetId getModule(HGCalTriggerDetId const& id) { return id.moduleId(); }
0014   static const HGCSiliconDetId getModule(HGCSiliconDetId const& id) { return id.moduleId(); }
0015   std::vector<HGCSiliconDetId> getDetIds(HGCSiliconDetId const& id) const;
0016   std::vector<HGCalTriggerDetId> getDetTriggerIds(HGCSiliconDetId const& id) const;
0017 };
0018 #endif