LOGO

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

Detailed Description

Definition at line 40 of file InvisibleState.hh.

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

Public Member Functions

 InvisibleState (const std::string &sname, const std::string &stitle)
 Standard constructor. More...
 
 InvisibleState ()
 Empty constructor.
 
virtual void Clear ()
 Clears InvisibleState to all connections from other objects.
 
virtual void AddFrame (const RestFrame &frame)
 Adds a frame (RestFrame) to this state. More...
 
virtual void SetParentJigsaw (Jigsaw &jigsaw)
 Sets the parent jigsaw (Jigsaw) to jigsaw More...
 
virtual void SetChildJigsaw (Jigsaw &jigsaw)
 Sets the child jigsaw (Jigsaw) to jigsaw More...
 
virtual double GetMinimumMass () const
 Returns minimum Lorentz invariant mass. More...
 
- Public Member Functions inherited from RestFrames::State
 State (const std::string &sname, const std::string &stitle)
 Standard constructor. More...
 
 State ()
 Empty constructor.
 
StateType GetType () const
 Returns State (StateType) type. More...
 
bool IsVisibleState () const
 Is this a VisibleState? (true/false) More...
 
bool IsInvisibleState () const
 Is this an InvisibleState? (true/false) More...
 
bool IsCombinatoricState () const
 Is this a CombinatoricState? (true/false) More...
 
virtual void AddFrames (const ConstRestFrameList &frames)
 Adds a list of frames (RestFrame) to this state. More...
 
ConstRestFrameList const & GetListFrames () const
 Returns list of frames (RestFrame) contained in this state. More...
 
int GetNFrames () const
 Returns number of frames (RestFrame) contained in this state. More...
 
virtual bool IsFrame (const RestFrame &frame) const
 Checks if frame of state corresponds to frame More...
 
virtual bool IsFrames (const ConstRestFrameList &frames) const
 Checks if frames lists of state corresponds frames More...
 
virtual JigsawGetParentJigsaw () const
 Returns the parent of this jigsaw (Jigsaw) More...
 
virtual JigsawGetChildJigsaw () const
 Returns the child of this jigsaw (Jigsaw) More...
 
virtual void Boost (const TVector3 &B)
 Boosts to different frame (RestFrame) More...
 
virtual void SetFourVector (const TLorentzVector &V)
 Sets four-vector of this frame. More...
 
virtual TLorentzVector GetFourVector () const
 Returns four vector of this frame. More...
 
virtual RFCharge GetCharge () const
 Returns charge of this frames. 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.
 
virtual std::string PrintString (LogType type) const
 String of 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 InvisibleStateEmpty ()
 
- Static Public Member Functions inherited from RestFrames::State
static StateEmpty ()
 Returns empty state. More...
 
static StateList const & EmptyList ()
 Returns empty StateList. More...
 
- Static Public Member Functions inherited from RestFrames::RFBase
static RFBaseEmpty ()
 Returns empty RFBase. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RestFrames::RFBase
bool SetBody (bool body) const
 
bool SetMind (bool mind) const
 
bool SetSpirit (bool spirit) const
 
virtual bool IsSoundBody () 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 inherited from RestFrames::State
StateType m_Type
 
RFCharge m_Charge
 
ConstRestFrameList m_Frames
 
- 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

◆ InvisibleState()

RestFrames::InvisibleState::InvisibleState ( 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 40 of file InvisibleState.cc.

Member Function Documentation

◆ AddFrame()

void RestFrames::InvisibleState::AddFrame ( const RestFrame frame)
virtual

Adds a frame (RestFrame) to this state.

Parameters
frameFrame to be added
Warning
frame must be an InvisibleFrame and ReconstructionFrame type frame, if it isn't frame won't be added to this state

Implements RestFrames::State.

Definition at line 59 of file InvisibleState.cc.

◆ GetMinimumMass()

double RestFrames::InvisibleState::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

Definition at line 81 of file InvisibleState.cc.

◆ SetChildJigsaw()

void RestFrames::InvisibleState::SetChildJigsaw ( Jigsaw jigsaw)
virtual

Sets the child jigsaw (Jigsaw) to jigsaw

Parameters
jisawJigsaw to be set as child

Method for connecting a parent jigsaw to its child jigsaw. Calls State::SetChildJigsaw()

Warning
jigsaw must be an InvsibleJigsaw type jigsaw, if it isn't jigsaw won't be added to this state

Reimplemented from RestFrames::State.

Definition at line 75 of file InvisibleState.cc.

◆ SetParentJigsaw()

void RestFrames::InvisibleState::SetParentJigsaw ( Jigsaw jigsaw)
virtual

Sets the parent jigsaw (Jigsaw) to jigsaw

Parameters
jisawJigsaw to be set as parent

Method for connecting a child jigsaw to its parent jigsaw. Calls State::SetParentJigsaw()

Warning
jigsaw must be an InvisibleJigsaw type jigsaw, if it isn't jigsaw won't be added to this state

Reimplemented from RestFrames::State.

Definition at line 69 of file InvisibleState.cc.

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

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