ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/MCEventInfo.h
Revision: 1.2
Committed: Wed Sep 10 03:33:26 2008 UTC (16 years, 7 months ago) by loizides
Content type: text/plain
Branch: MAIN
Changes since 1.1: +3 -3 lines
Log Message:
Cleanup

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: MCEventInfo.h,v 1.1 2008/08/29 01:53:26 loizides Exp $
3 loizides 1.1 //
4     // MCEventInfo
5     //
6     // Authors: C.Loizides
7     //--------------------------------------------------------------------------------------------------
8    
9 loizides 1.2 #ifndef MITANA_DATATREE_MCEVENTINFO_H
10     #define MITANA_DATATREE_MCEVENTINFO_H
11 loizides 1.1
12     #include "MitAna/DataTree/interface/Types.h"
13    
14     namespace mithep
15     {
16     class MCEventInfo
17     {
18     public:
19     MCEventInfo(Double_t w=0) : fWeight(w) {}
20     virtual ~MCEventInfo() {}
21    
22     Double_t Weight() const { return fWeight; }
23     void SetWeight(Double_t w) { fWeight=w; }
24    
25     protected:
26     Double32_t fWeight; //event weight
27    
28     ClassDef(MCEventInfo, 1) // Monte-Carlo event info class
29     };
30     }
31     #endif