#include #include #include #include "NdbMTReacDesc.h" ClassImp(NdbMTReacDesc) /* ================ NdbMTReacDesc ================== */ NdbMTReacDesc::NdbMTReacDesc(const char *filename) { Init(filename); } // NdbMTReacDesc /* ------- ~NdbMTReacDesc ------- */ NdbMTReacDesc::~NdbMTReacDesc() { if (shrt) { for (int i=0; i MT) break; return -1; } // FindMT /* ------- GetShort -------- */ char * NdbMTReacDesc::GetShort(Int_t MT) { Int_t idx = FindMT(MT); if (idx<0) return NULL; return shrt[idx]; } // GetShort /* ------- GetDescription -------- */ char * NdbMTReacDesc::GetDescription(Int_t MT) { Int_t idx = FindMT(MT); if (idx<0) return NULL; return desc[idx]; } // GetDescription /* ------- GetComment -------- */ char * NdbMTReacDesc::GetComment(Int_t MT) { Int_t idx = FindMT(MT); if (idx<0) return NULL; return comment[idx]; } // GetComment