File indexing completed on 2025-08-06 08:18:16
0001 #include "TrackInfoContainer_v2.h"
0002
0003 #include "SvtxTrackInfo_v2.h"
0004
0005 #include <phool/PHObject.h>
0006
0007 TrackInfoContainer_v2::TrackInfoContainer_v2()
0008 {
0009 _clones = new TClonesArray("SvtxTrackInfo_v2");
0010 _clones->SetOwner();
0011 _clones->SetName("TrackInfoContainer_v2");
0012 }
0013
0014 TrackInfoContainer_v2::~TrackInfoContainer_v2()
0015 {
0016 _clones->Clear("C");
0017 }
0018
0019 void TrackInfoContainer_v2::identify(std::ostream& os) const
0020 {
0021 os << "TrackInfoContainer_v2 of size " << size() << std::endl;
0022 }
0023
0024 void TrackInfoContainer_v2::Reset()
0025 {
0026 _clones->Clear("C");
0027 }