RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
35 namespace RestFrames {
42 const std::string& stitle)
43 :
State(sname, stitle)
45 m_Type = kCombinatoricState;
50 CombinatoricState::~CombinatoricState() {}
53 return CombinatoricState::m_Empty;
102 return m_Elements.GetN();
106 return m_Elements.Contains(key);
110 return m_Elements.Contains(state);
114 return m_Elements.Get(key);
123 return StateList(m_Elements).GetFourVector();
127 return StateList(m_Elements).GetCharge();
virtual void AddFrame(const RestFrame &frame)
Adds a frame (RestFrame) to this state.
virtual void SetChildJigsaw(Jigsaw &jigsaw)
Sets the child jigsaw (Jigsaw) to jigsaw
VisibleStateList const & GetElements() const
Returns elements of this state.
static CombinatoricState & Empty()
Returns empty CombinatoricState.
bool IsRecoFrame() const
Is this an ReconstructionFrame ? (yes/no)
abstract base class for all Frame objects
bool IsEmpty() const
Checks whether this is default (empty) instance of class.
void AddElement(VisibleState &state)
Adds element to this state.
virtual RFCharge GetCharge() const
Returns charge of current frame.
bool ContainsElement(const State &state) const
Is state element contained in this state (true/false)
virtual TLorentzVector GetFourVector() const
Returns four-vector of current frame.
virtual void Clear()
Clears State of all connections to other objects.
void AddElements(const VisibleStateList &states)
Adds elements to this state.
void ClearElements()
Clears all elements associated with this state.
virtual void SetChildJigsaw(Jigsaw &jigsaw=Jigsaw::Empty())
Sets the child jigsaw (Jigsaw) to jigsaw
int GetNElements() const
Returns number of elements in this state.
CombinatoricState()
Empty constructor.
virtual void SetParentJigsaw(Jigsaw &jigsaw)
Sets the parent jigsaw (Jigsaw) to jigsaw
virtual void Clear()
Clears CombinatoricState of all connections to other objects.
virtual void SetParentJigsaw(Jigsaw &jigsaw=Jigsaw::Empty())
Sets the parent jigsaw (Jigsaw) to jigsaw
bool IsVisibleFrame() const
Is this a VisibleFrame ? (yes/no)
virtual void Boost(const TVector3 &B)
Boosts to different frame (RestFrame)
virtual void Boost(const TVector3 &B)
Boosts to different frame (RestFrame)
abstract base class for all Jigsaw objects
Abstract base class for all State objects.
bool IsCombinatoricJigsaw() const
Is combinatoric jigsaw? (true/false)
VisibleState const & GetElement(const RFKey &key) const
Returns element with key in this state.