77 const TString& name(volu->
getShape());
87 TString allShapes[13] = {
88 "BOX ",
"TRAP",
"TRD1",
"PGON",
"PCON",
"TUBE",
"TUBS",
"CONE",
"CONS",
"SPHE",
"ELTU",
"TORUS",
"ASSEMBLY"};
90 if (sName.Length() == 3) {
98 for (Int_t i = 0; i < 13; i++) {
99 if (sName.CompareTo(allShapes[i]) == 0) {
157 Error(
"selectShape",
"shape %s not implemented", name.Data());
virtual Bool_t writePoints(std::fstream *, FairGeoVolume *)
Int_t readPoints(std::fstream *, FairGeoVolume *)
ClassImp(FairEventBuilder)
Bool_t writePoints(std::fstream *, FairGeoVolume *)
void printPoints(FairGeoVolume *volu)
FairGeoBasicShape * selectShape(FairGeoVolume *)
virtual void printPoints(FairGeoVolume *volu)
virtual Int_t readPoints(std::fstream *, FairGeoVolume *)
const TString & getShape() const