#include "hgeomsectors.h"
#include "hgeomnode.h"
#include "hgeommedia.h"
ClassImp(HGeomSectors)
HGeomSectors::HGeomSectors() {
fName="sect";
maxModules=6;
}
const Char_t* HGeomSectors::getModuleName(Int_t m) {
sprintf(modName,"SEC%i",m+1);
return modName;
}
Bool_t HGeomSectors::read(fstream& fin,HGeomMedia* media) {
Bool_t rc=HGeomSet::read(fin,media);
if (rc) addRefNodes();
return rc;
}
void HGeomSectors::addRefNodes() {
TListIter iter(volumes);
HGeomNode* volu;
while((volu=(HGeomNode*)iter.Next())) {
volu->setVolumeType(kHGeomRefNode);
volu->setActive();
masterNodes->Add(new HGeomNode(*volu));
}
}
Last change: Sat May 22 12:56:36 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.