RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
37 namespace RestFrames {
41 enum StateType { kVanillaState, kVisibleState,
42 kInvisibleState, kCombinatoricState };
54 State(
const std::string& sname,
const std::string& stitle);
151 virtual void Boost(
const TVector3& B);
187 Jigsaw* m_ParentJigsawPtr;
190 static int m_class_key;
State()
Empty constructor.
int GetNFrames() const
Returns number of frames (RestFrame) contained in this state.
bool IsCombinatoricState() const
Is this a CombinatoricState? (true/false)
StateType GetType() const
Returns State (StateType) type.
static StateList const & EmptyList()
Returns empty StateList.
abstract base class for all Frame objects
virtual void SetFourVector(const TLorentzVector &V)
Sets four-vector of this frame.
Base class for all RestFrame package objects.
virtual TLorentzVector GetFourVector() const
Returns four vector of this frame.
virtual void Clear()
Clears State of all connections to other objects.
virtual RFCharge GetCharge() const
Returns charge of this frames.
virtual void SetChildJigsaw(Jigsaw &jigsaw=Jigsaw::Empty())
Sets the child jigsaw (Jigsaw) to jigsaw
ConstRestFrameList const & GetListFrames() const
Returns list of frames (RestFrame) contained in this state.
virtual bool IsFrames(const ConstRestFrameList &frames) const
Checks if frames lists of state corresponds frames
static State & Empty()
Returns empty state.
virtual void AddFrames(const ConstRestFrameList &frames)
Adds a list of frames (RestFrame) to this state.
static Jigsaw & Empty()
Returns empty Jigsaw.
virtual void AddFrame(const RestFrame &frame)=0
Pure virtual function defined in derivatives of State class.
virtual void SetParentJigsaw(Jigsaw &jigsaw=Jigsaw::Empty())
Sets the parent jigsaw (Jigsaw) to jigsaw
bool IsVisibleState() const
Is this a VisibleState? (true/false)
virtual bool IsFrame(const RestFrame &frame) const
Checks if frame of state corresponds to frame
bool IsInvisibleState() const
Is this an InvisibleState? (true/false)
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.
virtual Jigsaw & GetChildJigsaw() const
Returns the child of this jigsaw (Jigsaw)
virtual Jigsaw & GetParentJigsaw() const
Returns the parent of this jigsaw (Jigsaw)