Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:32

0001 #ifndef CSCTrackFinder_MakePTLUT_h
0002 #define CSCTrackFinder_MakePTLUT_h
0003 
0004 /**
0005  * \author L. Gray 2/26/06
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 CSCTFPtLUT;
0024 
0025 class CSCMakePTLUT : public edm::one::EDAnalyzer<> {
0026 public:
0027   explicit CSCMakePTLUT(edm::ParameterSet const& conf);
0028   virtual ~CSCMakePTLUT();
0029   virtual void analyze(edm::Event const& e, edm::EventSetup const& iSetup);
0030   //virtual void endJob();
0031 private:
0032   // variables persistent across events should be declared here.
0033   //
0034 
0035   std::string fileSuffix() const;
0036   //CSCTFPtLUT* myTF[2][6][2][4]; // [Endcap][Sector][Subsector][Station]
0037   //bool writeLocalPhi, writeGlobalPhi, writeGlobalEta,
0038   bool binary;
0039   int endcap, sector, station;
0040   edm::ParameterSet LUTparam;
0041   edm::ESGetToken<CSCGeometry, MuonGeometryRecord> geomToken_;
0042   edm::ESGetToken<L1MuTriggerScales, L1MuTriggerScalesRcd> scalesToken_;
0043   edm::ESGetToken<L1MuTriggerPtScale, L1MuTriggerPtScaleRcd> ptScalesToken_;
0044 };
0045 
0046 DEFINE_FWK_MODULE(CSCMakePTLUT);
0047 
0048 #endif