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/EventSetup.h
"
5
#include "
CondFormats/SiPixelObjects/interface/SiPixelFedCablingTree.h
"
6
#include "
DataFormats/DetId/interface/DetId.h
"
7
8
#include <vector>
9
#include <string>
10
11
class
PixelModuleName
;
12
class
PixelGeomDetUnit
;
13
14
class
SiPixelFedCablingMapBuilder
{
15
public
:
16
//SiPixelFedCablingMapBuilder(const std::string & associatorName);
17
SiPixelFedCablingMapBuilder
(
const
std::string
fileName
,
const
bool
phase1 =
false
);
18
SiPixelFedCablingTree
*
produce
(
const
edm::EventSetup
&
setup
);
19
20
private
:
21
struct
FedSpec
{
22
int
fedId
;
// fed ID
23
std::vector<PixelModuleName*>
names
;
// names of modules
24
std::vector<uint32_t>
rawids
;
// modules corresponding to names
25
};
26
//std::string theAssociatorName;
27
std::string
fileName_
;
28
std::string
myprint
(
const
PixelGeomDetUnit
* pxUnit);
29
bool
phase1_
;
30
};
31
32
#endif
SiPixelFedCablingMapBuilder::FedSpec::names
std::vector< PixelModuleName * > names
Definition:
SiPixelFedCablingMapBuilder.h:23
SiPixelFedCablingMapBuilder::phase1_
bool phase1_
Definition:
SiPixelFedCablingMapBuilder.h:29
PixelModuleName
Definition:
PixelModuleName.h:12
SiPixelFedCablingMapBuilder::SiPixelFedCablingMapBuilder
SiPixelFedCablingMapBuilder(const std::string fileName, const bool phase1=false)
Definition:
SiPixelFedCablingMapBuilder.cc:33
SiPixelFedCablingMapBuilder::myprint
std::string myprint(const PixelGeomDetUnit *pxUnit)
Definition:
SiPixelFedCablingMapBuilder.cc:189
SiPixelFedCablingTree.h
MillePedeFileConverter_cfg.fileName
fileName
Definition:
MillePedeFileConverter_cfg.py:32
SiPixelFedCablingMapBuilder::fileName_
std::string fileName_
Definition:
SiPixelFedCablingMapBuilder.h:27
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
SiPixelFedCablingMapBuilder::produce
SiPixelFedCablingTree * produce(const edm::EventSetup &setup)
Definition:
SiPixelFedCablingMapBuilder.cc:38
PixelGeomDetUnit
Definition:
PixelGeomDetUnit.h:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SiPixelFedCablingMapBuilder
Definition:
SiPixelFedCablingMapBuilder.h:14
SiPixelFedCablingMapBuilder::FedSpec::fedId
int fedId
Definition:
SiPixelFedCablingMapBuilder.h:22
SiPixelFedCablingMapBuilder::FedSpec
Definition:
SiPixelFedCablingMapBuilder.h:21
edm::EventSetup
Definition:
EventSetup.h:57
DetId.h
EventSetup.h
SiPixelFedCablingMapBuilder::FedSpec::rawids
std::vector< uint32_t > rawids
Definition:
SiPixelFedCablingMapBuilder.h:24
SiPixelFedCablingTree
Definition:
SiPixelFedCablingTree.h:13
Generated for CMSSW Reference Manual by
1.8.16