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