Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:23:28

0001 #ifndef __L1Analysis_L1AnalysisEventDataFormat_H__
0002 #define __L1Analysis_L1AnalysisEventDataFormat_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 15/04/2010 - E. Conte, A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1NtupleProducer
0009 //-------------------------------------------------------------------------------
0010 
0011 // #include <inttypes.h>
0012 #include <vector>
0013 #include <TString.h>
0014 
0015 namespace L1Analysis {
0016   struct L1AnalysisEventDataFormat {
0017     L1AnalysisEventDataFormat() { Reset(); }
0018     ~L1AnalysisEventDataFormat() {}
0019 
0020     void Reset() {
0021       run = -1;
0022       event = -1;
0023       lumi = -1;
0024       bx = -1;
0025       orbit = 0;
0026       time = 0;
0027       hlt.resize(0);
0028     }
0029 
0030     unsigned run;
0031     unsigned long long event;
0032     unsigned lumi;
0033     unsigned bx;
0034     //uint64_t orbit;
0035     ULong64_t orbit;
0036     //uint64_t time;
0037     ULong64_t time;
0038     int nPV;
0039     int nPV_True;
0040     std::vector<TString> hlt;
0041 
0042     double puWeight;
0043   };
0044 }  // namespace L1Analysis
0045 #endif