#include "hdataobjid.h"

//*-- Author : Manuel Sanchez
//*-- Modified : 1/04/98 by Manuel Sanchez
//*-- Copyright : GENP (Univ. Santiago de Compostela)

//_HADES_CLASS_DESCRIPTION 
////////////////////////////////////
//HDataObjId
// 
//  One object of this class unambigously identifies one HDataObject in the 
//HEvent structure.
////////////////////////////////

ClassImp(HDataObjId)


HDataObjId::HDataObjId(void) {
    fCategory=catInvalid;
}

HDataObjId::HDataObjId(Cat_t aCat,HLocation &aLoc) {
  // Allocates a new Id for an object of category aCat in the location aLoc
  fCategory=aCat;
  fLocation=aLoc;
}

HDataObjId::~HDataObjId(void) {
}

void HDataObjId::setLocation(HLocation &aLoc) {
  // Stores the location of the object referenced by HDataObjId;
  // For more information on the HLocation role in a event, see HEvent
 fLocation=aLoc;
}

Last change: Sat May 22 12:54:19 2010
Last generated: 2010-05-22 12:54

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.