ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/src/EventHeader.cc
Revision: 1.2
Committed: Mon Jul 6 13:37:40 2009 UTC (15 years, 10 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_012c, Mit_012b, Mit_012a, Mit_012, Mit_011a, Mit_011, Mit_010a, Mit_010
Changes since 1.1: +21 -1 lines
Log Message:
Added timestamp, bx, orbitnumber, etc.

File Contents

# User Rev Content
1 loizides 1.2 // $Id: EventHeader.cc,v 1.1 2008/06/17 14:45:22 loizides Exp $
2 loizides 1.1
3     #include "MitAna/DataTree/interface/EventHeader.h"
4    
5     ClassImp(mithep::EventHeader)
6 loizides 1.2
7     using namespace mithep;
8    
9     //--------------------------------------------------------------------------------------------------
10     EventHeader::EventHeader() :
11     fTimeStamp(0), fBunchCrossing(-1), fOrbitNumber(-1), fStoreNumber(-1),
12     fRunNum(0), fEvtNum(0), fLumiSec(0), fRunEntry(-1), fWeight(1),
13     fExpType(0), fSkimmed(0), fIsMC(kTRUE)
14     {
15     // Default constructor.
16     }
17    
18     //--------------------------------------------------------------------------------------------------
19     EventHeader::EventHeader(UInt_t run, UInt_t evt, UInt_t lumi) :
20     fTimeStamp(0), fBunchCrossing(-1), fOrbitNumber(-1), fStoreNumber(-1),
21     fRunNum(run), fEvtNum(evt), fLumiSec(lumi), fRunEntry(-1), fWeight(1),
22     fExpType(0), fSkimmed(0), fIsMC(kTRUE)
23     {
24     // Constructor.
25     }