7 |
|
// Authors: C.Loizides |
8 |
|
//-------------------------------------------------------------------------------------------------- |
9 |
|
|
10 |
< |
#ifndef DATATREE_RUNINFO_H |
11 |
< |
#define DATATREE_RUNINFO_H |
10 |
> |
#ifndef MITANA_DATATREE_RUNINFO_H |
11 |
> |
#define MITANA_DATATREE_RUNINFO_H |
12 |
|
|
13 |
|
#include "MitAna/DataTree/interface/Types.h" |
14 |
|
|
17 |
|
class RunInfo |
18 |
|
{ |
19 |
|
public: |
20 |
< |
RunInfo() : fRunNum(0) {} |
20 |
> |
RunInfo() : fRunNum(0), fL1Entry(0), fHltEntry(0) {} |
21 |
|
RunInfo(UInt_t run) : fRunNum(run) {} |
22 |
|
virtual ~RunInfo() {} |
23 |
|
|
24 |
+ |
Int_t HltEntry() const { return fHltEntry; } |
25 |
+ |
Int_t L1Entry() const { return fL1Entry; } |
26 |
|
UInt_t RunNum() const { return fRunNum; } |
27 |
+ |
void SetL1Entry(Int_t i) { fL1Entry=i; } |
28 |
+ |
void SetHltEntry(Int_t i) { fHltEntry=i; } |
29 |
|
void SetRunNum(UInt_t i) { fRunNum=i; } |
30 |
|
|
31 |
|
protected: |
32 |
< |
UInt_t fRunNum; // run number |
33 |
< |
|
32 |
> |
UInt_t fRunNum; //run number |
33 |
> |
Int_t fL1Entry; //entry for L1 block |
34 |
> |
Int_t fHltEntry; //entry for HLT block |
35 |
> |
|
36 |
|
ClassDef(RunInfo, 1) // Run info class |
37 |
|
}; |
38 |
|
} |
39 |
|
#endif |
40 |
+ |
|