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.11 by loizides, Fri Jul 17 21:01:27 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), fHltEntry(0) {}
22 >      RunInfo(UInt_t run) : fRunNum(run), 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 >      EObjType            ObjType()      const { return kRunInfo;  }      
26 >      UInt_t              RunNum()       const { return fRunNum;   }
27 >      void                SetHltEntry(Int_t i) { fHltEntry=i;      }
28 >      void                SetRunNum(UInt_t i)  { fRunNum=i;        }
29  
30      protected:
31 <      UInt_t              fRunNum; // run number
32 <      
33 <    ClassDef(RunInfo, 1) // Run info class
31 >      UInt_t              fRunNum;          //run number
32 >      Int_t               fHltEntry;        //entry for HLT block
33 >
34 >    ClassDef(RunInfo, 2) // Run info class
35    };
36   }
37   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines