LOGO

RestFrames  v1.0.1
RestFrames HEP Event Analysis Software Library
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
RestFrames::SetMassInvJigsaw Class Reference

Detailed Description

Jigsaw is used to set the invariant mass of an invisible group. Chooses the minimum invariant mass necessary to make the event physically viable. This jigsaw does not split anything.
Read more about the SetMassInvJigsaw on the "Recursive Jigsaw Reconstruction report". It is the Jigsaw Rule VI.1 (Invisible Mass).
Click here to learn more about the SetMassInvJigsaw

Definition at line 37 of file SetMassInvJigsaw.hh.

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

Public Member Functions

 SetMassInvJigsaw (const std::string &sname, const std::string &stitle)
 Standard constructor. More...
 
 SetMassInvJigsaw ()
 Empty constructor.
 
virtual void Clear ()
 Clears SetMassInvJigsaw from all connections to other objects.
 
virtual std::string GetLabel () const
 Returns name of this Jigsaw. More...
 
virtual bool AnalyzeEvent ()
 Analyzes event for this jigsaw. More...
 
- Public Member Functions inherited from RestFrames::InvisibleJigsaw
 InvisibleJigsaw (const std::string &sname, const std::string &stitle, int Ninvisible, int Nvisible)
 Standard constructor. More...
 
 InvisibleJigsaw ()
 Empty constructor.
 
void SetGroup (Group &group=Group::Empty())
 Sets group (Group) to current jigsaw. More...
 
InvisibleGroupGetGroup () const
 Returns group (Group) associated with this jigsaw. More...
 
void AddVisibleFrame (const RestFrame &frame, int i=0)
 Adds a VisibleFrame to current jigsaw. More...
 
void AddVisibleFrames (const ConstRestFrameList &frames, int i=0)
 Adds a list of visible frames to current jigsaw. More...
 
void AddInvisibleFrame (const RestFrame &frame, int i=0)
 Adds an InvisibleFrame to current jigsaw. More...
 
void AddInvisibleFrames (const ConstRestFrameList &frames, int i=0)
 Adds a list of invisible frames to current jigsaw. More...
 
void AddMassFrame (const RestFrame &frame, int i=0)
 Adds a visible frame to current jigsaw. More...
 
void AddMassFrames (const ConstRestFrameList &frames, int i=0)
 Adds a list visible frames to current jigsaw. More...
 
virtual double GetMinimumMass () const
 Returns minimum Lorentz invariant mass. More...
 
- Public Member Functions inherited from RestFrames::Jigsaw
 Jigsaw (const std::string &sname, const std::string &stitle, int Nchild, int Ndependancy)
 Standard constructor. More...
 
 Jigsaw ()
 Empty constructor.
 
JigsawType GetType () const
 Returns jigsaw (JigsawType) type. More...
 
virtual std::string PrintString (LogType type) const
 Prints string of information associated with Jigsaw. More...
 
bool IsInvisibleJigsaw () const
 Is invisible jigsaw? (true/false)
 
bool IsCombinatoricJigsaw () const
 Is combinatoric jigsaw? (true/false)
 
virtual ConstRestFrameList GetParentFrames () const
 Returns list of parent frames associated with this jigsaw. More...
 
virtual ConstRestFrameList const & GetChildFrames (int i) const
 Returns list of child frames associated with this jigsaw. More...
 
virtual ConstRestFrameList const & GetDependancyFrames (int i) const
 Returns list of frames in which this jigsaw depends on. More...
 
void RemoveFrame (const RestFrame &frame)
 Removes a frame from this jigsaw. More...
 
void RemoveFrames (const ConstRestFrameList &frames)
 Removes a list of frames from this jigsaw. More...
 
- Public Member Functions inherited from RestFrames::RFBase
 RFBase (const std::string &sname, const std::string &stitle, int key)
 Standard constructor. More...
 
 RFBase ()
 Empty constructor.
 
bool IsEmpty () const
 Checks whether this is default (empty) instance of class.
 
bool operator! () const
 Tests whether key is the same as this.
 
void Print (LogType type) const
 Print information associated with object.
 
RFKey GetKey () const
 gets object identification key
 
std::string GetName () const
 Returns object name.
 
std::string GetTitle () const
 Returns object title.
 
bool IsSame (const RFKey &key) const
 Tests whether key is the same as this.
 
bool IsSame (const RFBase &obj) const
 Tests whether obj is the same as this.
 
bool operator== (const RFKey &key) const
 Tests whether key is the same as this.
 
bool operator== (const RFBase &obj) const
 Tests whether obj is the same as this.
 
bool operator!= (const RFKey &key) const
 Tests whether key is the same as this.
 
bool operator!= (const RFBase &obj) const
 Tests whether obj is the same as this.
 

Static Public Member Functions

static SetMassInvJigsawEmpty ()
 Returns empty SetMassInvJigsaw. More...
 
- Static Public Member Functions inherited from RestFrames::InvisibleJigsaw
static InvisibleJigsawEmpty ()
 Returns empty InvisibleJigsaw. More...
 
- Static Public Member Functions inherited from RestFrames::Jigsaw
static JigsawEmpty ()
 Returns empty Jigsaw. More...
 
- Static Public Member Functions inherited from RestFrames::RFBase
static RFBaseEmpty ()
 Returns empty RFBase. More...
 

Protected Member Functions

void FillJigsawDependancies (JigsawList &jigsaws) const
 
- Protected Member Functions inherited from RestFrames::InvisibleJigsaw
virtual bool IsSoundBody () const
 
InvisibleStateGetNewChildState ()
 
void SetParentState (State &state=State::Empty())
 
InvisibleState const & GetParentState () const
 
InvisibleStateGetChildState (int i) const
 
virtual bool InitializeAnalysis ()
 
bool InitializeDependancyJigsaws ()
 
bool InitializeJigsawExecutionList (JigsawList &exec_jigsaws, JigsawList &todo_jigsaws)
 
virtual void FillInvisibleMassJigsawDependancies (JigsawList &jigsaws) const
 
- Protected Member Functions inherited from RestFrames::Jigsaw
bool CanResolve (const State &state) const
 
bool CanResolve (const ConstRestFrameList &frames) const
 
bool DependsOnJigsaw (const Jigsaw &jigsaw) const
 
virtual bool InitializeTree ()
 
void AddChildFrame (const RestFrame &frame, int i=0)
 
void AddDependancyFrame (const RestFrame &frame, int i=0)
 
virtual int GetNChildren () const
 
virtual StateList const & GetChildStates () const
 
int GetNDependancyStates () const
 
virtual StateList const & GetDependancyStates (int i) const
 
void SetParentState ()
 
virtual void FillGroupJigsawDependancies (JigsawList &jigsaws) const
 
virtual void FillGroupJigsawDependants (JigsawList &jigsaws) const
 
- Protected Member Functions inherited from RestFrames::RFBase
bool SetBody (bool body) const
 
bool SetMind (bool mind) const
 
bool SetSpirit (bool spirit) const
 
virtual bool IsSoundMind () const
 
virtual bool IsSoundSpirit () const
 
void UnSoundBody (const std::string &function) const
 
void UnSoundMind (const std::string &function) const
 
void UnSoundSpirit (const std::string &function) const
 
void AddDependent (RFBase *dep)
 pointer to RFBase object owned by this one
 

Additional Inherited Members

- Protected Attributes inherited from RestFrames::InvisibleJigsaw
bool m_InvMassDependancy
 
- Protected Attributes inherited from RestFrames::Jigsaw
JigsawType m_Type
 
- Protected Attributes inherited from RestFrames::RFBase
RFLog m_Log
 
RFBasem_This
 
- Static Protected Attributes inherited from RestFrames::RFBase
static const TVector3 m_Empty3Vector
 
static const TLorentzVector m_Empty4Vector
 

Constructor & Destructor Documentation

◆ SetMassInvJigsaw()

RestFrames::SetMassInvJigsaw::SetMassInvJigsaw ( const std::string &  sname,
const std::string &  stitle 
)

Standard constructor.

Parameters
snameclass instance name used for log statements
stitleclass instance title used in figures

Definition at line 37 of file SetMassInvJigsaw.cc.

Member Function Documentation

◆ AnalyzeEvent()

bool RestFrames::SetMassInvJigsaw::AnalyzeEvent ( )
virtual

Analyzes event for this jigsaw.

AnalyzeEvent() method for SetMassInvJigsaw. Takes as inputs states and dependecies, calculates output child states to be inputs to other jigsaws

Implements RestFrames::Jigsaw.

Definition at line 53 of file SetMassInvJigsaw.cc.

◆ Empty()

SetMassInvJigsaw & RestFrames::SetMassInvJigsaw::Empty ( )
static

Returns empty SetMassInvJigsaw.

Returns
Empty SetMassInvJigsaw

Definition at line 49 of file SetMassInvJigsaw.cc.

◆ GetLabel()

virtual std::string RestFrames::SetMassInvJigsaw::GetLabel ( ) const
inlinevirtual

Returns name of this Jigsaw.

Returns
Name of this Jigsaw

Reimplemented from RestFrames::Jigsaw.

Definition at line 56 of file SetMassInvJigsaw.hh.

#include "RestFrames/SetMassInvJigsaw.hh"

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

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