#include "Stntuple/data/TTcmd.hh" ClassImp(TTcmd) //______________________________________________________________________________ void TTcmd::Streamer(TBuffer &R__b) { // Stream an object of class TTcmd - do it by hand if (R__b.IsReading()) { Version_t R__v = R__b.ReadVersion(); if (R__v) { } fData.Streamer(R__b); } else { R__b.WriteVersion(TTcmd::IsA()); fData.Streamer(R__b); } } //_____________________________________________________________________________ TTcmd::TTcmd() { } //_____________________________________________________________________________ Int_t TTcmd::Init(Int_t NWords) { fData.Clear(); fData.Reserve(NWords); return 0; } //_____________________________________________________________________________ TTcmd::~TTcmd() { } //----------------------------------------------------------------------------- void TTcmd::Print(Option_t* opt) const { if (strcmp(opt,"") == 0) { //----------------------------------------------------------------------------- // HEX format //----------------------------------------------------------------------------- printf("\n"); printf("TCMD Bank: as unsigned int (4-byte words)\n"); Int_t nwords = fData.GetSize(); for (int index = 0; index < nwords ; ++index) { printf(" %9i:",index); printf(" %8x ",fData.At(index)); } printf("\n") ; } }