ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TreeMod/src/BaseMod.cc
(Generate patch)

Comparing UserCode/MitAna/TreeMod/src/BaseMod.cc (file contents):
Revision 1.5 by loizides, Wed Dec 3 17:38:17 2008 UTC vs.
Revision 1.6 by loizides, Tue Dec 9 10:16:24 2008 UTC

# Line 10 | Line 10 | ClassImp(mithep::BaseMod)
10  
11   //--------------------------------------------------------------------------------------------------
12   BaseMod::BaseMod(const char *name, const char *title) :
13 <  TAModule(name,title),
13 >  TAModule(name,title),
14 >  fFillHist(kFALSE),
15    fHltFwkMod(0),
16    fHltFwkModName("HLTFwkMod"),
17 <  fNEventsProcessed(0)
17 >  fNEventsProc(0)
18   {
19    // Constructor.
20   }
# Line 68 | Line 69 | void BaseMod::SaveNEventsProcessed(const
69    // Save the number of processed events in a one-bin histogram.
70  
71    TH1D *hDEvents = new TH1D(name,"Total number of processed events",1,-0.5,0.5);
72 <  hDEvents->Fill(0.0,fNEventsProcessed);
73 <  hDEvents->SetEntries(fNEventsProcessed);
72 >  hDEvents->Fill(0.0,fNEventsProc);
73 >  hDEvents->SetEntries(fNEventsProc);
74    AddOutput(hDEvents);
75   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines