CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/HLTrigger/HLTanalyzers/interface/EventHeader.h

Go to the documentation of this file.
00001 #ifndef EVTHDR_H
00002 #define EVTHDR_H
00003 
00004 #include "FWCore/Framework/interface/Event.h"
00005 #include "FWCore/Framework/interface/LuminosityBlock.h"
00006 #include "DataFormats/Luminosity/interface/LumiSummary.h" 
00007 #include "DataFormats/Luminosity/interface/LumiDetails.h" 
00008 #include "FWCore/Framework/interface/ESHandle.h"
00009 //#include "RecoLuminosity/LumiProducer/interface/LumiCorrectionParam.h"
00010 
00011 #include "TChain.h"
00012 
00013 
00020 class EventHeader {
00021 public:
00022   EventHeader(); 
00023         ~EventHeader();
00024 
00025   void setup(TTree* tree);
00026 
00028   //void analyze(edm::Event const& iEvent, const edm::ESHandle<LumiCorrectionParam> & lumiCorr, TTree* tree);
00029   void analyze(edm::Event const& iEvent, TTree* tree);
00030 
00031 private:
00032 
00033   // Tree variables
00034         int fRun;
00035         int fEvent;
00036         int fLumiBlock;
00037         int fBx;
00038         int fOrbit;
00039         double fAvgInstDelLumi;
00040 
00041   // input variables
00042   bool _Debug;
00043 
00044   // trigger names
00045 };
00046 
00047 #endif