LOGO

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

Detailed Description

Definition at line 39 of file InvisibleJigsaw.hh.

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

Public Member Functions

 InvisibleJigsaw (const std::string &sname, const std::string &stitle, int Ninvisible, int Nvisible)
 Standard constructor. More...
 
 InvisibleJigsaw ()
 Empty constructor.
 
virtual void Clear ()
 Clears InvisibleJigsaw of all connections to other objects

 
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 GetLabel () const
 Returns name of this Jigsaw. 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 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

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
virtual bool AnalyzeEvent ()=0
 
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 FillJigsawDependancies (JigsawList &jigsaws) const
 
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
 

Protected Attributes

bool m_InvMassDependancy
 
- Protected Attributes inherited from RestFrames::Jigsaw
JigsawType m_Type
 
- Protected Attributes inherited from RestFrames::RFBase
RFLog m_Log
 
RFBasem_This
 

Additional Inherited Members

- Static Protected Attributes inherited from RestFrames::RFBase
static const TVector3 m_Empty3Vector
 
static const TLorentzVector m_Empty4Vector
 

Constructor & Destructor Documentation

◆ InvisibleJigsaw()

RestFrames::InvisibleJigsaw::InvisibleJigsaw ( const std::string &  sname,
const std::string &  stitle,
int  Ninvisible,
int  Nvisible 
)

Standard constructor.

Parameters
snameClass instance name used for log statements
stitleClass instance title used in figures
NinvisibleNumber of invisible frames needed for this jigsaw
NvisibleNumber of visible frames needed for this jigsaw

Definition at line 40 of file InvisibleJigsaw.cc.

Member Function Documentation

◆ AddInvisibleFrame()

void RestFrames::InvisibleJigsaw::AddInvisibleFrame ( const RestFrame frame,
int  i = 0 
)

Adds an InvisibleFrame to current jigsaw.

Parameters
frameInvisibleFrame to add
iIndex where to add frame
Warning
frame won't be added if it is not an InvisibleFrame type frame or if i is less than 0 or bigger than the number of visible frames ("Ninvisible")

Definition at line 131 of file InvisibleJigsaw.cc.

◆ AddInvisibleFrames()

void RestFrames::InvisibleJigsaw::AddInvisibleFrames ( const ConstRestFrameList frames,
int  i = 0 
)

Adds a list of invisible frames to current jigsaw.

Parameters
frameList of invisible frames to add
iIndex where to add frames
Warning
A frame in frames won't be added if it is not an InvisibleFrame type frame or if i is less than 0 or bigger than the number of invisible frames ("Ninvisible"). Calls AddInvisibleFrame() for each frame in frames

Definition at line 141 of file InvisibleJigsaw.cc.

◆ AddMassFrame()

void RestFrames::InvisibleJigsaw::AddMassFrame ( const RestFrame frame,
int  i = 0 
)

Adds a visible frame to current jigsaw.

Parameters
frameVisible frame to be added
iIndex where to add frame

Method to pass a VisibleFrame to be used by jigsaws to set invariant mass of invisible system.

Warning
frame won't be added if it is not a VisibleFrame type frame or if i is less than 0 or bigger than the number of visible frames ("Nvisible").

Definition at line 115 of file InvisibleJigsaw.cc.

◆ AddMassFrames()

void RestFrames::InvisibleJigsaw::AddMassFrames ( const ConstRestFrameList frames,
int  i = 0 
)

Adds a list visible frames to current jigsaw.

Parameters
framesList of visible frames to be added
iIndex where to add frames

Method to pass a VisibleFrame to be used by jigsaws to set invariant mass of invisible system.

Warning
A frame in frames won't be added if it is not a
VisibleFrame type frame or if i is less than 0 or bigger than the number of visible frames ("Nvisible"). Calls AddMassFrame() for each frame in frames

Definition at line 125 of file InvisibleJigsaw.cc.

◆ AddVisibleFrame()

void RestFrames::InvisibleJigsaw::AddVisibleFrame ( const RestFrame frame,
int  i = 0 
)

Adds a VisibleFrame to current jigsaw.

Parameters
frameVisibleFrame to add
iIndex where to add frame
Warning
frame won't be added if it is not a VisibleFrame type frame or if i is less than 0 or bigger than the number of visible frames ("Nvisible")

Definition at line 99 of file InvisibleJigsaw.cc.

◆ AddVisibleFrames()

void RestFrames::InvisibleJigsaw::AddVisibleFrames ( const ConstRestFrameList frames,
int  i = 0 
)

Adds a list of visible frames to current jigsaw.

Parameters
frameList of visible frames to add
iIndex where to add frames
Warning
A frame in frames won't be added if it is not a VisibleFrame type frame or if i is less than 0 or bigger than the number of visible frames ("Nvisible")

Definition at line 109 of file InvisibleJigsaw.cc.

◆ Empty()

InvisibleJigsaw & RestFrames::InvisibleJigsaw::Empty ( )
static

Returns empty InvisibleJigsaw.

Returns
Empty InvisibleJigsaw

Definition at line 62 of file InvisibleJigsaw.cc.

◆ GetGroup()

InvisibleGroup & RestFrames::InvisibleJigsaw::GetGroup ( ) const
virtual

Returns group (Group) associated with this jigsaw.

Returns
Group associated with this jigsaw

Reimplemented from RestFrames::Jigsaw.

Definition at line 72 of file InvisibleJigsaw.cc.

◆ GetMinimumMass()

double RestFrames::InvisibleJigsaw::GetMinimumMass ( ) const
virtual

Returns minimum Lorentz invariant mass.

Method returns mimimum Lorentz invariant mass such that the reconstruction is satisfied

Returns
Minimum Lorentz invariant mass

Reimplemented in RestFrames::MaxProbBreitWignerInvJigsaw, RestFrames::CombinedCBInvJigsaw, RestFrames::MinMassDiffInvJigsaw, RestFrames::MinMassesSqInvJigsaw, and RestFrames::ContraBoostInvJigsaw.

Definition at line 156 of file InvisibleJigsaw.cc.

◆ SetGroup()

void RestFrames::InvisibleJigsaw::SetGroup ( Group group = Group::Empty())
virtual

Sets group (Group) to current jigsaw.

Parameters
Groupto be set

Method for setting a group to this jigsaw. Calls Jigsaw::SetGroup()

Warning
If group is not an InvisibleGroup type group it will not be set

Reimplemented from RestFrames::Jigsaw.

Definition at line 66 of file InvisibleJigsaw.cc.

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

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