FairRoot/PandaRoot
PndGeoPipe.cxx
Go to the documentation of this file.
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 }
25 Bool_t PndGeoPipe::create ( FairGeoBuilder * build ) {
26  Bool_t rc = FairGeoSet::create( build );
27  if ( rc ) {
28  FairGeoLoader *loader=FairGeoLoader::Instance();
29  FairGeoInterface *GeoInterface =loader->getGeoInterface();
30 
31  GeoInterface->getMasterNodes()->Add( (TObject*) getVolume("pipeCentral") );
32  }
33  return rc;
34 }
35 
37 
38 }
39 
virtual ~PndGeoPipe()
Definition: PndGeoPipe.cxx:36
Bool_t create(FairGeoBuilder *)
Definition: PndGeoPipe.cxx:25
ClassImp(PndAnaContFact)