DataFormats
ForwardDetId
interface
HFNoseDetIdToModule.h
Go to the documentation of this file.
1
#ifndef DataFormats_ForwardDetId_HFNoseDetIdToModule_H
2
#define DataFormats_ForwardDetId_HFNoseDetIdToModule_H 1
3
4
#include "
DataFormats/ForwardDetId/interface/HFNoseDetId.h
"
5
#include "
DataFormats/ForwardDetId/interface/HFNoseTriggerDetId.h
"
6
#include <vector>
7
8
class
HFNoseDetIdToModule
{
9
public
:
11
HFNoseDetIdToModule
();
12
13
static
const
HFNoseDetId
getModule
(
HFNoseDetId
const
&
id
) {
return
id
.
moduleId
(); }
14
static
const
HFNoseDetId
getModule
(
HFNoseTriggerDetId
const
&
id
) {
return
id
.
moduleId
(); }
15
std::vector<HFNoseDetId>
getDetIds
(
HFNoseDetId
const
&
id
)
const
;
16
std::vector<HFNoseTriggerDetId>
getTriggerDetIds
(
HFNoseDetId
const
&
id
)
const
;
17
};
18
#endif
HFNoseDetId::moduleId
HFNoseDetId moduleId() const
Definition:
HFNoseDetId.h:47
HFNoseDetIdToModule::getModule
static const HFNoseDetId getModule(HFNoseDetId const &id)
Definition:
HFNoseDetIdToModule.h:13
HFNoseDetId.h
HFNoseDetId
Definition:
HFNoseDetId.h:22
HFNoseTriggerDetId
Definition:
HFNoseTriggerDetId.h:26
HFNoseTriggerDetId.h
HFNoseDetIdToModule::getDetIds
std::vector< HFNoseDetId > getDetIds(HFNoseDetId const &id) const
Definition:
HFNoseDetIdToModule.cc:5
HFNoseDetIdToModule::getModule
static const HFNoseDetId getModule(HFNoseTriggerDetId const &id)
Definition:
HFNoseDetIdToModule.h:14
HFNoseDetIdToModule::HFNoseDetIdToModule
HFNoseDetIdToModule()
Definition:
HFNoseDetIdToModule.cc:3
HFNoseDetIdToModule::getTriggerDetIds
std::vector< HFNoseTriggerDetId > getTriggerDetIds(HFNoseDetId const &id) const
Definition:
HFNoseDetIdToModule.cc:19
HFNoseDetIdToModule
Definition:
HFNoseDetIdToModule.h:8
Generated for CMSSW Reference Manual by
1.8.16