LOGO

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

Detailed Description

Definition at line 41 of file LabGenFrame.hh.

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

Public Member Functions

 LabGenFrame (const std::string &sname, const std::string &stitle)
 
virtual void Clear ()
 Clears GeneratorFrame of all connections to other objects.
 
virtual bool InitializeAnalysis ()
 
virtual bool ClearEvent ()
 
virtual bool AnalyzeEvent ()
 
virtual void SetThreeVector (const TVector3 &P)
 
virtual void SetTransverseMomentum (double val)
 
virtual void SetLongitudinalMomentum (double val)
 
virtual void SetPhi (double val)
 
virtual void SetPToverM (double val)
 
void SetN_MCMCBurnIn (int N)
 
void SetN_MCMCDiscard (int N)
 
void SetFailTolerance (int N)
 
- Public Member Functions inherited from RestFrames::LabFrame< GeneratorFrame >
 LabFrame (const std::string &sname, const std::string &stitle)
 
void SetChildFrame (RestFrame &frame)
 
virtual bool InitializeTree ()
 
TVector3 GetInvisibleMomentum () const
 
- Public Member Functions inherited from RestFrames::GeneratorFrame
 GeneratorFrame (const std::string &sname, const std::string &stitle)
 
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
 

Protected Member Functions

virtual bool InitializeGenAnalysis ()
 
virtual void ResetGenFrame ()
 
virtual bool GenerateFrame ()
 
virtual bool IterateMCMC ()
 
- Protected Member Functions inherited from RestFrames::LabFrame< GeneratorFrame >
virtual bool IsSoundBody () const
 
- Protected Member Functions inherited from RestFrames::GeneratorFrame
bool InitializeAnalysisRecursive ()
 
bool AnalyzeEventRecursive ()
 
bool ClearEventRecursive ()
 
void SetChildren (const std::vector< TLorentzVector > &P_children)
 
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_PT
 
double m_PL
 
double m_Phi
 
double m_PToM
 
double m_MaxM
 
double m_ChildMassMCMC
 
double m_ChildProbMCMC
 
int m_NBurnInMCMC
 
int m_NDiscardMCMC
 
int m_FailTolerance
 
long m_Ngenerated
 
long m_Npassed
 
- Protected Attributes inherited from RestFrames::GeneratorFrame
double m_Mass
 

Additional Inherited Members

- Static Public Member Functions inherited from RestFrames::GeneratorFrame
static GeneratorFrameEmpty ()
 Returns empty instance of class.
 
Collaboration diagram for RestFrames::LabGenFrame:
Collaboration graph
[legend]

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