ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/YieldStats.hh
(Generate patch)

Comparing UserCode/HbbAnalysis/interface/YieldStats.hh (file contents):
Revision 1.2 by agilbert, Thu Oct 27 09:27:10 2011 UTC vs.
Revision 1.4 by agilbert, Tue Nov 8 20:30:38 2011 UTC

# Line 30 | Line 30 | namespace HbbAnalysis {//namespace
30      void IncrementCount(unsigned run, unsigned binIndex, unsigned stepIndex,  double value);
31      void IncrementCount(unsigned run, std::string binName, std::string stepName, double value);
32  
33 <    double CalculateYield(std::string stepName) const;
33 >    double CalculateYield(std::string const& stepName) const;
34      double CalculateYield(std::string stepName, unsigned minRun, unsigned maxRun) const;
35 <    double CalculateYield(std::string stepName, std::vector<std::string> binNames) const;
36 <    double CalculateYield(std::string stepName, unsigned minRun, unsigned maxRun, std::vector<std::string> binNames) const;
35 >    double CalculateYield(std::string stepName, std::vector<std::string> const& binNames) const;
36 >    double CalculateYield(std::string const& stepName, unsigned minRun, unsigned maxRun, std::vector<std::string> const& binNames) const;
37 >
38 >    bool HasStep(std::string const& testStep) const { return stepIndexMap_.count(testStep); }
39  
40      //Access Methods
41      double & at(unsigned runIndex, unsigned binIndex, unsigned stepIndex);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines