CalibTracker
SiPixelConnectivity
interface
SiPixelFedCablingMapBuilder.h
Go to the documentation of this file.
1
#ifndef SiPixelFedCablingMapBuilder_H
2
#define SiPixelFedCablingMapBuilder_H
3
4
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
5
#include "
CondFormats/SiPixelObjects/interface/SiPixelFedCablingTree.h
"
6
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
7
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
8
#include "
DataFormats/TrackerCommon/interface/TrackerTopology.h
"
9
#include "
Geometry/Records/interface/TrackerTopologyRcd.h
"
10
11
#include <vector>
12
#include <string>
13
14
class
PixelModuleName
;
15
class
PixelGeomDetUnit
;
16
17
class
SiPixelFedCablingMapBuilder
{
18
public
:
19
//SiPixelFedCablingMapBuilder(const std::string & associatorName);
20
SiPixelFedCablingMapBuilder
(
edm::ConsumesCollector
&& iCC,
const
std::string
fileName
,
const
bool
phase1
=
false
);
21
SiPixelFedCablingTree
*
produce
(
const
edm::EventSetup
&
setup
);
22
23
private
:
24
struct
FedSpec
{
25
int
fedId
;
// fed ID
26
std::vector<PixelModuleName*>
names
;
// names of modules
27
std::vector<uint32_t>
rawids
;
// modules corresponding to names
28
};
29
//std::string theAssociatorName;
30
std::string
fileName_
;
31
std::string
myprint
(
const
PixelGeomDetUnit
* pxUnit);
32
bool
phase1_
;
33
34
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
trackerTopoToken_
;
35
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
trackerGeomToken_
;
36
};
37
38
#endif
SiPixelFedCablingMapBuilder::FedSpec::names
std::vector< PixelModuleName * > names
Definition:
SiPixelFedCablingMapBuilder.h:26
SiPixelFedCablingMapBuilder::phase1_
bool phase1_
Definition:
SiPixelFedCablingMapBuilder.h:32
PixelModuleName
Definition:
PixelModuleName.h:12
TrackerGeometry.h
SiPixelFedCablingMapBuilder::trackerTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoToken_
Definition:
SiPixelFedCablingMapBuilder.h:34
SiPixelFedCablingMapBuilder::myprint
std::string myprint(const PixelGeomDetUnit *pxUnit)
Definition:
SiPixelFedCablingMapBuilder.cc:188
SiPixelFedCablingMapBuilder::SiPixelFedCablingMapBuilder
SiPixelFedCablingMapBuilder(edm::ConsumesCollector &&iCC, const std::string fileName, const bool phase1=false)
Definition:
SiPixelFedCablingMapBuilder.cc:30
SiPixelFedCablingTree.h
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
SiPixelFedCablingMapBuilder::fileName_
std::string fileName_
Definition:
SiPixelFedCablingMapBuilder.h:30
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
PVValHelper::phase1
Definition:
PVValidationHelpers.h:80
TrackerTopology.h
TrackerTopologyRcd.h
SiPixelFedCablingMapBuilder::produce
SiPixelFedCablingTree * produce(const edm::EventSetup &setup)
Definition:
SiPixelFedCablingMapBuilder.cc:39
PixelGeomDetUnit
Definition:
PixelGeomDetUnit.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
SiPixelFedCablingMapBuilder
Definition:
SiPixelFedCablingMapBuilder.h:17
SiPixelFedCablingMapBuilder::FedSpec::fedId
int fedId
Definition:
SiPixelFedCablingMapBuilder.h:25
SiPixelFedCablingMapBuilder::FedSpec
Definition:
SiPixelFedCablingMapBuilder.h:24
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
SiPixelFedCablingMapBuilder::trackerGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
Definition:
SiPixelFedCablingMapBuilder.h:35
ConsumesCollector.h
SiPixelFedCablingMapBuilder::FedSpec::rawids
std::vector< uint32_t > rawids
Definition:
SiPixelFedCablingMapBuilder.h:27
SiPixelFedCablingTree
Definition:
SiPixelFedCablingTree.h:13
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.16