CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoTauTag/HLTProducers/interface/L2TauJetsProvider.h

Go to the documentation of this file.
00001 
00002 #ifndef L2TAUJETSPROVIDER_H
00003 #define L2TAUJETSPROVIDER_H
00004 
00005 // user include files
00006 #include "FWCore/Framework/interface/Frameworkfwd.h"
00007 #include "FWCore/Framework/interface/EDProducer.h"
00008 
00009 #include "FWCore/Framework/interface/Event.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 #include "FWCore/Utilities/interface/InputTag.h"
00012 #include "DataFormats/Common/interface/Handle.h"
00013 #include "DataFormats/L1Trigger/interface/L1JetParticle.h"
00014 #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h"
00015 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
00016 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
00017 //#include "DataFormats/HLTReco/interface/TriggerRefsCollections.h"
00018 
00019 
00020 #include <map>
00021 #include <vector>
00022 
00023 class L2TauJetsProvider: public edm::EDProducer {
00024  public:
00025   explicit L2TauJetsProvider(const edm::ParameterSet&);
00026   ~L2TauJetsProvider();
00027   virtual void produce(edm::Event&, const edm::EventSetup&);
00028 
00029  private:
00030   std::vector<l1extra::L1JetParticleRef> tauCandRefVec;
00031 std::vector<l1extra::L1JetParticleRef> jetCandRefVec;
00032   std::vector<l1extra::L1JetParticleRef> objL1CandRefVec;
00033   l1extra::L1JetParticleRef tauCandRef;
00034     
00035   typedef std::vector<edm::InputTag> vtag;
00036   vtag jetSrc;
00037   edm::InputTag l1ParticlesTau;
00038   edm::InputTag l1ParticlesJet;
00039   edm::InputTag tauTrigger;
00040   double mEt_Min;
00041   std::map<int, const reco::CaloJet> myL2L1JetsMap; //first is # L1Tau , second is L2 jets
00042 };
00043 #endif