src
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/one/EDAnalyzer.h
"
12
#include "
DataFormats/MuonDetId/interface/DTWireId.h
"
13
14
#include <string>
15
#include <set>
16
17
class
DTMapGenerator
:
public
edm::one::EDAnalyzer
<> {
18
public
:
20
DTMapGenerator
(
const
edm::ParameterSet
&
pset
);
21
23
~DTMapGenerator
()
override
=
default
;
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
DTMapGenerator::endJob
void endJob() override
Definition:
DTMapGenerator.cc:31
DTMapGenerator::outputMapName
std::string outputMapName
Definition:
DTMapGenerator.h:41
DTMapGenerator
Definition:
DTMapGenerator.h:17
DTMapGenerator::DTMapGenerator
DTMapGenerator(const edm::ParameterSet &pset)
Constructor.
Definition:
DTMapGenerator.cc:18
DTMapGenerator::beginJob
void beginJob() override
Definition:
DTMapGenerator.h:27
makeMuonMisalignmentScenario.wheel
wheel
Definition:
makeMuonMisalignmentScenario.py:319
DTMapGenerator::checkWireExist
bool checkWireExist(const std::set< DTWireId > &wireMap, int wheel, int station, int sector, int sl, int layer, int wire)
Definition:
DTMapGenerator.cc:164
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DTMapGenerator::inputMapName
std::string inputMapName
Definition:
DTMapGenerator.h:43
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::EventSetup
Definition:
EventSetup.h:56
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
DTMapGenerator::~DTMapGenerator
~DTMapGenerator() override=default
Destructor.
DTMapGenerator::rosType
int rosType
Definition:
DTMapGenerator.h:45
nano_mu_digi_cff.layer
layer
Definition:
nano_mu_digi_cff.py:28
DTMapGenerator::analyze
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
Definition:
DTMapGenerator.h:29
nano_mu_digi_cff.wire
wire
Definition:
nano_mu_digi_cff.py:15
EDAnalyzer.h
DTWireId.h
edm::ParameterSet
Definition:
ParameterSet.h:48
nano_mu_digi_cff.sector
sector
Definition:
nano_mu_digi_cff.py:21
edm::Event
Definition:
Event.h:73
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.14