File indexing completed on 2024-04-06 11:58:25
0001 #ifndef DTMapGenerator_H
0002 #define DTMapGenerator_H
0003
0004
0005
0006
0007
0008
0009
0010 #include "FWCore/Framework/interface/Frameworkfwd.h"
0011 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0012 #include "DataFormats/MuonDetId/interface/DTWireId.h"
0013
0014 #include <string>
0015 #include <set>
0016
0017 class DTMapGenerator : public edm::one::EDAnalyzer<> {
0018 public:
0019
0020 DTMapGenerator(const edm::ParameterSet& pset);
0021
0022
0023 ~DTMapGenerator() override = default;
0024
0025
0026
0027 void beginJob() override {}
0028
0029 void analyze(const edm::Event& event, const edm::EventSetup& setup) override {}
0030
0031 void endJob() override;
0032
0033 protected:
0034 private:
0035
0036
0037 bool checkWireExist(
0038 const std::set<DTWireId>& wireMap, int wheel, int station, int sector, int sl, int layer, int wire);
0039
0040
0041 std::string outputMapName;
0042
0043 std::string inputMapName;
0044
0045 int rosType;
0046 };
0047 #endif