CalibTracker
SiPixelConnectivity
interface
PixelToLNKAssociateFromAscii.h
Go to the documentation of this file.
1
#ifndef PixelToLNKAssociateFromAscii_H
2
#define PixelToLNKAssociateFromAscii_H
3
9
#include <vector>
10
#include <string>
11
#include <map>
12
13
#include "
CalibTracker/SiPixelConnectivity/interface/TRange.h
"
14
#include "
CalibTracker/SiPixelConnectivity/interface/PixelToFEDAssociate.h
"
15
16
class
PixelBarrelName
;
17
class
PixelEndcapName
;
18
class
PixelModuleName
;
19
20
class
PixelToLNKAssociateFromAscii
:
public
PixelToFEDAssociate
{
21
public
:
22
typedef
PixelToFEDAssociate::CablingRocId
CablingRocId
;
23
typedef
PixelToFEDAssociate::DetectorRocId
DetectorRocId
;
24
25
PixelToLNKAssociateFromAscii
(
const
std::string
&
fileName
,
const
bool
phase1
=
false
);
26
27
const
CablingRocId
*
operator()
(
const
DetectorRocId
&
roc
)
const override
;
28
30
std::string
version
()
const override
;
31
32
private
:
33
typedef
TRange<int>
Range
;
34
36
void
init
(
const
std::string
&
fileName
);
37
void
addConnections
(
int
fedId
,
int
linkId,
std::string
module
,
Range
rocDetIds);
38
std::string
theVersion
;
39
std::vector<std::pair<DetectorRocId, CablingRocId> >
theConnection
;
40
Range
readRange
(
const
std::string
&)
const
;
41
bool
phase1_
;
// signals phase1 detector
42
};
43
#endif
PixelModuleName
Definition:
PixelModuleName.h:12
PixelToLNKAssociateFromAscii::theConnection
std::vector< std::pair< DetectorRocId, CablingRocId > > theConnection
Definition:
PixelToLNKAssociateFromAscii.h:39
PixelBarrelName
Definition:
PixelBarrelName.h:16
PixelToLNKAssociateFromAscii::theVersion
std::string theVersion
Definition:
PixelToLNKAssociateFromAscii.h:38
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
PixelToLNKAssociateFromAscii::operator()
const CablingRocId * operator()(const DetectorRocId &roc) const override
LNK id for module.
Definition:
PixelToLNKAssociateFromAscii.cc:20
PVValHelper::phase1
Definition:
PVValidationHelpers.h:80
PixelEndcapName
Definition:
PixelEndcapName.h:16
PixelToFEDAssociate
Definition:
PixelToFEDAssociate.h:13
TRange.h
PixelToLNKAssociateFromAscii::CablingRocId
PixelToFEDAssociate::CablingRocId CablingRocId
Definition:
PixelToLNKAssociateFromAscii.h:22
TRange< int >
PixelToLNKAssociateFromAscii::version
std::string version() const override
version
Definition:
PixelToLNKAssociateFromAscii.cc:18
PixelToLNKAssociateFromAscii::Range
TRange< int > Range
Definition:
PixelToLNKAssociateFromAscii.h:33
PixelToLNKAssociateFromAscii::PixelToLNKAssociateFromAscii
PixelToLNKAssociateFromAscii(const std::string &fileName, const bool phase1=false)
Definition:
PixelToLNKAssociateFromAscii.cc:14
PixelToLNKAssociateFromAscii::addConnections
void addConnections(int fedId, int linkId, std::string module, Range rocDetIds)
Definition:
PixelToLNKAssociateFromAscii.cc:126
l1tstage2_dqm_sourceclient-live_cfg.fedId
fedId
Definition:
l1tstage2_dqm_sourceclient-live_cfg.py:89
PixelToLNKAssociateFromAscii
Definition:
PixelToLNKAssociateFromAscii.h:20
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
callgraph.module
module
Definition:
callgraph.py:61
PixelToLNKAssociateFromAscii::readRange
Range readRange(const std::string &) const
Definition:
PixelToLNKAssociateFromAscii.cc:502
PixelToLNKAssociateFromAscii::init
void init(const std::string &fileName)
initialisatin (read file)
Definition:
PixelToLNKAssociateFromAscii.cc:32
PixelToFEDAssociate::CablingRocId
Definition:
PixelToFEDAssociate.h:15
PixelMapPlotter.roc
roc
Definition:
PixelMapPlotter.py:498
PixelToFEDAssociate.h
PixelToFEDAssociate::DetectorRocId
Definition:
PixelToFEDAssociate.h:20
PixelToLNKAssociateFromAscii::phase1_
bool phase1_
Definition:
PixelToLNKAssociateFromAscii.h:41
PixelToLNKAssociateFromAscii::DetectorRocId
PixelToFEDAssociate::DetectorRocId DetectorRocId
Definition:
PixelToLNKAssociateFromAscii.h:23
Generated for CMSSW Reference Manual by
1.8.16