BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
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
11
/////////////////////////////////////////////////////////////
12
// FairGeoPipe
13
//
14
// Class for geometry of support structure
15
//
16
/////////////////////////////////////////////////////////////
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
FairGeoPipe::FairGeoPipe
()
31
:
FairGeoSet
()
32
{
33
// Constructor
34
fName =
"pipe"
;
35
strcpy(
modName
,
"p"
);
36
strcpy(
eleName
,
"p"
);
37
maxSectors = 0;
38
maxModules = 1;
39
}
40
Bool_t
FairGeoPipe::create
(FairGeoBuilder* build)
41
{
42
Bool_t
rc = FairGeoSet::create(build);
43
if
(rc) {
44
FairGeoLoader* loader = FairGeoLoader::Instance();
45
FairGeoInterface* GeoInterface = loader->getGeoInterface();
46
47
GeoInterface->getMasterNodes()->Add(
static_cast<
TObject
*
>
(getVolume(
"pipeCentral"
)));
48
}
49
return
rc;
50
}
51
52
FairGeoPipe::~FairGeoPipe
() {}
Bool_t
bool Bool_t
TList.h
TString.h
FairGeoPipe::~FairGeoPipe
virtual ~FairGeoPipe()
Definition
FairGeoPipe.cxx:52
FairGeoPipe::FairGeoPipe
FairGeoPipe()
Definition
FairGeoPipe.cxx:30
FairGeoPipe::modName
char modName[2]
Definition
FairGeoPipe.h:20
FairGeoPipe::create
Bool_t create(FairGeoBuilder *)
Definition
FairGeoPipe.cxx:40
FairGeoPipe::eleName
char eleName[2]
Definition
FairGeoPipe.h:21
FairGeoSet
TObject
FairGeoPipe.h
passive
FairGeoPipe.cxx
Generated on
for BmnRoot by
1.17.0