|
The Rivet MC analysis system
2.4.1
|
#include <BinnedHistogram.hh>
List of all members.
Detailed Description
template<typename T>
class Rivet::BinnedHistogram< T >
BinnedHistogram contains a series of histograms of the same quantity each in a different region of a second quantity. For example, a BinnedHistogram may contain histograms of the cross section differential in in different regions.
Definition at line 19 of file BinnedHistogram.hh.
Constructor & Destructor Documentation
Member Function Documentation
Add a histogram in the region between binMin and binMax to this set of BinnedHistograms.
Definition at line 11 of file BinnedHistogram.cc.
Referenced by CMS_2015_I1327224::init(), CMS_2011_S8950903::init(), CMS_2011_S8968497::init(), CMS_2012_I1090423::init(), CDF_2007_S7057202::init(), CMS_2011_S9086218::init(), ATLAS_2011_I930220::init(), LHCF_2012_I1115479::init(), CMS_2013_I1208923::init(), D0_2010_S8570965::init(), ATLAS_2014_I1268975::init(), ATLAS_2012_I1204784::init(), ATLAS_2014_I1325553::init(), ATLAS_2010_S8817804::init(), D0_1996_S3324664::init(), D0_2010_S8821313::init(), CDF_2008_S7828950::init(), ATLAS_2014_I1300647::init(), LHCB_2011_I919315::init(), LHCB_2013_I1218996::init(), D0_2009_S8320160::init(), ATLAS_2011_S8971293::init(), CDF_2001_S4517016::init(), ATLAS_2012_I1082936::init(), D0_2010_S8566488::init(), CDF_1996_S3418421::init(), ATLAS_2014_I1326641::init(), ATLAS_2012_I1094564::init(), ATLAS_2012_I1125575::initializeHistograms(), and ATLAS_2011_S9126244::initializePlots().
{
if (binMin > binMax) {
throw Error
("Cannot add a binned histogram where the lower bin edge is above the upper edge");
}
_histosByUpperBound[binMax] = histo;
_histosByLowerBound[binMin] = histo;
bool found = false;
foreach (Histo1DPtr hist, _histos) {
if (hist == histo) {
found = true;
break;
}
}
if (!found){
_histos.push_back(histo);
_binWidths[histo]=binMax-binMin;
}
return *this;
}
Fill the histogram that lies in the same region as bin with the value val of weight weight.
Definition at line 39 of file BinnedHistogram.cc.
Referenced by CMS_2015_I1327224::analyze(), CMS_2011_S8950903::analyze(), LHCF_2012_I1115479::analyze(), CMS_2011_S8968497::analyze(), CMS_2012_I1090423::analyze(), CMS_2011_S9086218::analyze(), CDF_2007_S7057202::analyze(), D0_1996_S3324664::analyze(), CDF_2008_S7828950::analyze(), CMS_2013_I1208923::analyze(), CDF_2001_S4517016::analyze(), ATLAS_2011_I930220::analyze(), D0_2010_S8821313::analyze(), D0_2010_S8570965::analyze(), LHCB_2011_I919315::analyze(), D0_2010_S8566488::analyze(), ATLAS_2011_S8971293::analyze(), CDF_1996_S3418421::analyze(), ATLAS_2014_I1268975::analyze(), D0_2009_S8320160::analyze(), ATLAS_2014_I1325553::analyze(), ATLAS_2010_S8817804::analyze(), ATLAS_2014_I1326641::analyze(), LHCB_2013_I1218996::analyze(), ATLAS_2012_I1082936::analyze(), ATLAS_2012_I1094564::analyze(), ATLAS_2011_S9126244::analyzeJets(), ATLAS_2012_I1125575::fillHistograms(), ATLAS_2012_I1204784::fillPlots(), and ATLAS_2014_I1300647::FillPlots3d().
Definition at line 43 of file BinnedHistogram.hh.
Referenced by CMS_2011_S8950903::finalize(), CMS_2015_I1327224::finalize(), CMS_2011_S8968497::finalize(), CMS_2012_I1090423::finalize(), ATLAS_2011_S8971293::finalize(), CDF_1996_S3418421::finalize(), D0_2009_S8320160::finalize(), D0_1996_S3324664::finalize(), D0_2010_S8821313::finalize(), ATLAS_2014_I1300647::finalize(), ATLAS_2012_I1204784::finalize(), LHCB_2013_I1218996::finalize(), ATLAS_2011_S9126244::finalize(), ATLAS_2012_I1094564::finalize(), and ATLAS_2012_I1125575::finalizeHistograms().
Scale histograms taking into account its "external" binwidth, i.e. by scale/binWidth
Definition at line 74 of file BinnedHistogram.cc.
References Analysis::scale().
Referenced by CMS_2011_S9086218::finalize(), CDF_2008_S7828950::finalize(), CDF_2007_S7057202::finalize(), LHCF_2012_I1115479::finalize(), CDF_2001_S4517016::finalize(), D0_2010_S8566488::finalize(), CMS_2013_I1208923::finalize(), LHCB_2011_I919315::finalize(), ATLAS_2014_I1325553::finalize(), ATLAS_2014_I1268975::finalize(), ATLAS_2014_I1326641::finalize(), ATLAS_2010_S8817804::finalize(), ATLAS_2012_I1082936::finalize(), ATLAS_2011_I930220::finalize(), and D0_2010_S8570965::finalize().
Member Data Documentation
The documentation for this class was generated from the following files:
|