Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:22

0001 #ifndef EVTHDR_H
0002 #define EVTHDR_H
0003 
0004 #include <TChain.h>
0005 
0006 #include "FWCore/Framework/interface/Event.h"
0007 #include "FWCore/Framework/interface/LuminosityBlock.h"
0008 #include "FWCore/Framework/interface/ConsumesCollector.h"
0009 #include "DataFormats/Luminosity/interface/LumiSummary.h"
0010 #include "DataFormats/Luminosity/interface/LumiDetails.h"
0011 
0012 /** \class EventHeader
0013   *  
0014   * $Date: November 2006
0015   * $Revision: 
0016   * \author V. Rekovic - UMinn
0017   */
0018 class EventHeader {
0019 public:
0020   EventHeader();
0021   ~EventHeader();
0022 
0023   void setup(edm::ConsumesCollector&& iC, TTree* tree);
0024 
0025   /** Analyze the Data */
0026   void analyze(edm::Event const& iEvent, TTree* tree);
0027 
0028 private:
0029   // Tree variables
0030   unsigned long long fEvent;
0031   int fLumiBlock;
0032   int fRun;
0033   int fBx;
0034   int fOrbit;
0035   double fAvgInstDelLumi;
0036 
0037   // input variables
0038   bool _Debug;
0039   edm::EDGetTokenT<LumiSummary> lumi_Token;
0040 
0041   // trigger names
0042 };
0043 
0044 #endif