CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/PhysicsTools/PatAlgos/plugins/PATTriggerEventProducer.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_PatAlgos_PATTriggerEventProducer_h
00002 #define PhysicsTools_PatAlgos_PATTriggerEventProducer_h
00003 
00004 
00005 // -*- C++ -*-
00006 //
00007 // Package:    PatAlgos
00008 // Class:      pat::PATTriggerEventProducer
00009 //
00010 // $Id: PATTriggerEventProducer.h,v 1.11 2010/11/27 15:16:20 vadler Exp $
00011 //
00032 #include "FWCore/Framework/interface/Frameworkfwd.h"
00033 #include "FWCore/Framework/interface/EDProducer.h"
00034 
00035 #include <string>
00036 #include <vector>
00037 
00038 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00039 #include "FWCore/Utilities/interface/InputTag.h"
00040 
00041 #include "DataFormats/Common/interface/ConditionsInEdm.h"
00042 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
00043 
00044 
00045 namespace pat {
00046 
00047   class PATTriggerEventProducer : public edm::EDProducer {
00048 
00049     public:
00050 
00051       explicit PATTriggerEventProducer( const edm::ParameterSet & iConfig );
00052       ~PATTriggerEventProducer() {};
00053 
00054     private:
00055 
00056       virtual void beginRun( edm::Run & iRun, const edm::EventSetup & iSetup );
00057       virtual void beginLuminosityBlock( edm::LuminosityBlock & iLumi, const edm::EventSetup & iSetup );
00058       virtual void produce( edm::Event & iEvent, const edm::EventSetup & iSetup );
00059 
00060       std::string                  nameProcess_;        // configuration
00061       bool                         autoProcessName_;
00062       edm::InputTag                tagTriggerProducer_; // configuration (optional with default)
00063       std::vector< edm::InputTag > tagsTriggerMatcher_; // configuration (optional)
00064       // L1
00065       edm::InputTag                tagL1Gt_;            // configuration (optional with default)
00066       // HLT
00067       HLTConfigProvider            hltConfig_;
00068       bool                         hltConfigInit_;
00069       edm::InputTag                tagTriggerResults_;  // configuration (optional with default)
00070       edm::InputTag                tagTriggerEvent_;    // configuration (optional with default)
00071       // Conditions
00072       edm::InputTag                tagCondGt_;          // configuration (optional with default)
00073       edm::ConditionsInRunBlock    condRun_;
00074       edm::ConditionsInLumiBlock   condLumi_;
00075       bool                         gtCondRunInit_;
00076       bool                         gtCondLumiInit_;
00077 
00078   };
00079 
00080 }
00081 
00082 
00083 #endif