9 #ifndef ThePEG_AnalysisHandler_H 10 #define ThePEG_AnalysisHandler_H 13 #include "HandlerBase.h" 14 #include "AnalysisHandler.fh" 15 #include "ThePEG/Vectors/LorentzRotation.h" 16 #include "ThePEG/Analysis/FactoryBase.h" 17 #include "ThePEG/EventRecord/Event.h" 263 static string className() {
return "ThePEG::AnalysisHandler"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ClassTraitsType is an empty, non-polymorphic, base class.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
FactoryBase::tH2DPtr tH2DPtr
Convenient typedef for pointer to AIDA::IHistogram1D.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
AIDA::IHistogram2D * tH2DPtr
Convenient typedef for pointer to AIDA::IHistogram2D.
Here is the documentation of the FactoryBase class.
virtual LorentzRotation transform(tEventPtr event) const
Transform the event to the desired Lorentz frame and return the corresponding LorentzRotation.
This is the main namespace within which all identifiers in ThePEG are declared.
The AnalysisHandler is the base class of all analysis objects which may be handled by the FullEventGe...
AnalysisVector theSlaves
A list of slave analysis objects which are called for the same extracted particles and in the same Lo...
void normalize(tH1DPtr h, CrossSection unit=picobarn) const
Normalize the histogran h using the collected statistics from the EventGenerator. ...
AIDA::IHistogramFactory & histogramFactory() const
A pointer to the underlying AIDA::IHistogramFactory object.
InitState state() const
Return the state of initialization of this object.
FactoryBase::tcH1DPtr tcH1DPtr
Convenient typedef for pointer to AIDA::IHistogram1D.
const AIDA::IHistogram2D * tcH2DPtr
Convenient typedef for pointer to const AIDA::IHistogram2D.
static void Init()
Standard Init function used to initialize the interface.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
bool checkHistogramFactory(bool warn=false) const
Check if the associated EventGenerator has been assigned a histogram factory.
static ClassDescription< AnalysisHandler > initAnalysisHandler
The static object used to initialize the description of this class.
RCPtr is a reference counted (smart) pointer.
FactoryBase & histogramFactory()
Access the HistogramFactory from the EventGenerator.
AIDA::IHistogramFactory & iHistogramFactory() const
Access the underlying AIDA::IHistogramFactory in the HistogramFactory from the EventGenerator.
FactoryBase::tcH2DPtr tcH2DPtr
Convenient typedef for pointer to AIDA::IHistogram1D.
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
AIDA::IHistogram1D * tH1DPtr
Convenient typedef for pointer to AIDA::IHistogram1D.
The default concrete implementation of ClassTraitsBase.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
FactoryBase::tH1DPtr tH1DPtr
Convenient typedef for pointer to AIDA::IHistogram1D.
This template class allows the compiler to check calculations with physical quantities for dimensiona...
virtual IBPtr clone() const
Make a simple clone of this object.
const AIDA::IHistogram1D * tcH1DPtr
Convenient typedef for pointer to const AIDA::IHistogram1D.
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
Exception class used if no histogram factory was found.
BaseClassTraits describes the base classes of the templated class.
vector< AnaPtr > AnalysisVector
A vector of pointers to AnalysisHandler objects.
void unitNormalize(tH1DPtr h) const
Normalize the histogran h to unit integral.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...