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  virtual ~DTMapGenerator();
27 
28  // Operations
29 
30  virtual void beginJob(){}
31 
32  virtual void analyze(const edm::Event& event, const edm::EventSetup& setup){}
33 
34  virtual void endJob();
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
std::string outputMapName
DTMapGenerator(const edm::ParameterSet &pset)
Constructor.
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
virtual void beginJob()
virtual void endJob()
virtual ~DTMapGenerator()
Destructor.
Definition: event.py:1
virtual void analyze(const edm::Event &event, const edm::EventSetup &setup)