//////////////////////////////////////////////////////////////////////////
// file: TMBMCvtx.cpp //
// TMBTree MCpart class
// has MCparticle information
//
// created: 21-March-2002 Serban Protopopescu
// //
//////////////////////////////////////////////////////////////////////////
#include "mc_analyze/TMBMCvtx.hpp"
ClassImp(TMBMCvtx)
TMBMCvtx::TMBMCvtx():_x(999.9),_y(999.9),_z(999.9),_parents(), _daughters() {;}
TMBMCvtx::TMBMCvtx(Float_t x, Float_t y, Float_t z, Float_t ct):
_x(x), _y(y), _z(z),_ct(ct), _parents(), _daughters(){;}
//______________________________________________________________________________
void TMBMCvtx::addParent(TRef part)
{
TObject* obj=part.GetObject();
_parents.Add(obj);
}
void TMBMCvtx::addDaughter(TRef part)
{
TObject* obj=part.GetObject();
_daughters.Add(obj);
}
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.