CalibMuon
DTCalibration
plugins
DTMapGenerator.h
Go to the documentation of this file.
1
#ifndef DTMapGenerator_H
2
#define DTMapGenerator_H
3
10
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
11
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
12
#include "
DataFormats/MuonDetId/interface/DTWireId.h
"
13
14
#include <string>
15
#include <set>
16
17
class
DTMapGenerator
:
public
edm::EDAnalyzer
{
18
public
:
20
DTMapGenerator
(
const
edm::ParameterSet
&
pset
);
21
23
~DTMapGenerator
()
override
;
24
25
// Operations
26
27
void
beginJob
()
override
{}
28
29
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
{}
30
31
void
endJob
()
override
;
32
33
protected
:
34
private
:
35
//Check if the wire exists in the channels list :
36
//(/afs/cern.ch/cms/Physics/muon/CMSSW/DT/channelsMaps/existing_channels.txt)
37
bool
checkWireExist
(
38
const
std::set<DTWireId>& wireMap,
int
wheel
,
int
station
,
int
sector,
int
sl,
int
layer
,
int
wire);
39
40
//file name with the output map
41
std::string
outputMapName
;
42
//file name with the input base map (DDU,ROS -> Wheel,Sector,Chamber)
43
std::string
inputMapName
;
44
//rosType = 8 for commissioning, 25 otherwise
45
int
rosType
;
46
};
47
#endif
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
DTMapGenerator::~DTMapGenerator
~DTMapGenerator() override
Destructor.
Definition:
DTMapGenerator.cc:31
DTMapGenerator::DTMapGenerator
DTMapGenerator(const edm::ParameterSet &pset)
Constructor.
Definition:
DTMapGenerator.cc:18
DTMapGenerator::beginJob
void beginJob() override
Definition:
DTMapGenerator.h:27
EDAnalyzer.h
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
DTMapGenerator
Definition:
DTMapGenerator.h:17
DTMapGenerator::inputMapName
std::string inputMapName
Definition:
DTMapGenerator.h:43
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:99
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTMapGenerator::rosType
int rosType
Definition:
DTMapGenerator.h:45
DTMapGenerator::analyze
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
Definition:
DTMapGenerator.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
makeMuonMisalignmentScenario.wheel
wheel
Definition:
makeMuonMisalignmentScenario.py:319
edm::EventSetup
Definition:
EventSetup.h:58
DTWireId.h
Frameworkfwd.h
DTMapGenerator::checkWireExist
bool checkWireExist(const std::set< DTWireId > &wireMap, int wheel, int station, int sector, int sl, int layer, int wire)
Definition:
DTMapGenerator.cc:167
DTMapGenerator::endJob
void endJob() override
Definition:
DTMapGenerator.cc:33
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTMapGenerator::outputMapName
std::string outputMapName
Definition:
DTMapGenerator.h:41
Generated for CMSSW Reference Manual by
1.8.16