src
CalibTracker
SiPixelConnectivity
interface
PixelToFEDAssociate.h
Go to the documentation of this file.
1
#ifndef PixelToFEDAssociate_H
2
#define PixelToFEDAssociate_H
3
9
#include <string>
10
11
#include "
DataFormats/SiPixelDetId/interface/PixelModuleName.h
"
12
13
class
PixelToFEDAssociate
{
14
public
:
15
struct
CablingRocId
{
16
int
fedId
;
17
int
linkId
;
18
int
rocLinkId
;
19
};
20
struct
DetectorRocId
{
21
const
PixelModuleName
*
module
;
22
int
rocDetId
;
23
};
24
25
virtual
~PixelToFEDAssociate
() {}
26
28
virtual
std::string
version
()
const
= 0;
29
31
virtual
int
operator()
(
const
PixelModuleName
&)
const
{
return
0; }
32
34
virtual
const
CablingRocId
*
operator()
(
const
DetectorRocId
&
roc
)
const
{
return
nullptr
; }
35
};
36
#endif
PixelToFEDAssociate::~PixelToFEDAssociate
virtual ~PixelToFEDAssociate()
Definition:
PixelToFEDAssociate.h:25
PixelModuleName
Definition:
PixelModuleName.h:12
PixelToFEDAssociate::CablingRocId::linkId
int linkId
Definition:
PixelToFEDAssociate.h:17
PixelToFEDAssociate::operator()
virtual int operator()(const PixelModuleName &) const
FED id for module.
Definition:
PixelToFEDAssociate.h:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PixelToFEDAssociate::CablingRocId
Definition:
PixelToFEDAssociate.h:15
PixelToFEDAssociate::version
virtual std::string version() const =0
version
PixelModuleName.h
PixelToFEDAssociate::operator()
virtual const CablingRocId * operator()(const DetectorRocId &roc) const
LNK id for module.
Definition:
PixelToFEDAssociate.h:34
PixelToFEDAssociate::CablingRocId::fedId
int fedId
Definition:
PixelToFEDAssociate.h:16
PixelToFEDAssociate::DetectorRocId::module
const PixelModuleName * module
Definition:
PixelToFEDAssociate.h:21
PixelMapPlotter.roc
roc
Definition:
PixelMapPlotter.py:498
PixelToFEDAssociate
Definition:
PixelToFEDAssociate.h:13
PixelToFEDAssociate::DetectorRocId::rocDetId
int rocDetId
Definition:
PixelToFEDAssociate.h:22
PixelToFEDAssociate::CablingRocId::rocLinkId
int rocLinkId
Definition:
PixelToFEDAssociate.h:18
PixelToFEDAssociate::DetectorRocId
Definition:
PixelToFEDAssociate.h:20
Generated for CMSSW Reference Manual by
1.8.14