Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HepEx9506012 Class Reference

#include <HepEx9506012.hh>

Inheritance diagram for HepEx9506012:

Inheritance graph
[legend]
Collaboration diagram for HepEx9506012:

Collaboration graph
[legend]
List of all members.

Detailed Description

This analysis measures energy flow in DIS?

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 BeamPairgetBeams () 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 ?
AnalysisHandlergetHandler () const
 Access the controlling AnalysisHandler object.

Static Public Member Functions

Analysiscreate ()
 Factory method.

Protected Member Functions

int getbin (const DISKinematics &dk)
 Calculate the bin number from the DISKinematics projection.
LoggetLog ()
 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
AnalysissetBeams (const ParticleName &beam1, const ParticleName &beam2)
 Set the colliding beam pair.
AnalysisaddCut (const string &quantity, const Comparison &comparison, const double value)
 Add a cut.
AnalysisaddProjection (Projection &proj)
 Add a projection dependency to the projection list.

Protected Attributes

set< Projection * > _projections
 Collection of pointers to projections, for automatically combining constraints.

Constructor & Destructor Documentation

HepEx9506012  )  [inline]
 

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.


Member Function Documentation

Analysis& addCut const string &  quantity,
const Comparison comparison,
const double  value
[inline, protected, inherited]
 

Add a cut.

Definition at line 230 of file Analysis.hh.

Analysis& addProjection Projection proj  )  [inline, protected, inherited]
 

Add a projection dependency to the projection list.

Definition at line 236 of file Analysis.hh.

IAnalysisFactory & analysisFactory  )  [protected, inherited]
 

Access the AIDA analysis factory of the controlling AnalysisHandler object.

Definition at line 13 of file Analysis.cc.

References AnalysisHandler::analysisFactory(), and Analysis::getHandler().

void analyze const Event event  )  [virtual]
 

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().

IDataPointSet * bookDataPointSet const size_t  datasetId,
const size_t  xAxisId,
const size_t  yAxisId,
const string &  title
[protected, inherited]
 

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.

Todo:
Implement this?

Definition at line 89 of file Analysis.cc.

IDataPointSet * bookDataPointSet const string &  name,
const string &  title,
const size_t  npts,
const double  lower,
const double  upper
[protected, inherited]
 

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().

IDataPointSet * bookDataPointSet const string &  name,
const string &  title
[protected, inherited]
 

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().

IHistogram1D * bookHistogram1D const size_t  datasetId,
const size_t  xAxisId,
const size_t  yAxisId,
const string &  title
[protected, inherited]
 

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().

IHistogram1D * bookHistogram1D const string &  name,
const string &  title,
const vector< double > &  binedges
[protected, inherited]
 

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().

IHistogram1D * bookHistogram1D const string &  name,
const string &  title,
const size_t  nbins,
const double  lower,
const double  upper
[protected, inherited]
 

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().

const bool checkConsistency  )  const [protected, virtual, inherited]
 

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().

Analysis* create  )  [inline, static]
 

Factory method.

Definition at line 39 of file HepEx9506012.hh.

IDataPointSetFactory & datapointsetFactory  )  [protected, inherited]
 

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().

void finalize  )  [virtual]
 

Finalize this analysis object.

Implements Analysis.

Definition at line 87 of file HepEx9506012.cc.

References IHistogramFactory::destroy(), IHistogramFactory::divide(), and Analysis::histogramFactory().

virtual const BeamPair& getBeams  )  const [inline, virtual, inherited]
 

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().

int getbin const DISKinematics dk  )  [protected]
 

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().

const Cuts getCuts  )  const [virtual, inherited]
 

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().

AnalysisHandler& getHandler  )  const [inline, inherited]
 

Access the controlling AnalysisHandler object.

Definition at line 124 of file Analysis.hh.

Referenced by Analysis::analysisFactory(), Analysis::datapointsetFactory(), Analysis::histogramFactory(), and Analysis::tree().

const string getHistoDir  )  const [inline, protected, inherited]
 

Get the canonical AIDA histogram path for this analysis.

Definition at line 161 of file Analysis.hh.

Referenced by Analysis::bookDataPointSet(), and Analysis::bookHistogram1D().

Log & getLog  )  [protected, inherited]
 

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().

string getName  )  const [inline, virtual]
 

Get the name of this analysis.

Reimplemented from Analysis.

Definition at line 42 of file HepEx9506012.hh.

set< Projection * > getProjections  )  const [protected, inherited]
 

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().

IHistogramFactory & histogramFactory  )  [protected, inherited]
 

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().

void init  )  [virtual]
 

Initialize this analysis object.

Implements Analysis.

Definition at line 15 of file HepEx9506012.cc.

References Analysis::bookHistogram1D().

virtual const bool isCompatible const BeamPair beams  )  const [inline, virtual, inherited]
 

Is this analysis able to run on the BeamPair beams ?

Todo:
Need to also check internal consistency of the analysis' beam requirements with those of the projections it uses.

Definition at line 117 of file Analysis.hh.

References Rivet::BeamPair, and Rivet::compatible().

virtual const bool isCompatible const ParticleName beam1,
const ParticleName beam2
const [inline, virtual, inherited]
 

Is this analysis able to run on the supplied pair of beams?

Todo:
Need to also check internal consistency of the analysis' beam requirements with those of the projections it uses.

Definition at line 109 of file Analysis.hh.

References Rivet::BeamPair, and Rivet::compatible().

virtual const bool isCompatible const string &  quantity,
const double  value
const [inline, virtual, inherited]
 

Is this analysis compatible with the named quantity set at the supplied value?

Definition at line 100 of file Analysis.hh.

Referenced by main().

Analysis& setBeams const ParticleName beam1,
const ParticleName beam2
[inline, protected, inherited]
 

Set the colliding beam pair.

Definition at line 223 of file Analysis.hh.

ITree & tree  )  [protected, inherited]
 

Access the AIDA tree of the controlling AnalysisHandler object.

Definition at line 18 of file Analysis.cc.

References Analysis::getHandler(), and AnalysisHandler::tree().


Member Data Documentation

set<Projection*> _projections [protected, inherited]
 

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().


The documentation for this class was generated from the following files: