|
|
Rivet 4.0.0
|
Base class providing common functionality for MC jet validation analyses.
More...
#include <MC_JETS_BASE.hh>
|
| MC_JETS_BASE (const string &name, size_t njet, const string &jetpro_name, double jetptcut=20 *GeV) |
| Default constructor.
|
|
AnalysisHandler & | handler () const |
| Access the controlling AnalysisHandler object.
|
|
double | dbl (double x) |
|
double | dbl (const YODA::Counter &c) |
|
double | dbl (const YODA::Estimate0D &e) |
|
double | dbl (const YODA::Scatter1D &s) |
|
const vector< MultiplexAOPtr > & | analysisObjects () const |
| List of registered analysis data objects.
|
|
void | markAsOwned () const |
| Mark this object as owned by a proj-handler.
|
|
|
virtual void | init () |
|
virtual void | analyze (const Event &event) |
|
virtual void | finalize () |
|
|
void | syncDeclQueue () |
|
|
Metadata is used for querying from the command line and also for building web pages and the analysis pages in the Rivet manual.
|
void | loadInfo () |
| Get the AnalysisInfo object to parse its info file in which the metadata is stored.
|
|
const AnalysisInfo & | info () const |
| Get the actual AnalysisInfo object in which all this metadata is stored.
|
|
AnalysisInfo & | info () |
| Get the actual AnalysisInfo object in which all this metadata is stored (non-const).
|
|
virtual std::string | name () const |
| Get the name of the analysis.
|
|
std::string | analysisDataPath (const std::string &extn, const std::string &suffix="") |
| Get the path to a data file associated with this analysis.
|
|
virtual std::string | inspireID () const |
| Get the Inspire ID code for this analysis.
|
|
virtual std::string | spiresID () const |
| Get the SPIRES ID code for this analysis (~deprecated).
|
|
virtual std::vector< std::string > | authors () const |
| Names & emails of paper/analysis authors.
|
|
virtual std::string | summary () const |
| Get a short description of the analysis.
|
|
virtual std::string | description () const |
| Get a full description of the analysis.
|
|
virtual std::string | runInfo () const |
| Information about the events needed as input for this analysis.
|
|
virtual std::string | experiment () const |
| Experiment which performed and published this analysis.
|
|
virtual std::string | collider () const |
| Collider on which the experiment ran.
|
|
virtual std::string | year () const |
| When the original experimental analysis was published.
|
|
virtual double | luminosityfb () const |
| The integrated luminosity in inverse femtobarn.
|
|
virtual double | luminosity () const |
| The integrated luminosity in inverse picobarn.
|
|
double | luminositypb () const |
| The integrated luminosity in inverse picobarn.
|
|
virtual std::vector< std::string > | references () const |
| Journal, and preprint references.
|
|
virtual std::string | bibKey () const |
| BibTeX citation key for this article.
|
|
virtual std::string | bibTeX () const |
| BibTeX citation entry for this article.
|
|
virtual std::string | status () const |
| Whether this analysis is trusted (in any way!)
|
|
virtual std::string | warning () const |
| A warning message from the info file, if there is one.
|
|
virtual std::vector< std::string > | todos () const |
| Any work to be done on this analysis.
|
|
virtual std::vector< std::string > | validation () const |
| make-style commands for validating this analysis.
|
|
virtual bool | reentrant () const |
| Does this analysis have a reentrant finalize()?
|
|
virtual const std::vector< std::string > & | keywords () const |
| Get vector of analysis keywords.
|
|
virtual std::string | refMatch () const |
| Positive filtering regex for ref-data HepData sync.
|
|
virtual std::string | refUnmatch () const |
| Negative filtering regex for ref-data HepData sync.
|
|
virtual std::string | writerDoublePrecision () const |
| Positive filtering regex for setting double precision in Writer.
|
|
virtual const std::vector< PdgIdPair > & | requiredBeamIDs () const |
| Return the allowed pairs of incoming beams required by this analysis.
|
|
virtual Analysis & | setRequiredBeamIDs (const std::vector< PdgIdPair > &beamids) |
| Declare the allowed pairs of incoming beams required by this analysis.
|
|
virtual const std::vector< std::pair< double, double > > & | requiredBeamEnergies () const |
| Sets of valid beam energy pairs, in GeV.
|
|
virtual Analysis & | setRequiredBeamEnergies (const std::vector< std::pair< double, double > > &energies) |
| Declare the list of valid beam energy pairs, in GeV.
|
|
virtual std::string | refFile () const |
| Location of reference data YODA file.
|
|
virtual std::string | refDataName () const |
| Get name of reference data file, which could be different from plugin name.
|
|
virtual void | setRefDataName (const std::string &ref_data="") |
| Set name of reference data file, which could be different from plugin name.
|
|
|
bool | merging () const |
| Check if we are running rivet-merge.
|
|
bool | compatibleWithRun () const |
| Check if the given conditions are compatible with this analysis' declared constraints.
|
|
|
const ParticlePair & | beams () const |
| Incoming beams for this run.
|
|
PdgIdPair | beamIDs () const |
| Incoming beam IDs for this run.
|
|
pair< double, double > | beamEnergies () const |
| Incoming beam energies for this run.
|
|
double | sqrtS () const |
| Centre of mass energy for this run.
|
|
bool | beamsMatch (const ParticlePair &beams) const |
| Check if analysis is compatible with the provided beam particle IDs and energies.
|
|
bool | beamsMatch (PdgId beam1, PdgId beam2, double e1, double e2) const |
| Check if analysis is compatible with the provided beam particle IDs and energies.
|
|
bool | beamsMatch (const PdgIdPair &beams, const std::pair< double, double > &energies) const |
| Check if analysis is compatible with the provided beam particle IDs and energies in GeV.
|
|
bool | beamIDsMatch (PdgId beam1, PdgId beam2) const |
| Check if analysis is compatible with the provided beam particle IDs.
|
|
bool | beamIDsMatch (const PdgIdPair &beamids) const |
| Check if analysis is compatible with the provided beam particle IDs.
|
|
bool | beamEnergiesMatch (double e1, double e2) const |
| Check if analysis is compatible with the provided beam energies.
|
|
bool | beamEnergiesMatch (const std::pair< double, double > &energies) const |
| Check if analysis is compatible with the provided beam energies.
|
|
bool | beamEnergyMatch (const std::pair< double, double > &energies) const |
| Check if analysis is compatible with the provided CoM energy.
|
|
bool | beamEnergyMatch (double sqrts) const |
| Check if analysis is compatible with the provided CoM energy.
|
|
bool | isCompatibleWithSqrtS (double energy, double tolerance=1e-5) const |
| Check if sqrtS is compatible with provided value.
|
|
|
template<typename T > |
Percentile< T > | book (const string &projName, const vector< pair< double, double > > ¢ralityBins, const vector< tuple< size_t, size_t, size_t > > &ref) |
| Book a Percentile Multiplexer around AnalysisObjects.
|
|
const CentralityProjection & | declareCentrality (const SingleValueProjection &proj, string calAnaName, string calHistName, const string projName, PercentileOrder pctorder=PercentileOrder::DECREASING) |
| Book a CentralityProjection.
|
|
|
const std::map< std::string, std::string > & | options () const |
| Return the map of all options given to this analysis.
|
|
std::string | getOption (std::string optname, string def="") const |
| Get an option for this analysis instance as a string.
|
|
std::string | getOption (std::string optname, const char *def) |
| Sane overload for literal character strings (which don't play well with stringstream)
|
|
template<typename T > |
T | getOption (std::string optname, T def) const |
| Get an option for this analysis instance converted to a specific type.
|
|
bool | getOption (std::string optname, bool def) const |
| Get an option for this analysis instance converted to a bool.
|
|
|
std::set< ConstProjectionPtr > | getProjections () const |
| Get the contained projections, including recursion.
|
|
std::set< ConstProjectionPtr > | getImmediateChildProjections () const |
| Get the contained projections, excluding recursion.
|
|
bool | hasProjection (const std::string &name) const |
| Does this applier have a projection registered under the name name?
|
|
template<typename PROJ > |
const PROJ & | getProjection (const std::string &name) const |
|
const Projection & | getProjection (const std::string &name) const |
|
template<typename PROJ > |
const PROJ & | get (const std::string &name) const |
|
template<typename PROJ > |
const PROJ & | getProjectionFromDeclQueue (const std::string name) const |
|
|
template<typename PROJ = Projection> |
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > | apply (const Event &evt, const Projection &proj) const |
| Apply the supplied projection on event evt.
|
|
template<typename PROJ = Projection> |
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > | apply (const Event &evt, const PROJ &proj) const |
| Apply the supplied projection on event evt (user-facing alias).
|
|
template<typename PROJ = Projection> |
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > | apply (const Event &evt, const std::string &name) const |
| Apply the supplied projection on event evt (user-facing alias).
|
|
template<typename PROJ = Projection> |
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > | apply (const std::string &name, const Event &evt) const |
| Apply the supplied projection on event evt (convenience arg-reordering alias).
|
|
|
Log & | getLog () const |
| Get a Log object based on the name() property of the calling analysis object.
|
|
double | crossSection () const |
| Get the process cross-section in pb. Throws if this hasn't been set.
|
|
double | crossSectionPerEvent () const |
|
double | crossSectionError () const |
| Get the process cross-section error in pb. Throws if this hasn't been set.
|
|
double | crossSectionErrorPerEvent () const |
|
size_t | numEvents () const |
| Get the number of events seen (via the analysis handler).
|
|
double | sumW () const |
| Get the sum of event weights seen (via the analysis handler).
|
|
double | sumOfWeights () const |
| Alias.
|
|
double | sumW2 () const |
| Get the sum of squared event weights seen (via the analysis handler).
|
|
const std::string | histoDir () const |
| Get the canonical histogram "directory" path for this analysis.
|
|
const std::string | histoPath (const std::string &hname) const |
| Get the canonical histogram path for the named histogram in this analysis.
|
|
const std::string | histoPath (unsigned int datasetID, unsigned int xAxisID, unsigned int yAxisID) const |
| Get the canonical histogram path for the numbered histogram in this analysis.
|
|
const std::string | mkAxisCode (unsigned int datasetID, unsigned int xAxisID, unsigned int yAxisID) const |
| Get the internal histogram name for given d, x and y (cf. HepData)
|
|
CounterPtr & | book (CounterPtr &, const std::string &name) |
| Book a counter.
|
|
CounterPtr & | book (CounterPtr &, unsigned int datasetID, unsigned int xAxisID, unsigned int yAxisID) |
|
CutflowPtr & | book (CutflowPtr &ao, const string &name, const std::vector< std::string > &edges) |
| Book a Cutflow object defined by the vector of edges.
|
|
CutflowPtr & | book (CutflowPtr &ao, const string &name, const std::initializer_list< std::string > &edges) |
| Book a Cutflow object defined by the vector of edges.
|
|
ProjectionHandler & | getProjHandler () const |
| Get a reference to the ProjectionHandler for this thread.
|
|
void | setProjectionHandler (ProjectionHandler &projectionHandler) const |
|
|
H5::File | auxFile () const |
| Read in an aux data HDF5 file.
|
|
template<typename T > |
bool | auxData (const string &dsname, T &rtndata) |
| Read HDF5 file filename.
|
|
template<typename T > |
T | auxData (const string &dsname) |
|
|
const std::map< std::string, YODA::AnalysisObjectPtr > & | refData () const |
| Get all reference data objects for this analysis.
|
|
template<typename T = YODA::Estimate1D> |
const T & | refData (const string &hname) const |
|
template<typename T = YODA::Estimate1D> |
const T & | refData (unsigned int datasetId, unsigned int xAxisId, unsigned int yAxisId) const |
|
|
Estimate0DPtr & | book (Estimate0DPtr &, const std::string &name) |
| Book an estimate.
|
|
Estimate0DPtr & | book (Estimate0DPtr &, unsigned int datasetID, unsigned int xAxisID, unsigned int yAxisID) |
|
|
template<size_t DbnN, typename... AxisT, typename = YODA::enable_if_all_CAxisT<AxisT...>> |
BinnedDbnPtr< DbnN, AxisT... > & | book (BinnedDbnPtr< DbnN, AxisT... > &ao, const std::string &name, const std::vector< size_t > &nbins, const std::vector< std::pair< double, double > > &loUpPairs) |
| Book a ND histogram with nbins uniformly distributed across the range lower - upper .
|
|
Histo1DPtr & | book (Histo1DPtr &ao, const std::string &name, const size_t nbins, const double lower, const double upper) |
|
Profile1DPtr & | book (Profile1DPtr &ao, const std::string &name, const size_t nbins, const double lower, const double upper) |
|
Histo2DPtr & | book (Histo2DPtr &ao, const std::string &name, const size_t nbinsX, const double lowerX, const double upperX, const size_t nbinsY, const double lowerY, const double upperY) |
|
Profile2DPtr & | book (Profile2DPtr &ao, const std::string &name, const size_t nbinsX, const double lowerX, const double upperX, const size_t nbinsY, const double lowerY, const double upperY) |
|
Histo3DPtr & | book (Histo3DPtr &ao, const std::string &name, const size_t nbinsX, const double lowerX, const double upperX, const size_t nbinsY, const double lowerY, const double upperY, const size_t nbinsZ, const double lowerZ, const double upperZ) |
|
Profile3DPtr & | book (Profile3DPtr &ao, const std::string &name, const size_t nbinsX, const double lowerX, const double upperX, const size_t nbinsY, const double lowerY, const double upperY, const size_t nbinsZ, const double lowerZ, const double upperZ) |
|
template<size_t DbnN, typename... AxisT> |
BinnedDbnPtr< DbnN, AxisT... > & | book (BinnedDbnPtr< DbnN, AxisT... > &ao, const std::string &name, const std::vector< AxisT > &... binedges) |
| Book a ND histogram with non-uniform bins defined by the vector of bin edges binedges .
|
|
template<size_t DbnN, typename... AxisT> |
BinnedDbnPtr< DbnN, AxisT... > & | book (BinnedDbnPtr< DbnN, AxisT... > &ao, const std::string &name, const std::initializer_list< AxisT > &... binedges) |
| Book a ND histogram with non-uniform bins defined by the vector of bin edges binedges .
|
|
template<size_t DbnN, typename... AxisT> |
BinnedDbnPtr< DbnN, AxisT... > & | book (BinnedDbnPtr< DbnN, AxisT... > &ao, const std::string &name, const YODA::BinnedEstimate< AxisT... > &refest) |
| Book a ND histogram with binning from a reference scatter.
|
|
template<size_t DbnN, typename... AxisT> |
BinnedDbnPtr< DbnN, AxisT... > & | book (BinnedDbnPtr< DbnN, AxisT... > &ao, const std::string &name) |
| Book a ND histogram, using the binnings in the reference data histogram.
|
|
template<size_t DbnN, typename... AxisT> |
BinnedDbnPtr< DbnN, AxisT... > & | book (BinnedDbnPtr< DbnN, AxisT... > &ao, const unsigned int datasetID, const unsigned int xAxisID, const unsigned int yAxisID) |
|
|
template<typename GroupAxisT , typename... AxisT> |
HistoGroupPtr< GroupAxisT, AxisT... > & | book (HistoGroupPtr< GroupAxisT, AxisT... > &ao, const std::vector< GroupAxisT > &edges, const std::vector< std::string > &names) |
|
template<typename GroupAxisT , typename... AxisT> |
HistoGroupPtr< GroupAxisT, AxisT... > & | book (HistoGroupPtr< GroupAxisT, AxisT... > &ao, const std::vector< GroupAxisT > &edges) |
|
template<typename GroupAxisT , typename... AxisT> |
HistoGroupPtr< GroupAxisT, AxisT... > & | book (HistoGroupPtr< GroupAxisT, AxisT... > &ao, std::initializer_list< GroupAxisT > &&edges) |
|
|
template<typename... AxisT, typename = YODA::enable_if_all_CAxisT<AxisT...>> |
BinnedEstimatePtr< AxisT... > & | book (BinnedEstimatePtr< AxisT... > &ao, const std::string &name, const std::vector< size_t > &nbins, const std::vector< std::pair< double, double > > &loUpPairs) |
| Book a ND estimate with nbins uniformly distributed across the range lower - upper .
|
|
Estimate1DPtr & | book (Estimate1DPtr &ao, const std::string &name, const size_t nbins, const double lower, const double upper) |
|
Estimate2DPtr & | book (Estimate2DPtr &ao, const std::string &name, const size_t nbinsX, const double lowerX, const double upperX, const size_t nbinsY, const double lowerY, const double upperY) |
|
Estimate3DPtr & | book (Estimate3DPtr &ao, const std::string &name, const size_t nbinsX, const double lowerX, const double upperX, const size_t nbinsY, const double lowerY, const double upperY, const size_t nbinsZ, const double lowerZ, const double upperZ) |
|
template<typename... AxisT> |
BinnedEstimatePtr< AxisT... > & | book (BinnedEstimatePtr< AxisT... > &ao, const std::string &name, const std::vector< AxisT > &... binedges) |
| Book a ND estimate with non-uniform bins defined by the vector of bin edges binedges .
|
|
template<typename... AxisT> |
BinnedEstimatePtr< AxisT... > & | book (BinnedEstimatePtr< AxisT... > &ao, const std::string &name, const std::initializer_list< AxisT > &... binedges) |
| Book a ND estimate with non-uniform bins defined by the vector of bin edges binedges .
|
|
template<typename... AxisT> |
BinnedEstimatePtr< AxisT... > & | book (BinnedEstimatePtr< AxisT... > &ao, const std::string &name) |
| Book a ND estimate, using the binnings in the reference data histogram.
|
|
template<typename... AxisT> |
BinnedEstimatePtr< AxisT... > & | book (BinnedEstimatePtr< AxisT... > &ao, const unsigned int datasetID, const unsigned int xAxisID, const unsigned int yAxisID) |
|
|
template<size_t N> |
ScatterNDPtr< N > & | book (ScatterNDPtr< N > &snd, const string &name, const bool copy_pts=false) |
| Book a N-dimensional data point set with the given name.
|
|
template<size_t N> |
ScatterNDPtr< N > & | book (ScatterNDPtr< N > &snd, const unsigned int datasetID, const unsigned int xAxisID, const unsigned int yAxisID, const bool copy_pts=false) |
| Book a N-dimensional data point set, using the binnings in the reference data histogram.
|
|
Scatter2DPtr & | book (Scatter2DPtr &snd, const string &name, const size_t npts, const double lower, const double upper) |
| Book a N-dimensional data point set with equally spaced x-points in a range.
|
|
Scatter3DPtr & | book (Scatter3DPtr &snd, const string &name, const size_t nptsX, const double lowerX, const double upperX, const size_t nptsY, const double lowerY, const double upperY) |
|
Scatter2DPtr & | book (Scatter2DPtr &snd, const string &name, const std::vector< double > &binedges) |
| Book a 2-dimensional data point set based on provided contiguous "bin edges".
|
|
Scatter3DPtr & | book (Scatter3DPtr &snd, const string &name, const std::vector< double > &binedgesX, const std::vector< double > &binedgesY) |
|
template<size_t N> |
ScatterNDPtr< N > & | book (ScatterNDPtr< N > &snd, const string &name, const YODA::ScatterND< N > &refscatter) |
| Book a 2-dimensional data point set with x-points from an existing scatter and a new path.
|
|
|
CutflowsPtr & | book (CutflowsPtr &ao, const std::vector< std::string > &edges, const std::vector< std::vector< std::string > > &innerEdges) |
|
CutflowsPtr & | book (CutflowsPtr &ao, const std::vector< std::string > &edges) |
|
CutflowsPtr & | book (CutflowsPtr &ao, std::initializer_list< std::string > &&edges) |
|
|
from Analysis (e.g. CumulantAnalysis) to load external raw AOs into their local AOs (needed in heavy-ion land).
|
virtual void | rawHookIn (YODA::AnalysisObjectPtr yao) |
|
|
Analysis (e.g. CumulantAnalysis) to fiddle with raw AOs post-finalize/before writing them out (needed in heavy-ion land).
|
virtual void | rawHookOut (const vector< MultiplexAOPtr > &raos, size_t iW) |
|
|
template<typename T > |
void | scale (MultiplexPtr< Multiplexer< T > > &ao, CounterAdapter factor) |
| Multiplicatively scale the given AnalysisObject, ao, by factor factor.
|
|
template<typename GroupAxisT , typename... AxisT> |
void | scale (HistoGroupPtr< GroupAxisT, AxisT... > &group, CounterAdapter factor) |
| Multiplicatively scale the given histogram group, group, by factor factor.
|
|
void | scale (CutflowsPtr &group, CounterAdapter factor) |
| Multiplicatively scale the cutflow group, group, by factor factor.
|
|
template<typename T , typename U > |
void | scale (std::map< T, U > &aos, CounterAdapter factor) |
| Iteratively scale the AOs in the map aos, by factor factor.
|
|
template<typename AORange , typename = std::enable_if_t<YODA::isIterable<AORange>>> |
void | scale (AORange &aos, CounterAdapter factor) |
| Iteratively scale the AOs in the iterable aos, by factor factor.
|
|
template<typename T > |
void | scale (std::initializer_list< T > aos, CounterAdapter factor) |
| Iteratively scale the AOs in the initialiser list aos, by factor factor.
|
|
template<typename GroupAxisT , typename... AxisT> |
void | divByGroupWidth (HistoGroupPtr< GroupAxisT, AxisT... > &group) |
| Scale the given histogram group, group, by the group axis width.
|
|
template<typename T , typename U > |
void | divByGroupWidth (std::map< T, U > &aos) |
| Iteratively scale the HistoGroups in the map aos, by the group axis width.
|
|
template<typename AORange , typename = std::enable_if_t<YODA::isIterable<AORange>>> |
void | divByGroupWidth (AORange &aos) |
| Iteratively scale the HistoGroups in the iterable aos, by the group axis width.
|
|
template<typename T > |
void | divByGroupWidth (std::initializer_list< T > aos) |
| Iteratively scale the HistoGroups in the initialiser list aos, by the group axis width.
|
|
template<size_t DbnN, typename... AxisT> |
void | normalize (BinnedDbnPtr< DbnN, AxisT... > ao, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Normalize the given analysis object, ao to a target norm.
|
|
template<typename GroupAxisT , typename... AxisT> |
void | normalize (HistoGroupPtr< GroupAxisT, AxisT... > group, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Normalize each AO in the given histogram group, group to a target norm.
|
|
template<typename AORange , typename = std::enable_if_t<YODA::isIterable<AORange>>> |
void | normalize (AORange &aos, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Iteratively normalise the AOs in the iterable iter, by factor factor.
|
|
template<typename T > |
void | normalize (std::initializer_list< T > &&aos, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Iteratively normalise the AOs in the initialiser list iter to a target norm.
|
|
template<typename T , typename U > |
void | normalize (std::map< T, U > &aos, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Iteratively normalise the AOs in the map aos to a target norm.
|
|
template<typename GroupAxisT , typename... AxisT> |
void | normalizeGroup (HistoGroupPtr< GroupAxisT, AxisT... > group, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Normalize the given histogram group, group to a target norm.
|
|
template<typename AORange , typename = std::enable_if_t<YODA::isIterable<AORange>>> |
void | normalizeGroup (AORange &aos, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Iteratively normalise the HistoGroups in the iterable iter, by factor factor.
|
|
template<typename T > |
void | normalizeGroup (std::initializer_list< T > &&aos, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Iteratively normalise the HistoGroups in the initialiser list iter to a target norm.
|
|
template<typename T , typename U > |
void | normalizeGroup (std::map< T, U > &aos, const CounterAdapter norm=1.0, const bool includeoverflows=true) |
| Iteratively normalise the HistoGroups in the map aos to a target norm.
|
|
template<size_t DbnN, typename... AxisT> |
void | barchart (BinnedDbnPtr< DbnN, AxisT... > ao, BinnedEstimatePtr< AxisT... > est) const |
|
void | divide (CounterPtr c1, CounterPtr c2, Estimate0DPtr est) const |
|
void | divide (const YODA::Counter &c1, const YODA::Counter &c2, Estimate0DPtr est) const |
|
void | divide (Estimate0DPtr e1, Estimate0DPtr e2, Estimate0DPtr est) const |
|
void | divide (const YODA::Estimate0D &e1, const YODA::Estimate0D &e2, Estimate0DPtr est) const |
|
template<size_t DbnN, typename... AxisT> |
void | divide (const YODA::BinnedDbn< DbnN, AxisT... > &h1, const YODA::BinnedDbn< DbnN, AxisT... > &h2, BinnedEstimatePtr< AxisT... > est) const |
|
template<size_t DbnN, typename... AxisT> |
void | divide (BinnedDbnPtr< DbnN, AxisT... > h1, BinnedDbnPtr< DbnN, AxisT... > h2, BinnedEstimatePtr< AxisT... > est) const |
|
template<typename... AxisT> |
void | divide (const YODA::BinnedEstimate< AxisT... > &e1, const YODA::BinnedEstimate< AxisT... > &e2, BinnedEstimatePtr< AxisT... > est) const |
|
template<typename... AxisT> |
void | divide (BinnedEstimatePtr< AxisT... > e1, BinnedEstimatePtr< AxisT... > e2, BinnedEstimatePtr< AxisT... > est) const |
|
void | efficiency (CounterPtr c1, CounterPtr c2, Estimate0DPtr est) const |
|
void | efficiency (const YODA::Counter &c1, const YODA::Counter &c2, Estimate0DPtr est) const |
|
template<size_t DbnN, typename... AxisT> |
void | efficiency (const YODA::BinnedDbn< DbnN, AxisT... > &h1, const YODA::BinnedDbn< DbnN, AxisT... > &h2, BinnedEstimatePtr< AxisT... > est) const |
|
template<size_t DbnN, typename... AxisT> |
void | efficiency (BinnedDbnPtr< DbnN, AxisT... > h1, BinnedDbnPtr< DbnN, AxisT... > h2, BinnedEstimatePtr< AxisT... > est) const |
|
template<typename... AxisT> |
void | efficiency (const YODA::BinnedEstimate< AxisT... > &e1, const YODA::BinnedEstimate< AxisT... > &e2, BinnedEstimatePtr< AxisT... > est) const |
|
template<typename... AxisT> |
void | efficiency (BinnedEstimatePtr< AxisT... > e1, BinnedEstimatePtr< AxisT... > e2, BinnedEstimatePtr< AxisT... > est) const |
|
template<size_t DbnN, typename... AxisT> |
void | asymm (const YODA::BinnedDbn< DbnN, AxisT... > &h1, const YODA::BinnedDbn< DbnN, AxisT... > &h2, BinnedEstimatePtr< AxisT... > est) const |
|
template<size_t DbnN, typename... AxisT> |
void | asymm (BinnedDbnPtr< DbnN, AxisT... > h1, BinnedDbnPtr< DbnN, AxisT... > h2, BinnedEstimatePtr< AxisT... > est) const |
|
template<typename... AxisT> |
void | asymm (const YODA::BinnedEstimate< AxisT... > &e1, const YODA::BinnedEstimate< AxisT... > &e2, BinnedEstimatePtr< AxisT... > est) const |
|
template<typename... AxisT> |
void | asymm (BinnedEstimatePtr< AxisT... > e1, BinnedEstimatePtr< AxisT... > e2, BinnedEstimatePtr< AxisT... > est) const |
|
template<size_t DbnN, typename... AxisT> |
void | integrate (const YODA::BinnedDbn< DbnN, AxisT... > &h, BinnedEstimatePtr< AxisT... > est) const |
|
template<size_t DbnN, typename... AxisT> |
void | integrate (BinnedDbnPtr< DbnN, AxisT... > &h, BinnedEstimatePtr< AxisT... > est) const |
|
|
size_t | defaultWeightIndex () const |
| Get the default/nominal weight index.
|
|
template<typename YODAT > |
shared_ptr< YODAT > | getPreload (const string &path) const |
| Get a preloaded YODA object.
|
|
template<typename YODAT > |
MultiplexPtr< Multiplexer< YODAT > > | registerAO (const YODAT &yao) |
| Register a new data object, optionally read in preloaded data.
|
|
template<typename AO = MultiplexAOPtr> |
AO | addAnalysisObject (const AO &aonew) |
| Register a data object in the histogram system.
|
|
void | removeAnalysisObject (const std::string &path) |
| Unregister a data object from the histogram system (by name)
|
|
void | removeAnalysisObject (const MultiplexAOPtr &ao) |
| Unregister a data object from the histogram system (by pointer)
|
|
template<typename AO = MultiplexAOPtr> |
const AO | getAnalysisObject (const std::string &aoname) const |
| Get a Rivet data object from the histogram system.
|
|
template<typename AO = MultiplexAOPtr> |
AO | getAnalysisObject (const std::string &ananame, const std::string &aoname) |
|
|
template<typename PROJ > |
const PROJ & | declare (const PROJ &proj, const std::string &name) const |
| Register a contained projection (user-facing version)
|
|
template<typename PROJ > |
const PROJ & | declare (const std::string &name, const PROJ &proj) const |
| Register a contained projection (user-facing, arg-reordered version)
|
|
Base class providing common functionality for MC jet validation analyses.
- Todo:
- Could reduce duplication by inheriting this from MC_ParticleAnalysis, with minor tweaking
◆ analysisDataPath()
std::string Rivet::Analysis::analysisDataPath |
( |
const std::string & |
extn, |
|
|
const std::string & |
suffix = "" |
|
) |
| |
|
inlineinherited |
Get the path to a data file associated with this analysis.
The searched-for filename will be <ANANAME>.<extn> of suffix is empty/unspecified, or <ANANAME>-<suffix>.<extn> if a non-zero suffix is specified.
References Rivet::findAnalysisDataFile(), and Rivet::Analysis::name().
◆ analyze()
virtual void Rivet::MC_JETS_BASE::analyze |
( |
const Event & |
event | ) |
|
|
virtual |
Analyze one event. A concrete class should here apply the necessary projections on the event and fill the relevant histograms. An overridden function must make sure it first calls the base class function.
Implements Rivet::Analysis.
◆ apply()
template<typename PROJ = Projection>
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > Rivet::ProjectionApplier::apply |
( |
const Event & |
evt, |
|
|
const Projection & |
proj |
|
) |
| const |
|
inlineinherited |
◆ asymm() [1/2]
template<size_t DbnN, typename... AxisT>
void Rivet::Analysis::asymm |
( |
const YODA::BinnedDbn< DbnN, AxisT... > & |
h1, |
|
|
const YODA::BinnedDbn< DbnN, AxisT... > & |
h2, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for histogram asymmetry calculation.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ asymm() [2/2]
template<typename... AxisT>
void Rivet::Analysis::asymm |
( |
const YODA::BinnedEstimate< AxisT... > & |
e1, |
|
|
const YODA::BinnedEstimate< AxisT... > & |
e2, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for estimate asymmetry calculation.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ authors()
virtual std::vector< std::string > Rivet::Analysis::authors |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ auxData() [1/2]
template<typename T >
T Rivet::Analysis::auxData |
( |
const string & |
dsname | ) |
|
|
inlineprotectedinherited |
◆ auxData() [2/2]
template<typename T >
bool Rivet::Analysis::auxData |
( |
const string & |
dsname, |
|
|
T & |
rtndata |
|
) |
| |
|
inlineprotectedinherited |
◆ barchart()
template<size_t DbnN, typename... AxisT>
Helper for histogram conversion to an inert estimate type
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ book() [1/8]
template<size_t DbnN, typename... AxisT>
BinnedDbnPtr< DbnN, AxisT... > & Rivet::Analysis::book |
( |
BinnedDbnPtr< DbnN, AxisT... > & |
ao, |
|
|
const unsigned int |
datasetID, |
|
|
const unsigned int |
xAxisID, |
|
|
const unsigned int |
yAxisID |
|
) |
| |
|
inlineprotectedinherited |
◆ book() [2/8]
template<typename... AxisT>
BinnedEstimatePtr< AxisT... > & Rivet::Analysis::book |
( |
BinnedEstimatePtr< AxisT... > & |
ao, |
|
|
const unsigned int |
datasetID, |
|
|
const unsigned int |
xAxisID, |
|
|
const unsigned int |
yAxisID |
|
) |
| |
|
inlineprotectedinherited |
◆ book() [3/8]
template<typename T >
Percentile< T > Rivet::Analysis::book |
( |
const string & |
projName, |
|
|
const vector< pair< double, double > > & |
centralityBins, |
|
|
const vector< tuple< size_t, size_t, size_t > > & |
ref |
|
) |
| |
|
inlineinherited |
◆ book() [4/8]
Book an estimate, using a path generated from the dataset and axis ID codes
The paper, dataset and x/y-axis IDs will be used to build the histo name in the HepData standard way.
◆ book() [5/8]
Scatter2DPtr & Rivet::Analysis::book |
( |
Scatter2DPtr & |
snd, |
|
|
const string & |
name, |
|
|
const size_t |
npts, |
|
|
const double |
lower, |
|
|
const double |
upper |
|
) |
| |
|
inlineprotectedinherited |
◆ book() [6/8]
Scatter2DPtr & Rivet::Analysis::book |
( |
Scatter2DPtr & |
snd, |
|
|
const string & |
name, |
|
|
const std::vector< double > & |
binedges |
|
) |
| |
|
inlineprotectedinherited |
◆ book() [7/8]
Book a N-dimensional data point set with the given name.
- Note
- Unlike histogram booking, scatter booking by default makes no attempt to use reference data to pre-fill the data object. If you want this, which is sometimes useful e.g. when the x-position is not really meaningful and can't be extracted from the data, then set the copy_pts parameter to true. This creates points to match the reference data's x values and errors, but with the y values and errors zeroed... assuming that there is a reference histo with the same name: if there isn't, an exception will be thrown.
References Rivet::Analysis::histoPath(), Rivet::Analysis::name(), Rivet::Analysis::refData(), and Rivet::Analysis::registerAO().
◆ book() [8/8]
template<size_t N>
ScatterNDPtr< N > & Rivet::Analysis::book |
( |
ScatterNDPtr< N > & |
snd, |
|
|
const unsigned int |
datasetID, |
|
|
const unsigned int |
xAxisID, |
|
|
const unsigned int |
yAxisID, |
|
|
const bool |
copy_pts = false |
|
) |
| |
|
inlineprotectedinherited |
Book a N-dimensional data point set, using the binnings in the reference data histogram.
The paper, dataset and x/y-axis IDs will be used to build the histo name in the HepData standard way.
- Note
- Unlike histogram booking, scatter booking by default makes no attempt to use reference data to pre-fill the data object. If you want this, which is sometimes useful e.g. when the x-position is not really meaningful and can't be extracted from the data, then set the copy_pts parameter to true. This creates points to match the reference data's x values and errors, but with the y values and errors zeroed.
References Rivet::Analysis::book(), and Rivet::Analysis::mkAxisCode().
◆ crossSectionErrorPerEvent()
double Rivet::Analysis::crossSectionErrorPerEvent |
( |
| ) |
const |
|
protectedinherited |
Get the process cross-section error per generated event in pb. Throws if this hasn't been set.
◆ crossSectionPerEvent()
double Rivet::Analysis::crossSectionPerEvent |
( |
| ) |
const |
|
protectedinherited |
Get the process cross-section per generated event in pb. Throws if this hasn't been set.
◆ declare() [1/2]
template<typename PROJ >
const PROJ & Rivet::ProjectionApplier::declare |
( |
const PROJ & |
proj, |
|
|
const std::string & |
name |
|
) |
| const |
|
inlineprotectedinherited |
Register a contained projection (user-facing version)
- Todo:
- Add SFINAE to require that PROJ inherit from Projection
Referenced by Rivet::CentralEtHCM::CentralEtHCM(), Rivet::CentralityEstimator::CentralityEstimator(), Rivet::ChargedLeptons::ChargedLeptons(), Rivet::ALICE::CLMultiplicity< INNER >::CLMultiplicity(), Rivet::DISDiffHadron::DISDiffHadron(), Rivet::DISFinalState::DISFinalState(), Rivet::DISKinematics::DISKinematics(), Rivet::DISLepton::DISLepton(), Rivet::EventMixingBase::EventMixingBase(), Rivet::GammaGammaKinematics::GammaGammaKinematics(), Rivet::GammaGammaLeptons::GammaGammaLeptons(), Rivet::GammaGammaLeptons::GammaGammaLeptons(), Rivet::GeneratedCentrality::GeneratedCentrality(), Rivet::HadronicFinalState::HadronicFinalState(), Rivet::HeavyHadrons::HeavyHadrons(), Rivet::Hemispheres::Hemispheres(), Rivet::InvisibleFinalState::InvisibleFinalState(), Rivet::LeadingParticlesFinalState::LeadingParticlesFinalState(), Rivet::LossyFinalState< FILTER >::LossyFinalState(), Rivet::LossyFinalState< FILTER >::LossyFinalState(), Rivet::MC_pPbMinBiasTrigger::MC_pPbMinBiasTrigger(), Rivet::MC_SumETFwdPbCentrality::MC_SumETFwdPbCentrality(), Rivet::ATLAS::MinBiasTrigger::MinBiasTrigger(), Rivet::MissingMomentum::MissingMomentum(), Rivet::NeutralFinalState::NeutralFinalState(), Rivet::NeutralFinalState::NeutralFinalState(), Rivet::NonHadronicFinalState::NonHadronicFinalState(), Rivet::ParisiTensor::ParisiTensor(), Rivet::PercentileProjection::PercentileProjection(), Rivet::PrimaryHadrons::PrimaryHadrons(), Rivet::PrimaryHadrons::PrimaryHadrons(), Rivet::SmearedMET::SmearedMET(), Rivet::SmearedMET::SmearedMET(), Rivet::Spherocity::Spherocity(), Rivet::ATLAS::SumET_PB_Centrality::SumET_PB_Centrality(), Rivet::ATLAS::SumET_PBPB_Centrality::SumET_PBPB_Centrality(), Rivet::TauFinder::TauFinder(), Rivet::TriggerCDFRun0Run1::TriggerCDFRun0Run1(), Rivet::TriggerCDFRun2::TriggerCDFRun2(), Rivet::UndressBeamLeptons::UndressBeamLeptons(), Rivet::ALICE::V0AndTrigger::V0AndTrigger(), Rivet::ALICE::V0Trigger< MODE >::V0Trigger(), Rivet::VetoedFinalState::VetoedFinalState(), Rivet::VisibleFinalState::VisibleFinalState(), Rivet::VisibleFinalState::VisibleFinalState(), Rivet::CentralityProjection::add(), Rivet::CentralityBinner< T, MDist >::setProjection(), and Rivet::VetoedFinalState::vetoFinalState().
◆ declare() [2/2]
template<typename PROJ >
const PROJ & Rivet::ProjectionApplier::declare |
( |
const std::string & |
name, |
|
|
const PROJ & |
proj |
|
) |
| const |
|
inlineprotectedinherited |
Register a contained projection (user-facing, arg-reordered version)
- Todo:
- Add SFINAE to require that PROJ inherit from Projection
◆ declareCentrality()
const CentralityProjection & Rivet::Analysis::declareCentrality |
( |
const SingleValueProjection & |
proj, |
|
|
string |
calAnaName, |
|
|
string |
calHistName, |
|
|
const string |
projName, |
|
|
PercentileOrder |
pctorder = PercentileOrder::DECREASING |
|
) |
| |
|
inherited |
Book a CentralityProjection.
Using a SingleValueProjection, proj, giving the value of an experimental observable to be used as a centrality estimator, book a CentralityProjection based on the experimentally measured pecentiles of this observable (as given by the reference data for the calHistName histogram in the calAnaName analysis. If a preloaded file with the output of a run using the calAnaName analysis contains a valid generated calHistName histogram, it will be used as an optional percentile binning. Also if this preloaded file contains a histogram with the name calHistName with an appended "_IMP" This histogram will be used to add an optional centrality percentile based on the generated impact parameter. If increasing is true, a low (high) value of proj is assumed to correspond to a more peripheral (central) event.
◆ description()
virtual std::string Rivet::Analysis::description |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ divide() [1/6]
template<size_t DbnN, typename... AxisT>
void Rivet::Analysis::divide |
( |
const YODA::BinnedDbn< DbnN, AxisT... > & |
h1, |
|
|
const YODA::BinnedDbn< DbnN, AxisT... > & |
h2, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for histogram division.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ divide() [2/6]
template<typename... AxisT>
void Rivet::Analysis::divide |
( |
const YODA::BinnedEstimate< AxisT... > & |
e1, |
|
|
const YODA::BinnedEstimate< AxisT... > & |
e2, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for binned estimate division.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ divide() [3/6]
void Rivet::Analysis::divide |
( |
const YODA::Counter & |
c1, |
|
|
const YODA::Counter & |
c2, |
|
|
Estimate0DPtr |
est |
|
) |
| const |
|
protectedinherited |
Helper for histogram division with raw YODA objects.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ divide() [4/6]
void Rivet::Analysis::divide |
( |
const YODA::Estimate0D & |
e1, |
|
|
const YODA::Estimate0D & |
e2, |
|
|
Estimate0DPtr |
est |
|
) |
| const |
|
protectedinherited |
Helper for estimate division with raw YODA objects.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ divide() [5/6]
Helper for counter division.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ divide() [6/6]
Helper for counter division.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ efficiency() [1/4]
template<size_t DbnN, typename... AxisT>
void Rivet::Analysis::efficiency |
( |
const YODA::BinnedDbn< DbnN, AxisT... > & |
h1, |
|
|
const YODA::BinnedDbn< DbnN, AxisT... > & |
h2, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for histogram efficiency calculation.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ efficiency() [2/4]
template<typename... AxisT>
void Rivet::Analysis::efficiency |
( |
const YODA::BinnedEstimate< AxisT... > & |
e1, |
|
|
const YODA::BinnedEstimate< AxisT... > & |
e2, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for estimate efficiency calculation.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ efficiency() [3/4]
void Rivet::Analysis::efficiency |
( |
const YODA::Counter & |
c1, |
|
|
const YODA::Counter & |
c2, |
|
|
Estimate0DPtr |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for counter efficiency calculation.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ efficiency() [4/4]
◆ finalize()
virtual void Rivet::MC_JETS_BASE::finalize |
( |
| ) |
|
|
virtual |
Finalize this analysis object. A concrete class should here make all necessary operations on the histograms. Writing the histograms to a file is, however, done by the Rivet class. An overridden function must make sure it first calls the base class function.
Reimplemented from Rivet::Analysis.
◆ get()
template<typename PROJ >
const PROJ & Rivet::ProjectionApplier::get |
( |
const std::string & |
name | ) |
const |
|
inlineinherited |
Get the named projection, specifying return type via a template argument (user-facing alias). - Todo:
- Add SFINAE to require that PROJ inherit from Projection
◆ getAnalysisObject()
template<typename AO = MultiplexAOPtr>
AO Rivet::Analysis::getAnalysisObject |
( |
const std::string & |
ananame, |
|
|
const std::string & |
aoname |
|
) |
| |
|
inlineprotectedinherited |
◆ getOption() [1/3]
bool Rivet::Analysis::getOption |
( |
std::string |
optname, |
|
|
bool |
def |
|
) |
| const |
|
inlineinherited |
Get an option for this analysis instance converted to a bool.
Specialisation for bool, to allow use of "yes/no", "true/false" and "on/off" strings, with fallback casting to bool based on int value. An empty value will be treated as false.
- Warning
- To avoid accidents, strings not matching one of the above patterns will throw a Rivet::ReadError exception.
- Todo:
- Make this a template-specialisation... needs to be outside the class body?
References Rivet::Analysis::getOption(), and Rivet::toLower().
◆ getOption() [2/3]
std::string Rivet::Analysis::getOption |
( |
std::string |
optname, |
|
|
const char * |
def |
|
) |
| |
|
inlineinherited |
Sane overload for literal character strings (which don't play well with stringstream)
Note this isn't a template specialisation, because we can't return a non-static char*, and T-as-return-type is built into the template function definition.
◆ getOption() [3/3]
template<typename T >
T Rivet::Analysis::getOption |
( |
std::string |
optname, |
|
|
T |
def |
|
) |
| const |
|
inlineinherited |
Get an option for this analysis instance converted to a specific type.
The return type is given by the specified def value, or by an explicit template type-argument, e.g. getOption<double>("FOO", 3).
- Warning
- To avoid accidents, strings not convertible to the requested type will throw a Rivet::ReadError exception.
◆ getProjection() [1/2]
template<typename PROJ >
const PROJ & Rivet::ProjectionApplier::getProjection |
( |
const std::string & |
name | ) |
const |
|
inlineinherited |
◆ getProjection() [2/2]
const Projection & Rivet::ProjectionApplier::getProjection |
( |
const std::string & |
name | ) |
const |
|
inlineinherited |
◆ getProjectionFromDeclQueue()
template<typename PROJ >
const PROJ & Rivet::ProjectionApplier::getProjectionFromDeclQueue |
( |
const std::string |
name | ) |
const |
|
inlineinherited |
Get a named projection from this projection appliers declqueue TODO for TP: Recursion?
References MSG_ERROR.
◆ info()
Get the actual AnalysisInfo object in which all this metadata is stored (non-const).
- Note
- For internal use!
◆ init()
virtual void Rivet::MC_JETS_BASE::init |
( |
| ) |
|
|
virtual |
Initialize this analysis object. A concrete class should here book all necessary histograms. An overridden function must make sure it first calls the base class function.
Reimplemented from Rivet::Analysis.
◆ integrate()
template<size_t DbnN, typename... AxisT>
void Rivet::Analysis::integrate |
( |
const YODA::BinnedDbn< DbnN, AxisT... > & |
h, |
|
|
BinnedEstimatePtr< AxisT... > |
est |
|
) |
| const |
|
inlineprotectedinherited |
Helper for converting a differential histo to an integral one.
- Note
- Assigns to the (already registered) output estimate, est. Preserves the path information of the target.
◆ name()
virtual std::string Rivet::Analysis::name |
( |
| ) |
const |
|
inlinevirtualinherited |
Get the name of the analysis.
By default this is computed by combining the results of the experiment, year and Spires ID metadata methods and you should only override it if there's a good reason why those won't work. If options has been set for this instance, a corresponding string is appended at the end.
Implements Rivet::ProjectionApplier.
References Rivet::Analysis::info(), Rivet::Analysis::name(), and Rivet::AnalysisInfo::name().
Referenced by Rivet::Analysis::addAnalysisObject(), Rivet::Analysis::analysisDataPath(), Rivet::Analysis::auxData(), Rivet::Analysis::auxData(), Rivet::Analysis::auxFile(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::CumulantAnalysis::bookECorrelator(), Rivet::CumulantAnalysis::bookECorrelator(), Rivet::CumulantAnalysis::bookECorrelator(), Rivet::CumulantAnalysis::bookECorrelator(), Rivet::CumulantAnalysis::bookECorrelator(), Rivet::CumulantAnalysis::bookECorrelator(), Rivet::CumulantAnalysis::bookECorrelatorGap(), Rivet::CumulantAnalysis::bookECorrelatorGap(), Rivet::Analysis::divByGroupWidth(), Rivet::CumulantAnalysis::ECorrelator::fillFromProfile(), Rivet::Analysis::name(), Rivet::Analysis::normalize(), Rivet::Analysis::normalize(), Rivet::Analysis::normalizeGroup(), Rivet::CumulantAnalysis::rawHookOut(), Rivet::Analysis::refData(), Rivet::Analysis::registerAO(), Rivet::Analysis::scale(), Rivet::Analysis::scale(), Rivet::Analysis::scale(), and Rivet::Analysis::setRefDataName().
◆ numEvents()
size_t Rivet::Analysis::numEvents |
( |
| ) |
const |
|
protectedinherited |
Get the number of events seen (via the analysis handler).
- Note
- Use in the finalize phase only.
◆ rawHookOut()
virtual void Rivet::Analysis::rawHookOut |
( |
const vector< MultiplexAOPtr > & |
raos, |
|
|
size_t |
iW |
|
) |
| |
|
inlineprotectedvirtualinherited |
◆ refData() [1/2]
template<typename T = YODA::Estimate1D>
const T & Rivet::Analysis::refData |
( |
const string & |
hname | ) |
const |
|
inlineprotectedinherited |
◆ refData() [2/2]
template<typename T = YODA::Estimate1D>
const T & Rivet::Analysis::refData |
( |
unsigned int |
datasetId, |
|
|
unsigned int |
xAxisId, |
|
|
unsigned int |
yAxisId |
|
) |
| const |
|
inlineprotectedinherited |
◆ registerAO()
template<typename YODAT >
Register a new data object, optionally read in preloaded data.
- Todo:
- What about if/when we want to make the final objects the Scatter or binned persistent type?
References Rivet::Analysis::analysisObjects(), Rivet::bookingCompatible(), Rivet::MultiplexPtr< T >::get(), MSG_ERROR, MSG_TRACE, MSG_WARNING, and Rivet::Analysis::name().
Referenced by Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), Rivet::Analysis::book(), and Rivet::Analysis::book().
◆ runInfo()
virtual std::string Rivet::Analysis::runInfo |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ setProjectionHandler()
void Rivet::ProjectionApplier::setProjectionHandler |
( |
ProjectionHandler & |
projectionHandler | ) |
const |
|
protectedinherited |
- Todo:
- AB: Add Doxygen comment, follow surrounding coding style
◆ summary()
virtual std::string Rivet::Analysis::summary |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ sumW()
double Rivet::Analysis::sumW |
( |
| ) |
const |
|
protectedinherited |
◆ sumW2()
double Rivet::Analysis::sumW2 |
( |
| ) |
const |
|
protectedinherited |
◆ syncDeclQueue()
void Rivet::Analysis::syncDeclQueue |
( |
| ) |
|
|
inlineinherited |
Call the projection applier _syncDeclQueue() method. (It should be hidden for all projection appliers other than analyses) TODO for TP: Is this the right block for this method to be in?
References Rivet::ProjectionApplier::markAsOwned().
The documentation for this class was generated from the following file:
|