EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PndGeoPipe.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PndGeoPipe.cxx
1 //*-- AUTHOR : Ilse Koenig
2 //*-- Created : 10/11/2003
3 
5 // PndGeoPipe
6 //
7 // Class for geometry of support structure
8 //
10 
11 #include "PndGeoPipe.h"
12 #include "FairGeoLoader.h"
13 #include "FairGeoInterface.h"
14 
16 
18  // Constructor
19  fName="pipe";
20  strcpy(modName,"p");
21  strcpy(eleName,"p");
22  maxSectors=0;
23  maxModules=1;
24 }
26  Bool_t rc = FairGeoSet::create( build );
27  if ( rc ) {
29  FairGeoInterface *GeoInterface =loader->getGeoInterface();
30 
31  GeoInterface->getMasterNodes()->Add( (TObject*) getVolume("pipeCentral") );
32  }
33  return rc;
34 }
35 
37 
38 }
39