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.3 by loizides, Tue Jun 24 14:01:41 2008 UTC vs.
Revision 1.10 by loizides, Wed Feb 18 15:38:54 2009 UTC

# Line 3 | Line 3
3   //
4   // RunInfo
5   //
6 + // This class holds run specific information. It is stored in a dedicated tree.
7   //
8   // Authors: C.Loizides
9   //--------------------------------------------------------------------------------------------------
10  
11 < #ifndef DATATREE_RUNINFO_H
12 < #define DATATREE_RUNINFO_H
11 > #ifndef MITANA_DATATREE_RUNINFO_H
12 > #define MITANA_DATATREE_RUNINFO_H
13  
14 < #include "MitAna/DataTree/interface/Types.h"
14 > #include "MitAna/DataTree/interface/DataBase.h"
15  
16   namespace mithep
17   {
18 <  class RunInfo
18 >  class RunInfo : public DataBase
19    {
20      public:
21 <      RunInfo() : fRunNum(0) {}
22 <      RunInfo(UInt_t run) : fRunNum(run) {}
22 <      virtual ~RunInfo() {}
21 >      RunInfo() : fRunNum(0), fL1Entry(0), fHltEntry(0) {}
22 >      RunInfo(UInt_t run) : fRunNum(run), fL1Entry(0), fHltEntry(0) {}
23  
24 <      UInt_t              RunNum()       const { return fRunNum; }
25 <      void                SetRunNum(UInt_t i)  { fRunNum=i; }
24 >      Int_t               HltEntry()     const { return fHltEntry; }
25 >      Int_t               L1Entry()      const { return fL1Entry;  }
26 >      EObjType            ObjType()      const { return kRunInfo;  }      
27 >      UInt_t              RunNum()       const { return fRunNum;   }
28 >      void                SetL1Entry(Int_t i)  { fL1Entry=i;       }
29 >      void                SetHltEntry(Int_t i) { fHltEntry=i;      }
30 >      void                SetRunNum(UInt_t i)  { fRunNum=i;        }
31  
32      protected:
33 <      UInt_t              fRunNum; // run number
34 <      
33 >      UInt_t              fRunNum;          //run number
34 >      Int_t               fL1Entry;         //entry for L1 block
35 >      Int_t               fHltEntry;        //entry for HLT block
36 >
37      ClassDef(RunInfo, 1) // Run info class
38    };
39   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines