41 CombinatoricState::CombinatoricState(
const std::string& sname,
42 const std::string& stitle)
43 : State(sname, stitle)
45 m_Type = kCombinatoricState;
48 CombinatoricState::CombinatoricState() : State() {}
50 CombinatoricState::~CombinatoricState() {}
52 CombinatoricState& CombinatoricState::Empty(){
53 return CombinatoricState::m_Empty;
61 void CombinatoricState::AddFrame(
const RestFrame& frame){
65 if(frame.IsVisibleFrame() &&
71 void CombinatoricState::SetParentJigsaw(Jigsaw& jigsaw){
73 if(jigsaw.IsCombinatoricJigsaw())
74 State::SetParentJigsaw(jigsaw);
77 void CombinatoricState::SetChildJigsaw(Jigsaw& jigsaw){
79 if(jigsaw.IsCombinatoricJigsaw())
80 State::SetChildJigsaw(jigsaw);
83 void CombinatoricState::ClearElements(){
87 void CombinatoricState::AddElement(VisibleState& state){
92 void CombinatoricState::AddElements(
const VisibleStateList& states){
97 VisibleStateList
const& CombinatoricState::GetElements()
const {
101 int CombinatoricState::GetNElements()
const {
102 return m_Elements.GetN();
105 bool CombinatoricState::ContainsElement(
const RFKey& key)
const {
106 return m_Elements.Contains(key);
109 bool CombinatoricState::ContainsElement(
const State& state)
const {
110 return m_Elements.Contains(state);
113 VisibleState
const& CombinatoricState::GetElement(
const RFKey& key)
const {
114 return m_Elements.Get(key);
117 void CombinatoricState::Boost(
const TVector3& B){
118 StateList(m_Elements).Boost(B);
122 TLorentzVector CombinatoricState::GetFourVector()
const {
123 return StateList(m_Elements).GetFourVector();
126 RFCharge CombinatoricState::GetCharge()
const {
127 return StateList(m_Elements).GetCharge();
130 CombinatoricState CombinatoricState::m_Empty;
bool IsEmpty() const
Checks whether this is default (empty) instance of class.
virtual void Clear()
Clears RFBase of all connections to other objects.
virtual void Clear()
Clears RFBase of all connections to other objects.
abstract base class for all Frame objects