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 "TChain.h" 00009 00010 00017 class EventHeader { 00018 public: 00019 EventHeader(); 00020 ~EventHeader(); 00021 00022 void setup(TTree* tree); 00023 00025 void analyze(edm::Event const& iEvent, TTree* tree); 00026 00027 private: 00028 00029 // Tree variables 00030 int fRun; 00031 int fEvent; 00032 int fLumiBlock; 00033 int fBx; 00034 int fOrbit; 00035 double fAvgInstDelLumi; 00036 00037 // input variables 00038 bool _Debug; 00039 00040 // trigger names 00041 }; 00042 00043 #endif