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.9 by phedex, Fri Jul 3 06:13:36 2009 UTC vs.
Revision 1.11 by loizides, Tue Aug 11 15:19:32 2009 UTC

# Line 22 | Line 22 | namespace mithep
22        MCEventInfo() : fProcessId(0), fScale(0), fWeight(0), fId1(0), fId2(0),
23                        fX1(0), fX2(0), fScalePdf(0), fPdf1(0), fPdf2(0), fFlavorHistoryPath(0) {}
24  
25 <      Char_t              Id1()                      const { return fId1;                 }
26 <      Char_t              Id2()                      const { return fId2;                 }
25 >      Int_t               Id1()                      const { return fId1;                 }
26 >      Int_t               Id2()                      const { return fId2;                 }
27        EObjType            ObjType()                  const { return kMCEventInfo;         }      
28        Double_t            Pdf1()                     const { return fPdf1;                }
29        Double_t            Pdf2()                     const { return fPdf2;                }
# Line 34 | Line 34 | namespace mithep
34        Double_t            X2()                       const { return fX2;                  }
35        Double_t            Weight()                   const { return fWeight;              }
36        Int_t               FlavorHistoryPath()        const { return fFlavorHistoryPath;   }
37 <      void                SetId1(Char_t id)                   { fId1       = id;          }
38 <      void                SetId2(Char_t id)                   { fId2       = id;          }
37 >      void                SetId1(Int_t id)                    { fId1       = id;          }
38 >      void                SetId2(Int_t id)                    { fId2       = id;          }
39        void                SetPdf1(Double_t p)                 { fPdf1      = p;           }
40        void                SetPdf2(Double_t p)                 { fPdf2      = p;           }
41        void                SetProcessId(Int_t id)              { fProcessId = id;          }
# Line 50 | Line 50 | namespace mithep
50        Int_t         fProcessId;           //process id
51        Double32_t    fScale;               //scale
52        Double32_t    fWeight;              //weight
53 <      Char_t        fId1;                 //pdg of first parton
54 <      Char_t        fId2;                 //pdg of second parton
53 >      Int_t         fId1;                 //pdg of first parton
54 >      Int_t         fId2;                 //pdg of second parton
55        Double32_t    fX1;                  //bjorken x1
56        Double32_t    fX2;                  //bjorken x2
57        Double32_t    fScalePdf;            //scale (Q^2)
# Line 59 | Line 59 | namespace mithep
59        Double32_t    fPdf2;                //pdf2/x2
60        Int_t         fFlavorHistoryPath;   //Number indicating flavor history
61  
62 <    ClassDef(MCEventInfo, 1) // Monte-Carlo event info class
62 >    ClassDef(MCEventInfo, 3) // Monte-Carlo event info class
63    };
64   }
65   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines