RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
34 namespace RestFrames {
37 const std::string& stitle)
38 :
State(sname, stitle)
40 m_Type = kVisibleState;
46 VisibleState::~VisibleState() {}
54 return VisibleState::m_Empty;
68 if(!frame)
return false;
69 if(!m_FramePtr)
return false;
70 return *m_FramePtr == frame;
85 if(!m_FramePtr)
return;
99 m_Charge =
RFCharge(charge_num, charge_den);
virtual void AddFrame(const RestFrame &frame)
Adds a frame (RestFrame) to this state.
VisibleState()
Empty constructor.
virtual RFCharge GetCharge() const
Returns charge of current frame.
virtual void SetLabFrameFourVector()
Sets four-vector of lab frame.
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.
virtual void SetFourVector(const TLorentzVector &V)
Sets four-vector of this frame.
virtual TLorentzVector GetLabFrameFourVector() const
Returns lab frame's four-vector.
virtual bool IsFrame(const RestFrame &frame) const
Checks if frame of state corresponds to frame
static VisibleState & Empty()
Returns empty VisibleState.
virtual void Clear()
Clears State of all connections to other objects.
virtual void Clear()
Clears Visible State to all connections to other objects.
bool IsVisibleFrame() const
Is this a VisibleFrame ? (yes/no)
virtual void SetCharge(const RFCharge &charge)
Sets charge of this state.
Abstract base class for all State objects.
static RestFrame & Empty()
Returns empty RestFrame.
virtual RestFrame const & GetFrame() const
Returns frame (RestFrame) of this state.
virtual bool IsFrames(const ConstRestFrameList &frames) const
Checks if frames lists of state corresponds frames