ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisEventDataFormat.h
Revision: 1.3
Committed: Fri Sep 21 13:18:45 2012 UTC (12 years, 7 months ago) by jbrooke
Content type: text/plain
Branch: MAIN
CVS Tags: V01-01-00, jimb4Jan2013, V01-00-00, HEAD
Changes since 1.2: +2 -0 lines
Log Message:
update for PU re-weighting

File Contents

# User Rev Content
1 econte 1.1 #ifndef __L1Analysis_L1AnalysisEventDataFormat_H__
2     #define __L1Analysis_L1AnalysisEventDataFormat_H__
3    
4     //-------------------------------------------------------------------------------
5     // Created 15/04/2010 - E. Conte, A.C. Le Bihan
6     //
7     //
8     // Original code : UserCode/L1TriggerDPG/L1NtupleProducer
9     //-------------------------------------------------------------------------------
10    
11     // #include <inttypes.h>
12     #include <TROOT.h>
13 guiducci 1.2 #include <vector>
14     #include <TString.h>
15 econte 1.1
16     namespace L1Analysis
17     {
18     struct L1AnalysisEventDataFormat
19     {
20     L1AnalysisEventDataFormat() {Reset();}
21     ~L1AnalysisEventDataFormat(){}
22    
23     void Reset()
24     {
25     run = -1;
26     event = -1;
27     lumi = -1;
28     bx = -1;
29     orbit = 0;
30     time = 0;
31 guiducci 1.2 hlt.resize(0);
32 econte 1.1 }
33    
34     int run;
35     int event;
36     int lumi;
37     int bx;
38     //boost::uint64_t orbit;
39     ULong64_t orbit;
40     //boost::uint64_t time;
41     ULong64_t time;
42 guiducci 1.2 std::vector<TString> hlt;
43 jbrooke 1.3
44     double puWeight;
45 econte 1.1
46     };
47     }
48     #endif
49    
50