//_____________________________________________________________________________ // // According to Pasha, TStnTrackLinkBlock's are responsible for // memory cleanup, the corresponding branches are created with // fAutoDelete = 0; this block is always filled in non-default mode: // one can start filling it only when Track and SiHit blocks are // already filled // //_____________________________________________________________________________ //#include "TClass.h" #include "Stntuple/obj/TStnTrackLinkBlock.hh" ClassImp(TStnTrackLinkBlock) //_____________________________________________________________________________ // void TStnTrackLinkBlock::Streamer(TBuffer& R__b) { // // Stream an object of class TStnTrackLinkBlock as fast as possible // if (R__b.IsReading()) { // Version_t R__v = R__b.ReadVersion(); if (R__v) { } // fSiHitLinkTrk.Streamer(R__b); // } // else { // R__b.WriteVersion(TStnTrackLinkBlock::IsA()); // fSiHitLinkTrk.Streamer(R__b); // } // } //_____________________________________________________________________________ TStnTrackLinkBlock::TStnTrackLinkBlock() { // link block has to be initialized after all the individual blocks have been // initialized fUserInitialization = 1; } //_____________________________________________________________________________ TStnTrackLinkBlock::~TStnTrackLinkBlock() { } //_____________________________________________________________________________ #ifndef NO_ROOT_CONST void TStnTrackLinkBlock::Print(Option_t* opt) const { #else void TStnTrackLinkBlock::Print(Option_t* opt) { #endif printf("Track-to-SiHit links\n-----------------\n"); fSiHitLinkTrk.Print(opt); printf("\nTrack-to-Intersection links\n-----------------\n"); fSiIsectLinkTrk.Print(opt); } //_____________________________________________________________________________ void TStnTrackLinkBlock::Clear(Option_t* opt) { fSiHitLinkTrk.Clear(opt); fSiIsectLinkTrk.Clear(opt); }