CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/L1Trigger/RPCTrigger/interface/RPCTrigger.h

Go to the documentation of this file.
00001 #ifndef L1Trigger_RPCTrigger_h
00002 #define L1Trigger_RPCTrigger_h
00003 
00010 #include "FWCore/Framework/interface/Frameworkfwd.h"
00011 #include "FWCore/Framework/interface/EDProducer.h"
00012 
00013 #include "FWCore/Framework/interface/Event.h"
00014 #include "FWCore/Framework/interface/MakerMacros.h"
00015 
00016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00017 
00018 #include "DataFormats/MuonDetId/interface/RPCDetId.h"
00019 #include "DataFormats/RPCDigi/interface/RPCDigiCollection.h"
00020 
00021 
00022 #include <FWCore/Framework/interface/ESHandle.h> // Handle to read geometry
00023 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00024 
00025 #include "DataFormats/L1GlobalMuonTrigger/interface/L1MuRegionalCand.h"
00026 
00027 
00028 // L1RpcTrigger specific includes
00029 #include "L1Trigger/RPCTrigger/interface/RPCConeBuilderFromES.h"
00030 
00031 #include "L1Trigger/RPCTrigger/interface/RPCPacManager.h"
00032 
00033 #include "L1Trigger/RPCTrigger/interface/RPCPacTrigger.h"
00034 #include "L1Trigger/RPCTrigger/interface/RPCBasicTrigConfig.h"
00035 #include "L1Trigger/RPCTrigger/interface/RPCPacData.h"
00036 #include "L1Trigger/RPCTrigger/interface/RPCConst.h"
00037 #include "L1Trigger/RPCTrigger/interface/RPCPacManager.h"
00038 #include "CondFormats/DataRecord/interface/L1RPCHsbConfigRcd.h"
00039 #include "CondFormats/L1TObjects/interface/L1RPCHsbConfig.h"
00040 #include "DataFormats/RPCDigi/interface/RPCDigiL1Link.h"
00041 #include <memory>
00042 #include <vector>
00043 
00044 
00045 
00046 //class RPCTriggerGeo;
00047 
00048 class RPCTrigger : public edm::EDProducer {
00049   public:
00050     explicit RPCTrigger(const edm::ParameterSet&);
00051     ~RPCTrigger();
00052 
00053 
00054     virtual void produce(edm::Event&, const edm::EventSetup&);
00055   private:
00056       // ----------member data ---------------------------
00057     
00058     
00059     RPCConeBuilderFromES m_theLinksystemFromES;
00060 
00061     RPCPacManager<RPCPacData> m_pacManager;
00062     
00063     RPCBasicTrigConfig* m_trigConfig;
00064     
00065     RPCPacTrigger* m_pacTrigger;
00066  
00067     bool m_firstRun;   
00068     int m_triggerDebug;
00069     unsigned long long m_cacheID;
00070     // TODO keep L1MuRegionalCandVec equally as RPCDigiL1LinkVec
00071     std::vector<L1MuRegionalCand> giveFinallCandindates(L1RpcTBMuonsVec finalMuons, int type, int bx,   
00072                                      edm::Handle<RPCDigiCollection> rpcDigis, std::vector<RPCDigiL1Link> & retRPCDigiLink);
00073 
00074     std::string m_label;
00075 
00076 };
00077 
00078 
00079 #endif