CMS 3D CMS Logo

DTMapGenerator.h
Go to the documentation of this file.
1 #ifndef DTMapGenerator_H
2 #define DTMapGenerator_H
3 
13 
14 #include <string>
15 #include <set>
16 
18 public:
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
42  //file name with the input base map (DDU,ROS -> Wheel,Sector,Chamber)
44  //rosType = 8 for commissioning, 25 otherwise
45  int rosType;
46 };
47 #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)
std::string inputMapName
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
~DTMapGenerator() override=default
Destructor.
void analyze(const edm::Event &event, const edm::EventSetup &setup) override
Definition: event.py:1