File indexing completed on 2024-04-06 12:19:32
0001 #ifndef CSCTrackFinder_MakeLUT_h
0002 #define CSCTrackFinder_MakeLUT_h
0003
0004
0005
0006
0007
0008
0009 #include "FWCore/PluginManager/interface/ModuleDef.h"
0010 #include "FWCore/Framework/interface/MakerMacros.h"
0011
0012 #include <iostream>
0013 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0014 #include "FWCore/Framework/interface/Event.h"
0015 #include "DataFormats/Common/interface/Handle.h"
0016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0017 #include "FWCore/Framework/interface/EventSetup.h"
0018 #include "FWCore/Utilities/interface/ESGetToken.h"
0019
0020 #include "DataFormats/MuonDetId/interface/CSCTriggerNumbering.h"
0021 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0022
0023 class CSCSectorReceiverLUT;
0024
0025 class CSCMakeSRLUT : public edm::one::EDAnalyzer<> {
0026 public:
0027 explicit CSCMakeSRLUT(edm::ParameterSet const& conf);
0028 virtual ~CSCMakeSRLUT();
0029 virtual void analyze(edm::Event const& e, edm::EventSetup const& iSetup);
0030
0031 private:
0032
0033
0034
0035 std::string fileSuffix() const;
0036 CSCSectorReceiverLUT* mySR[2][6][2][4];
0037 bool writeLocalPhi, writeGlobalPhi, writeGlobalEta, binary;
0038 int endcap, sector, station, isTMB07;
0039 edm::ParameterSet LUTparam;
0040 edm::ESGetToken<CSCGeometry, MuonGeometryRecord> geomToken_;
0041 };
0042
0043 DEFINE_FWK_MODULE(CSCMakeSRLUT);
0044
0045 #endif