#include "hgeomrich.h"
#include "hgeomnode.h"
#include "hgeommedia.h"
#include "hgeomrichhit.h"
ClassImp(HGeomRich)
HGeomRich::HGeomRich() {
fName="rich";
strcpy(modName,"RICH");
strcpy(eleName,"R");
maxSectors=0;
maxModules=1;
pHit=new HGeomRichHit(this);
}
Bool_t HGeomRich::read(fstream& fin,HGeomMedia* media) {
Bool_t rc=HGeomSet::read(fin,media);
if (rc) addRefNodes();
return rc;
}
void HGeomRich::addRefNodes() {
HGeomNode* volu=getVolume("RTAM");
if (volu) {
masterNodes->Add(new HGeomNode(*volu));
volu->setVolumeType(kHGeomRefNode);
}
}
Last change: Sat May 22 12:56:31 2010
Last generated: 2010-05-22 12:56
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.