ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/RunInfo.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/RunInfo.h (file contents):
Revision 1.2 by loizides, Mon Jun 23 19:39:51 2008 UTC vs.
Revision 1.6 by loizides, Wed Sep 17 04:17:56 2008 UTC

# Line 5 | Line 5
5   //
6   //
7   // Authors: C.Loizides
8 //
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  
# Line 18 | Line 17 | namespace mithep
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 <      
34 <      ClassDef(RunInfo, 1) // Run info class
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 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines