ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/LAHeader.h
Revision: 1.1
Committed: Tue Jun 24 14:01:41 2008 UTC (16 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added Look-ahead event header. Cleanup.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: EventHeader.h,v 1.3 2008/06/20 17:50:41 loizides Exp $
3     //
4     // LAHeader
5     //
6     // Look-ahead header information in a very compressed way. Just enough information to figure
7     // out if the run ends.
8     //
9     // Authors: C.Loizides
10     //--------------------------------------------------------------------------------------------------
11    
12     #ifndef DATATREE_LAHEADER_H
13     #define DATATREE_LAHEADER_H
14    
15     #include "MitAna/DataTree/interface/Types.h"
16    
17     namespace mithep
18     {
19     class LAHeader
20     {
21     public:
22     LAHeader() : fRunNum(0) {}
23     LAHeader(UInt_t run) : fRunNum(run) {}
24     virtual ~LAHeader() {}
25    
26     UInt_t RunNum() const { return fRunNum; }
27     void SetRunNum(UInt_t i) { fRunNum=i; }
28    
29     protected:
30     UInt_t fRunNum; // run number
31    
32     ClassDef(LAHeader, 1) // Look-ahead event header class
33     };
34     }
35     #endif