Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:03

0001 #ifndef OMTFProducer_H
0002 #define OMTFProducer_H
0003 
0004 #include "xercesc/util/XercesDefs.hpp"
0005 
0006 #include "DataFormats/L1TMuon/interface/RegionalMuonCand.h"
0007 #include "DataFormats/L1TMuon/interface/RegionalMuonCandFwd.h"
0008 
0009 #include "FWCore/Framework/interface/one/EDProducer.h"
0010 #include "FWCore/Framework/interface/Event.h"
0011 #include "FWCore/Framework/interface/FrameworkfwdMostUsed.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013 
0014 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h"
0015 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h"
0016 #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h"
0017 #include "DataFormats/RPCDigi/interface/RPCDigiCollection.h"
0018 
0019 #include "L1Trigger/L1TMuonOverlap/interface/OMTFReconstruction.h"
0020 #include "L1Trigger/L1TMuonOverlap/interface/OMTFinputMaker.h"
0021 #include "L1Trigger/L1TMuonOverlap/interface/OMTFSorter.h"
0022 
0023 class L1TMuonOverlapParams;
0024 class OMTFProcessor;
0025 class OMTFConfiguration;
0026 class OMTFConfigMaker;
0027 class XMLConfigWriter;
0028 
0029 namespace XERCES_CPP_NAMESPACE {
0030   class DOMElement;
0031   class DOMDocument;
0032   class DOMImplementation;
0033 }  // namespace XERCES_CPP_NAMESPACE
0034 
0035 class L1TMuonOverlapTrackProducer : public edm::one::EDProducer<edm::one::WatchRuns> {
0036 public:
0037   L1TMuonOverlapTrackProducer(const edm::ParameterSet&);
0038 
0039   ~L1TMuonOverlapTrackProducer() override;
0040 
0041   void beginJob() override;
0042 
0043   void endJob() override;
0044 
0045   void beginRun(edm::Run const&, edm::EventSetup const&) override;
0046   void endRun(edm::Run const&, edm::EventSetup const&) override {}
0047 
0048   void produce(edm::Event&, edm::EventSetup const&) override;
0049 
0050 private:
0051   edm::EDGetTokenT<L1MuDTChambPhContainer> inputTokenDTPh;
0052   edm::EDGetTokenT<L1MuDTChambThContainer> inputTokenDTTh;
0053   edm::EDGetTokenT<CSCCorrelatedLCTDigiCollection> inputTokenCSC;
0054   edm::EDGetTokenT<RPCDigiCollection> inputTokenRPC;
0055 
0056   bool dumpResultToXML, dumpDetailedResultToXML;
0057 
0058   OMTFReconstruction m_Reconstruction;
0059 };
0060 
0061 #endif