Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:07

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