LOGO

RestFrames  v1.0.0
RestFrames HEP Event Analysis Software Library
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RestFrames::GeneratorFrame Class Referenceabstract

Detailed Description

Definition at line 42 of file GeneratorFrame.hh.

Inheritance diagram for RestFrames::GeneratorFrame:
Inheritance graph
[legend]

Public Member Functions

 GeneratorFrame (const std::string &sname, const std::string &stitle)
 
virtual void Clear ()
 Clears GeneratorFrame of all connections to other objects.
 
virtual void AddChildFrame (RestFrame &frame)
 Add a child RestFrame to this frame. More...
 
virtual void SetParentFrame (RestFrame &frame=RestFrame::Empty())
 Set the parent frame for this frame. More...
 
virtual GeneratorFrame const & GetParentFrame () const
 Returns the parent of this frame. More...
 
virtual GeneratorFrameGetChildFrame (int i=0) const
 Get the frame of the i th child.
 
void SetPCut (double cut)
 
void SetPtCut (double cut)
 
void SetEtaCut (double cut)
 
void SetMassWindowCut (double min, double max)
 
void RemovePCut ()
 
void RemovePtCut ()
 
void RemoveEtaCut ()
 
void RemoveMassWindowCut ()
 
void PrintGeneratorEfficiency () const
 Print generator efficiency information.
 
virtual double GetMass () const
 Get the mass of this frame.
 
bool IsVariableMassMCMC () const
 Frame is capable having a variable mass? (true/false)
 
virtual double GetMinimumMassMCMC () const
 
virtual void GenerateMassMCMC (double &mass, double &prob, double max=-1.) const
 
virtual double GetProbMCMC (double mass=-1.) const
 
double GetRandom () const
 
double GetGaus (double mu, double sig) const
 

Static Public Member Functions

static GeneratorFrameEmpty ()
 Returns empty instance of class.
 

Protected Member Functions

bool InitializeAnalysisRecursive ()
 
bool AnalyzeEventRecursive ()
 
bool ClearEventRecursive ()
 
virtual void ResetGenFrame ()=0
 
virtual bool GenerateFrame ()=0
 
void SetChildren (const std::vector< TLorentzVector > &P_children)
 
virtual bool InitializeGenAnalysis ()
 
virtual bool IterateMCMC ()
 
bool IterateRecursiveMCMC ()
 
void SetVariableMassMCMC (bool var=true)
 
virtual void SetMassMCMC (double mass)
 
void SetMassMCMC (double mass, GeneratorFrame &frame) const
 
bool EventInAcceptance () const
 

Protected Attributes

double m_Mass
 

Member Function Documentation

void RestFrames::GeneratorFrame::AddChildFrame ( RestFrame frame)
virtual

Add a child RestFrame to this frame.

Parameters
frameRestFrame to be added as child

Method for adding a RestFrame frame as a child of this frame. frame will not be added as a child if it is already listed as a child.

Definition at line 92 of file GeneratorFrame.cc.

GeneratorFrame const & RestFrames::GeneratorFrame::GetParentFrame ( ) const
virtual

Returns the parent of this frame.

Returns the parent frame of this frame. If the parent frame is not set, an empty frame is returned.

Definition at line 104 of file GeneratorFrame.cc.

void RestFrames::GeneratorFrame::SetParentFrame ( RestFrame frame = RestFrame::Empty())
virtual

Set the parent frame for this frame.

Parameters
frameparent frame

Method for connecting a child frame to its parent frame Empty default sets parent frame to none

Definition at line 98 of file GeneratorFrame.cc.

Collaboration diagram for RestFrames::GeneratorFrame:
Collaboration graph
[legend]

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