Main Page
Namespaces
Classes
Package Documentation
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
15
#include <string>
16
#include <set>
17
18
class
DTMapGenerator
:
public
edm::EDAnalyzer
{
19
20
public
:
21
23
DTMapGenerator
(
const
edm::ParameterSet
&
pset
);
24
26
~DTMapGenerator
()
override
;
27
28
// Operations
29
30
void
beginJob
()
override
{}
31
32
void
analyze
(
const
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
{}
33
34
void
endJob
()
override
;
35
36
protected
:
37
38
private
:
39
//Check if the wire exists in the channels list :
40
//(/afs/cern.ch/cms/Physics/muon/CMSSW/DT/channelsMaps/existing_channels.txt)
41
bool
checkWireExist
(
const
std::set<DTWireId>& wireMap,
int
wheel
,
int
station
,
int
sector,
int
sl,
int
layer,
int
wire);
42
43
//file name with the output map
44
std::string
outputMapName
;
45
//file name with the input base map (DDU,ROS -> Wheel,Sector,Chamber)
46
std::string
inputMapName
;
47
//rosType = 8 for commissioning, 25 otherwise
48
int
rosType
;
49
};
50
#endif
DTMapGenerator::endJob
void endJob() override
Definition:
DTMapGenerator.cc:33
DTMapGenerator::outputMapName
std::string outputMapName
Definition:
DTMapGenerator.h:44
DTMapGenerator
Definition:
DTMapGenerator.h:18
DTMapGenerator::DTMapGenerator
DTMapGenerator(const edm::ParameterSet &pset)
Constructor.
Definition:
DTMapGenerator.cc:18
DTMapGenerator::beginJob
void beginJob() override
Definition:
DTMapGenerator.h:30
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:174
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
DTMapGenerator::inputMapName
std::string inputMapName
Definition:
DTMapGenerator.h:46
Frameworkfwd.h
edm::EventSetup
Definition:
EventSetup.h:57
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
DTMapGenerator::rosType
int rosType
Definition:
DTMapGenerator.h:48
DTMapGenerator::analyze
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
Definition:
DTMapGenerator.h:32
DTWireId.h
edm::ParameterSet
Definition:
ParameterSet.h:36
DTMapGenerator::~DTMapGenerator
~DTMapGenerator() override
Destructor.
Definition:
DTMapGenerator.cc:31
edm::Event
Definition:
Event.h:71
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11