FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndGeoPipe Class Reference

#include <PndGeoPipe.h>

Inheritance diagram for PndGeoPipe:

Public Member Functions

 PndGeoPipe ()
 
virtual ~PndGeoPipe ()
 
const char * getModuleName (Int_t)
 
const char * getEleName (Int_t)
 
Bool_t create (FairGeoBuilder *)
 

Protected Attributes

char modName [2]
 
char eleName [2]
 

Detailed Description

Definition at line 6 of file PndGeoPipe.h.

Constructor & Destructor Documentation

PndGeoPipe::PndGeoPipe ( )

Definition at line 17 of file PndGeoPipe.cxx.

17  {
18  // Constructor
19  fName="pipe";
20  strcpy(modName,"p");
21  strcpy(eleName,"p");
22  maxSectors=0;
23  maxModules=1;
24 }
char eleName[2]
Definition: PndGeoPipe.h:9
char modName[2]
Definition: PndGeoPipe.h:8
PndGeoPipe::~PndGeoPipe ( )
virtual

Definition at line 36 of file PndGeoPipe.cxx.

36  {
37 
38 }

Member Function Documentation

Bool_t PndGeoPipe::create ( FairGeoBuilder *  build)

Definition at line 25 of file PndGeoPipe.cxx.

References Bool_t.

25  {
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 }
const char* PndGeoPipe::getEleName ( Int_t  )
inline

Definition at line 14 of file PndGeoPipe.h.

References eleName.

14 {return eleName;}
char eleName[2]
Definition: PndGeoPipe.h:9
const char* PndGeoPipe::getModuleName ( Int_t  )
inline

Definition at line 13 of file PndGeoPipe.h.

References modName.

13 {return modName;}
char modName[2]
Definition: PndGeoPipe.h:8

Member Data Documentation

char PndGeoPipe::eleName[2]
protected

Definition at line 9 of file PndGeoPipe.h.

Referenced by getEleName().

char PndGeoPipe::modName[2]
protected

Definition at line 8 of file PndGeoPipe.h.

Referenced by getModuleName().


The documentation for this class was generated from the following files: