CMS 3D CMS Logo

DTMapGenerator.h
Go to the documentation of this file.
1 #ifndef DTMapGenerator_H
2 #define DTMapGenerator_H
3 
13 
14 
15 #include <string>
16 #include <set>
17 
19 
20 public:
21 
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
45  //file name with the input base map (DDU,ROS -> Wheel,Sector,Chamber)
47  //rosType = 8 for commissioning, 25 otherwise
48  int rosType;
49 };
50 #endif
void endJob() override
std::string outputMapName
DTMapGenerator(const edm::ParameterSet &pset)
Constructor.
void beginJob() override
bool checkWireExist(const std::set< DTWireId > &wireMap, int wheel, int station, int sector, int sl, int layer, int wire)
def setup(process, global_tag, zero_tesla=False)
Definition: GeneralSetup.py:1
std::string inputMapName
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
~DTMapGenerator() override
Destructor.
Definition: event.py:1