#include <HepEx9506012.hh>
Inheritance diagram for HepEx9506012:
Definition at line 14 of file HepEx9506012.hh.
Public Member Functions | |
HepEx9506012 () | |
The default constructor. | |
string | getName () const |
Get the name of this analysis. | |
void | init () |
Initialize this analysis object. | |
void | analyze (const Event &event) |
Analyze one event. | |
void | finalize () |
Finalize this analysis object. | |
virtual const Cuts | getCuts () const |
virtual const BeamPair & | getBeams () const |
Return the pair of incoming beams required by this analysis. | |
virtual const bool | isCompatible (const string &quantity, const double value) const |
Is this analysis compatible with the named quantity set at the supplied value? | |
virtual const bool | isCompatible (const ParticleName &beam1, const ParticleName &beam2) const |
Is this analysis able to run on the supplied pair of beams? | |
virtual const bool | isCompatible (const BeamPair &beams) const |
Is this analysis able to run on the BeamPair beams ? | |
AnalysisHandler & | getHandler () const |
Access the controlling AnalysisHandler object. | |
Static Public Member Functions | |
Analysis * | create () |
Factory method. | |
Protected Member Functions | |
int | getbin (const DISKinematics &dk) |
Calculate the bin number from the DISKinematics projection. | |
Log & | getLog () |
Get a Log object based on the getName() property of the calling analysis object. | |
virtual const bool | checkConsistency () const |
Is this analysis able to run on the BeamPair beams ? | |
set< Projection * > | getProjections () const |
Analysis & | setBeams (const ParticleName &beam1, const ParticleName &beam2) |
Set the colliding beam pair. | |
Analysis & | addCut (const string &quantity, const Comparison &comparison, const double value) |
Add a cut. | |
Analysis & | addProjection (Projection &proj) |
Add a projection dependency to the projection list. | |
Protected Attributes | |
set< Projection * > | _projections |
Collection of pointers to projections, for automatically combining constraints. |
|
The default constructor.
Definition at line 19 of file HepEx9506012.hh. References Rivet::ELECTRON, Rivet::LESS_EQ, Rivet::MORE_EQ, Rivet::POSITRON, and Rivet::PROTON. |
|
Add a cut.
Definition at line 230 of file Analysis.hh. |
|
Add a projection dependency to the projection list.
Definition at line 236 of file Analysis.hh. |
|
Access the AIDA analysis factory of the controlling AnalysisHandler object.
Definition at line 13 of file Analysis.cc. References AnalysisHandler::analysisFactory(), and Analysis::getHandler(). |
|
Analyze one event.
Implements Analysis. Definition at line 62 of file HepEx9506012.cc. References Event::applyProjection(), IHistogram1D::fill(), HepEx9506012::getbin(), FinalState::particles(), DISKinematics::Q2(), CentralEtHCM::sumEt(), Event::weight(), and DISKinematics::x(). |
|
Book a 2-dimensional data point set based on the paper, dataset and x/y-axis IDs in the corresponding HepData record. The binnings (x-errors) will be obtained by reading the bundled AIDA data record file of the same filename as the analysis' getName() property.
Definition at line 89 of file Analysis.cc. |
|
Book a 2-dimensional data point set with equally spaced points in a range. (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 73 of file Analysis.cc. References Analysis::bookDataPointSet(). |
|
Book a 2-dimensional data point set. (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 66 of file Analysis.cc. References Analysis::datapointsetFactory(), and Analysis::getHistoDir(). Referenced by Analysis::bookDataPointSet(), and PRD65092002::init(). |
|
Book a 1D histogram based on the paper, dataset and x/y-axis IDs in the corresponding HepData record. The binnings will be obtained by reading the bundled AIDA data record file of the same filename as the analysis' getName() property. Definition at line 39 of file Analysis.cc. References IHistogramFactory::createHistogram1D(), Rivet::getBinEdges(), Analysis::getHistoDir(), Analysis::getName(), and Analysis::histogramFactory(). |
|
Book a 1D histogram with non-uniform bins defined by the vector of bin edges binedges . (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 58 of file Analysis.cc. References IHistogramFactory::createHistogram1D(), Analysis::getHistoDir(), and Analysis::histogramFactory(). |
|
Book a 1D histogram with nbins uniformly distributed across the range lower - upper . (NB. this returns a pointer rather than a reference since it will have to be stored in the analysis class - there's no point in forcing users to explicitly get the pointer from a reference before they can use it!) Definition at line 50 of file Analysis.cc. References IHistogramFactory::createHistogram1D(), Analysis::getHistoDir(), and Analysis::histogramFactory(). Referenced by ZPhys73C11::init(), TestAnalysis::init(), HepEx9506012::init(), HepEx0409040::init(), HepEx0112029::init(), and PL273B181::init(). |
|
Is this analysis able to run on the BeamPair beams ?
Definition at line 113 of file Analysis.cc. References Analysis::_projections, Cuts::checkConsistency(), Rivet::compatible(), Cuts::end(), Analysis::getBeams(), Analysis::getCuts(), and Analysis::getName(). |
|
Factory method.
Definition at line 39 of file HepEx9506012.hh. |
|
Access the AIDA histogram factory of the controlling AnalysisHandler object.
Definition at line 28 of file Analysis.cc. References AnalysisHandler::datapointsetFactory(), and Analysis::getHandler(). Referenced by Analysis::bookDataPointSet(). |
|
Finalize this analysis object.
Implements Analysis. Definition at line 87 of file HepEx9506012.cc. References IHistogramFactory::destroy(), IHistogramFactory::divide(), and Analysis::histogramFactory(). |
|
Return the pair of incoming beams required by this analysis.
Definition at line 95 of file Analysis.hh. References Rivet::BeamPair. Referenced by Analysis::checkConsistency(), and main(). |
|
Calculate the bin number from the DISKinematics projection.
Definition at line 31 of file HepEx9506012.cc. References DISKinematics::Q2(), and DISKinematics::x(). Referenced by HepEx9506012::analyze(). |
|
Return the Cuts object of this analysis object. Derived classes should re-implement this function to return the combined RivetInfo object of this object and of any Projection objects upon which this depends. Definition at line 104 of file Analysis.cc. References Analysis::_projections, and Cuts::addCuts(). Referenced by Analysis::checkConsistency(), and main(). |
|
Access the controlling AnalysisHandler object.
Definition at line 124 of file Analysis.hh. Referenced by Analysis::analysisFactory(), Analysis::datapointsetFactory(), Analysis::histogramFactory(), and Analysis::tree(). |
|
Get the canonical AIDA histogram path for this analysis.
Definition at line 161 of file Analysis.hh. Referenced by Analysis::bookDataPointSet(), and Analysis::bookHistogram1D(). |
|
Get a Log object based on the getName() property of the calling analysis object.
Definition at line 33 of file Analysis.cc. References Analysis::getName(). Referenced by ZPhys73C11::analyze(), TestAnalysis::analyze(), PRD65092002::analyze(), HepEx0409040::analyze(), HepEx0112029::analyze(), ExampleTree::analyze(), PL273B181::analyze(), HepEx0409040::finalize(), and ExampleTree::init(). |
|
Get the name of this analysis.
Reimplemented from Analysis. Definition at line 42 of file HepEx9506012.hh. |
|
Get all the projections used by this analysis, including recursion. WARNING: No caching or loop-avoidance is implemented at the moment. Definition at line 127 of file Analysis.cc. References Analysis::_projections, and Cuts::end(). |
|
Access the AIDA histogram factory of the controlling AnalysisHandler object.
Definition at line 23 of file Analysis.cc. References Analysis::getHandler(), and AnalysisHandler::histogramFactory(). Referenced by Analysis::bookHistogram1D(), and HepEx9506012::finalize(). |
|
Initialize this analysis object.
Implements Analysis. Definition at line 15 of file HepEx9506012.cc. References Analysis::bookHistogram1D(). |
|
Is this analysis able to run on the BeamPair beams ?
Definition at line 117 of file Analysis.hh. References Rivet::BeamPair, and Rivet::compatible(). |
|
Is this analysis able to run on the supplied pair of beams?
Definition at line 109 of file Analysis.hh. References Rivet::BeamPair, and Rivet::compatible(). |
|
Is this analysis compatible with the named quantity set at the supplied value?
Definition at line 100 of file Analysis.hh. Referenced by main(). |
|
Set the colliding beam pair.
Definition at line 223 of file Analysis.hh. |
|
Access the AIDA tree of the controlling AnalysisHandler object.
Definition at line 18 of file Analysis.cc. References Analysis::getHandler(), and AnalysisHandler::tree(). |
|
Collection of pointers to projections, for automatically combining constraints.
Definition at line 242 of file Analysis.hh. Referenced by Analysis::checkConsistency(), Analysis::getCuts(), and Analysis::getProjections(). |