Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
DTMapGenerator::endJob
void endJob() override
Definition:
DTMapGenerator.cc:33
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
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
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
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
DTMapGenerator::inputMapName
std::string inputMapName
Definition:
DTMapGenerator.h:43
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition:
phase1PixelTopology.h:110
relativeConstraints.station
tuple station
Definition:
relativeConstraints.py:67
edm::EventSetup
Definition:
EventSetup.h:59
GeneralSetup.setup
def setup
Definition:
GeneralSetup.py:2
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
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
DTWireId.h
edm::ParameterSet
Definition:
ParameterSet.h:47
DTMapGenerator::~DTMapGenerator
~DTMapGenerator() override
Destructor.
Definition:
DTMapGenerator.cc:31
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.5