ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/RunInfo.h
Revision: 1.1
Committed: Fri Jun 20 17:46:41 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added proof-of-principle runinfo class.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: RunInfo.h,v 1.2 2008/06/18 19:08:14 loizides Exp $
3     //
4     // RunInfo
5     //
6     //
7     // Authors: C.Loizides
8     //
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef DATATREE_RUNINFO_H
12     #define DATATREE_RUNINFO_H
13    
14     #include "MitAna/DataTree/interface/Types.h"
15    
16     namespace mithep
17     {
18     class RunInfo
19     {
20     public:
21     RunInfo() : fRunNum(0) {}
22     RunInfo(UInt_t run) : fRunNum(run) {}
23     virtual ~RunInfo() {}
24    
25     UInt_t RunNum() const { return fRunNum; }
26     void SetRunNum(UInt_t i) { fRunNum=i; }
27    
28     protected:
29     UInt_t fRunNum; // run number
30    
31     ClassDef(RunInfo, 1) // Run info class
32     };
33     }
34     #endif