ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPlots/Input/src/Sample.cc
(Generate patch)

Comparing UserCode/MitPlots/Input/src/Sample.cc (file contents):
Revision 1.2 by paus, Tue Jan 25 11:30:30 2011 UTC vs.
Revision 1.3 by paus, Wed Mar 28 12:10:21 2012 UTC

# Line 8 | Line 8 | using namespace std;
8   using namespace mithep;
9  
10   //--------------------------------------------------------------------------------------------------
11 < Sample::Sample(const char *name, const char* file, const char* dir,
11 > Sample::Sample(const char *name, const char *skimName, const char* file, const char* dir,
12                 const double xsec, const double scale) :
13 <  fName  (name),
14 <  fLegend(""),
15 <  fFile  (file),
16 <  fDir   (dir),
17 <  fXsec  (xsec),
18 <  fScale (scale)
13 >  fName    (name),
14 >  fSkimName(skimName),
15 >  fLegend  (""),
16 >  fFile    (file),
17 >  fDir     (dir),
18 >  fXsec    (xsec),
19 >  fScale   (scale)
20   {
21    // Constructor
22   }
# Line 23 | Line 24 | Sample::Sample(const char *name, const c
24   void Sample::Show() const
25   {
26    // Show information of this sample
27 <  printf(" %-30s %-20s %-60s  %20.7f %7.3f\n",fName.Data(),fLegend.Data(),fFile.Data(),fXsec,fScale);
27 >  printf(" %-30s %-6s %-20s %-60s  %20.7f %7.3f\n",fName.Data(),fSkimName.Data(),fLegend.Data(),
28 >         fFile.Data(),fXsec,fScale);
29   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines