FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairGeoPipe.cxx
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
//*-- AUTHOR : Ilse Koenig
9
//*-- Created : 10/11/2003
10
12
// FairGeoPipe
13
//
14
// Class for geometry of support structure
15
//
17
#include "
FairGeoPipe.h
"
18
19
#include "
FairGeoInterface.h
"
// for FairGeoInterface
20
#include "
FairGeoLoader.h
"
// for FairGeoLoader
21
#include "
FairGeoNode.h
"
// for FairGeoNode
22
23
#include <TList.h>
// for TList
24
#include <TString.h>
// for TString
25
#include <string.h>
// for strcpy
26
27
class
FairGeoBuilder
;
28
class
TObject;
29
30
ClassImp
(
FairGeoPipe
);
31
32
FairGeoPipe::FairGeoPipe
()
33
:
FairGeoSet
()
34
{
35
// Constructor
36
fName =
"pipe"
;
37
strcpy(
modName
,
"p"
);
38
strcpy(
eleName
,
"p"
);
39
maxSectors
= 0;
40
maxModules
= 1;
41
}
42
Bool_t
FairGeoPipe::create
(
FairGeoBuilder
* build)
43
{
44
Bool_t rc =
FairGeoSet::create
(build);
45
if
(rc) {
46
FairGeoLoader
* loader =
FairGeoLoader::Instance
();
47
FairGeoInterface
* GeoInterface = loader->
getGeoInterface
();
48
49
GeoInterface->
getMasterNodes
()->Add(static_cast<TObject*>(
getVolume
(
"pipeCentral"
)));
50
}
51
return
rc;
52
}
53
54
FairGeoPipe::~FairGeoPipe
() {}
FairGeoNode.h
FairGeoInterface.h
FairGeoPipe::~FairGeoPipe
virtual ~FairGeoPipe()
Definition:
FairGeoPipe.cxx:54
FairGeoLoader::getGeoInterface
FairGeoInterface * getGeoInterface()
Definition:
FairGeoLoader.h:34
FairGeoLoader::Instance
static FairGeoLoader * Instance()
Definition:
FairGeoLoader.cxx:30
FairGeoPipe
Definition:
FairGeoPipe.h:17
FairGeoInterface::getMasterNodes
TList * getMasterNodes()
Definition:
FairGeoInterface.h:66
FairGeoSet::create
virtual Bool_t create(FairGeoBuilder *)
Definition:
FairGeoSet.cxx:452
FairGeoLoader
Definition:
FairGeoLoader.h:28
ClassImp
ClassImp(FairEventBuilder)
FairGeoSet::maxSectors
Int_t maxSectors
Definition:
FairGeoSet.h:55
FairGeoSet::getVolume
FairGeoNode * getVolume(const char *name)
Definition:
FairGeoSet.h:83
FairGeoPipe::FairGeoPipe
FairGeoPipe()
Definition:
FairGeoPipe.cxx:32
FairGeoSet::maxModules
Int_t maxModules
Definition:
FairGeoSet.h:57
FairGeoPipe::create
Bool_t create(FairGeoBuilder *)
Definition:
FairGeoPipe.cxx:42
FairGeoInterface
Definition:
FairGeoInterface.h:41
FairGeoPipe::modName
char modName[2]
Definition:
FairGeoPipe.h:20
FairGeoLoader.h
FairGeoBuilder
Definition:
FairGeoBuilder.h:21
FairGeoPipe::eleName
char eleName[2]
Definition:
FairGeoPipe.h:21
FairGeoPipe.h
FairGeoSet
Definition:
FairGeoSet.h:30
FairRoot
examples
common
passive
FairGeoPipe.cxx
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5