Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

TMBMCvtx.cpp

Go to the documentation of this file.
00001 
00002 // file: TMBMCvtx.cpp                                                  //
00003 // TMBTree MCpart class 
00004 //    has MCparticle information
00005 //
00006 // created: 21-March-2002  Serban Protopopescu
00007 //                                                                      //
00009 
00010 #include "tmb_tree/TMBMCvtx.hpp"
00011 
00012 
00013 ClassImp(TMBMCvtx)
00014 
00015 TMBMCvtx::TMBMCvtx():_x(999.9),_y(999.9),_z(999.9),_ct(999.9),_parents(), _daughters() {;}
00016 
00017 TMBMCvtx::TMBMCvtx(Float_t x, Float_t y, Float_t z, Float_t ct):
00018     _x(x), _y(y), _z(z),_ct(ct), _parents(), _daughters(){;} 
00019 
00020 
00021 //______________________________________________________________________________
00022 
00023 void TMBMCvtx::addParent(TRef part)
00024 {
00025   TObject* obj=part.GetObject();
00026   _parents.Add(obj);
00027 }
00028 
00029 void TMBMCvtx::addDaughter(TRef part)
00030 {
00031   TObject* obj=part.GetObject();
00032   _daughters.Add(obj);
00033 
00034 }

Generated on Tue Mar 28 10:13:05 2006 for CAF by doxygen 1.3.4