ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataTree/interface/MCEventInfo.h
(Generate patch)

Comparing UserCode/MitAna/DataTree/interface/MCEventInfo.h (file contents):
Revision 1.2 by loizides, Wed Sep 10 03:33:26 2008 UTC vs.
Revision 1.5 by loizides, Wed Dec 3 17:37:47 2008 UTC

# Line 9 | Line 9
9   #ifndef MITANA_DATATREE_MCEVENTINFO_H
10   #define MITANA_DATATREE_MCEVENTINFO_H
11  
12 < #include "MitAna/DataTree/interface/Types.h"
12 > #include "MitAna/DataTree/interface/DataBase.h"
13  
14   namespace mithep
15   {
16 <  class MCEventInfo
16 >  class MCEventInfo : public DataBase
17    {
18      public:
19        MCEventInfo(Double_t w=0) : fWeight(w)  {}
20 <      virtual ~MCEventInfo() {}
20 >      ~MCEventInfo() {}
21  
22 <      Double_t            Weight()       const { return fWeight; }
23 <      void                SetWeight(Double_t w)  { fWeight=w; }
22 >      Double_t            Weight()              const { return fWeight; }
23 >      void                SetWeight(Double_t w)       { fWeight=w; }
24  
25      protected:
26 <      Double32_t          fWeight;          //event weight
26 >      Double32_t          fWeight;              //event weight
27        
28      ClassDef(MCEventInfo, 1) // Monte-Carlo event info class
29    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines