RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
35 namespace RestFrames {
40 enum GroupType { kVanillaGroup, kInvisibleGroup,
54 Group(
const std::string& sname,
const std::string& stitle);
73 GroupType
GetType()
const {
return m_Type; }
164 State* m_GroupStatePtr;
166 virtual bool InitializeAnalysis();
167 virtual bool ClearEvent() = 0;
168 virtual bool AnalyzeEvent() = 0;
170 virtual State& InitializeParentState() = 0;
171 virtual State& GetParentState()
const;
173 int GetNChildStates()
const;
174 virtual State& GetChildState(
int i)
const;
189 bool ResolveUnknowns();
190 bool ResolveState(
const State& state);
191 bool InitializeJigsaw(
Jigsaw& jigsaw);
193 static int m_class_key;
const JigsawList & GetListJigsaws() const
Returns a list of jigsaws (Jigsaw) contained in this group.
static Group & Empty()
Returns empty Group.
void RemoveFrames()
Removes all frames (RestFrame) from this group.
virtual void Clear()
Clears Group of all connections to other objects.
abstract base class for all Frame objects
abstract base class for all Group objects
Base class for all RestFrame package objects.
void RemoveJigsaws()
Removes all jigsaws (Jigsaw) from current group.
virtual void RemoveFrame(RestFrame &frame)
Removes a frame (RestFrame) from this group.
virtual void AddJigsaw(Jigsaw &jigsaw)
Adds a jigsaw (Jigsaw) to current group.
void RemoveJigsaw(Jigsaw &jigsaw)
Removes a jigsaw (Jigsaw) from this group.
int GetNFrames() const
Returns the number of frames (RestFrame) contained in this group.
virtual void AddFrame(RestFrame &frame)
Adds a frame (RestFrame) to this group.
Group()
Empty constructor.
const RestFrameList & GetListFrames() const
Returns a list of frames (RestFrame) contained in this group.
bool ContainsFrame(const RestFrame &frame) const
Is frame (RestFrame) contained in this group? (true/false)
abstract base class for all Jigsaw objects
Abstract base class for all State objects.
bool IsCombinatoricGroup() const
Is this a CombinatoricGroup? (true/false)
virtual void AddFrames(const RestFrameList &frames)
Adds a list of RestFrames to this group.
GroupType GetType() const
Returns group (GroupType) type.
bool IsInvisibleGroup() const
Is this an InvisibleGroup? (true/false)