128 m_kmfit_chisq(aOtherCDDecay.chisq()),
129 m_vxfit_chisq(aOtherCDDecay.vchisq()),
138 m_kmfit_chisq(500000.),
139 m_vxfit_chisq(500000.),
149 m_kmfit_chisq(500000.),
150 m_vxfit_chisq(500000.),
152 CDCandidate( aProducts.footPrint() + aAdditionalProduct.footPrint() ) ,
165 m_kmfit_chisq(500000.),
166 m_vxfit_chisq(500000.),
218 return ( m_children.size() ) ;
226 vector< ReferenceHolder<CDCandidate> >::const_iterator finished( m_children.end() ) ;
230 analyze( (*(*
child)) ) ;
239 vector< ReferenceHolder<CDCandidate> >::const_iterator finished ( m_children.end() ) ;
243 analyze( (*(*
child)) ) ;
249 if ( aPosition >= m_children.size() ) {
250 std::cerr <<
"Trying to access an invalid Child" << std::endl ;
251 return ( *(m_children[ 0 ]) ) ;
253 return ( *(m_children[ aPosition ]) ) ;
258 return ( m_children ) ;
265 double energySum = 0 ;
267 HepLorentzVector
p4( 0.0 , 0.0 , 0.0, 0.0 ) ;
268 vector< ReferenceHolder<CDCandidate> >::const_iterator finished( m_children.end() ) ;
273 chargeSum += (*(*child)).
charge() ;
274 p4 += (*(*child)).
p4() ;
const CDFootPrint & footPrint() const
void setKinematicData(const DecayChain::KinematicData &aKinematicData)
const HepLorentzVector & p4() const
void setCDFootPrint(const CDFootPrint &aCDFootPrint)
virtual DecayChain::KinematicData * defaultKinematicData() const
virtual bool builtFromCDDecay(void) const
void addChild(const CDCandidate &aAdditionalProduct)
void setKinematicData(const DecayChain::KinematicData &aKinematicData)
const CDCandidate & child(unsigned int aPosition) const
uint32_t numberChildren() const
void iterateChildren(void(*analyze)(const CDCandidate &)) const
virtual const CDDecay & decay(void) const
const std::vector< dchain::ReferenceHolder< CDCandidate > > & children() const
void setCharge(const int aCharge)
void setP4(const HepLorentzVector &aMomentum)
void setUserTag(const int tag)