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::InvisibleGroup Class Reference

Detailed Description

Definition at line 40 of file InvisibleGroup.hh.

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

Public Member Functions

 InvisibleGroup (const std::string &sname, const std::string &stitle)
 Standard constructor. More...
 
 InvisibleGroup ()
 Empty constructor.
 
virtual void Clear ()
 Clears InvisibleGroup from all connections to other objects.
 
virtual void AddFrame (RestFrame &frame)
 Adds a frame (RestFrame) to this invisible group. More...
 
virtual void AddJigsaw (Jigsaw &jigsaw)
 Adds a jigsaw (Jigsaw) to this invisible group. More...
 
virtual void SetMass (double M)
 Sets mass of four-vector. More...
 
virtual void SetLabFrameFourVector (const TLorentzVector &V)
 Sets lab frame's four-vector. More...
 
virtual void SetLabFrameThreeVector (const TVector3 &V)
 Sets lab frame's three-vector. More...
 
virtual TLorentzVector GetLabFrameFourVector () const
 Returns lab frame's four-vector. More...
 
- Public Member Functions inherited from RestFrames::Group
 Group (const std::string &sname, const std::string &stitle)
 Standard constructor. More...
 
 Group ()
 Empty constructor.
 
bool IsInvisibleGroup () const
 Is this an InvisibleGroup? (true/false)
 
bool IsCombinatoricGroup () const
 Is this a CombinatoricGroup? (true/false)
 
GroupType GetType () const
 Returns group (GroupType) type. More...
 
virtual void AddFrames (const RestFrameList &frames)
 Adds a list of RestFrames to this group. More...
 
virtual void RemoveFrame (RestFrame &frame)
 Removes a frame (RestFrame) from this group. More...
 
void RemoveFrames ()
 Removes all frames (RestFrame) from this group. More...
 
void RemoveJigsaw (Jigsaw &jigsaw)
 Removes a jigsaw (Jigsaw) from this group. More...
 
void RemoveJigsaws ()
 Removes all jigsaws (Jigsaw) from current group. More...
 
bool ContainsFrame (const RestFrame &frame) const
 Is frame (RestFrame) contained in this group? (true/false) More...
 
int GetNFrames () const
 Returns the number of frames (RestFrame) contained in this group. More...
 
const RestFrameListGetListFrames () const
 Returns a list of frames (RestFrame) contained in this group. More...
 
const JigsawListGetListJigsaws () const
 Returns a list of jigsaws (Jigsaw) contained in this group. 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 InvisibleGroupEmpty ()
 Returns empty InvisibleGroup. More...
 
- Static Public Member Functions inherited from RestFrames::Group
static GroupEmpty ()
 Returns empty Group. More...
 
- Static Public Member Functions inherited from RestFrames::RFBase
static RFBaseEmpty ()
 Returns empty RFBase. More...
 

Protected Member Functions

virtual bool ClearEvent ()
 
virtual bool AnalyzeEvent ()
 
virtual InvisibleStateInitializeParentState ()
 
virtual InvisibleStateGetParentState () const
 
virtual InvisibleStateGetChildState (int i) const
 
- Protected Member Functions inherited from RestFrames::Group
virtual bool InitializeAnalysis ()
 
int GetNChildStates () const
 
StateGetChildState (const RestFrame &frame) const
 
StateList GetChildStates (const RestFrameList &frames) const
 
RestFrame const & GetLabFrame () 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 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
 

Additional Inherited Members

- Protected Attributes inherited from RestFrames::Group
GroupType m_Type
 
Statem_GroupStatePtr
 
- 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

◆ InvisibleGroup()

RestFrames::InvisibleGroup::InvisibleGroup ( 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 41 of file InvisibleGroup.cc.

Member Function Documentation

◆ AddFrame()

void RestFrames::InvisibleGroup::AddFrame ( RestFrame frame)
virtual

Adds a frame (RestFrame) to this invisible group.

Parameters
frameRestFrame to be added
Warning
frame will not be added if it is not a ReconstructionFrame or an InvisibleFrame type frame.

Reimplemented from RestFrames::Group.

Definition at line 61 of file InvisibleGroup.cc.

◆ AddJigsaw()

void RestFrames::InvisibleGroup::AddJigsaw ( Jigsaw jigsaw)
virtual

Adds a jigsaw (Jigsaw) to this invisible group.

Parameters
jisawJigsaw to be added
Warning
jigsaw will not be added if it is not an InvisibleJigsaw type jigsaw

Reimplemented from RestFrames::Group.

Definition at line 68 of file InvisibleGroup.cc.

◆ Empty()

InvisibleGroup & RestFrames::InvisibleGroup::Empty ( )
static

Returns empty InvisibleGroup.

Returns
Empty InvisibleGroup

Definition at line 53 of file InvisibleGroup.cc.

◆ GetLabFrameFourVector()

TLorentzVector RestFrames::InvisibleGroup::GetLabFrameFourVector ( ) const
virtual

Returns lab frame's four-vector.

Returns
Lab frame's four-vector

Definition at line 115 of file InvisibleGroup.cc.

◆ SetLabFrameFourVector()

void RestFrames::InvisibleGroup::SetLabFrameFourVector ( const TLorentzVector &  V)
virtual

Sets lab frame's four-vector.

Parameters
VFour-vector to be set

Definition at line 107 of file InvisibleGroup.cc.

◆ SetLabFrameThreeVector()

void RestFrames::InvisibleGroup::SetLabFrameThreeVector ( const TVector3 &  V)
virtual

Sets lab frame's three-vector.

Parameters
VThree-vector to be set

Definition at line 111 of file InvisibleGroup.cc.

◆ SetMass()

void RestFrames::InvisibleGroup::SetMass ( double  M)
virtual

Sets mass of four-vector.

Parameters
MMass to be set
Warning
If M is less than 0, mass will be set as 0

Definition at line 103 of file InvisibleGroup.cc.

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

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