BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
FairPipe.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
/* Generated by Together */
9
#include "
FairPipe.h
"
10
11
#include "FairGeoBuilder.h"
// for FairGeoBuilder
12
#include "FairGeoInterface.h"
// for FairGeoInterface
13
#include "FairGeoLoader.h"
// for FairGeoLoader
14
#include "FairGeoMedia.h"
// for FairGeoMedia
15
16
#include <
TGeoCompositeShape.h
>
// for TGeoCompositeShape
17
#include <
TGeoManager.h
>
// for TGeoManager, gGeoManager
18
#include <
TGeoMatrix.h
>
// for TGeoRotation
19
#include <
TGeoPcon.h
>
// for TGeoPcon
20
#include <
TGeoVolume.h
>
// for TGeoVolume, etc
21
22
class
FairGeoMedium;
23
24
FairPipe::~FairPipe
() {}
25
26
FairPipe::FairPipe
()
27
:
FairModule
(
"FairPipe"
,
""
)
28
{}
29
30
FairPipe::FairPipe
(
const
char
* name,
const
char
* title)
31
:
FairModule
(name, title)
32
{}
33
34
FairPipe::FairPipe
(
const
FairPipe
& rhs)
35
:
FairModule
(rhs)
36
{}
37
38
void
FairPipe::ConstructGeometry
()
39
{
40
TString
fileName = GetGeometryFileName();
41
if
(fileName.
EndsWith
(
".geo"
))
42
ConstructASCIIGeometry();
43
else
if
(fileName.
EndsWith
(
".root"
))
44
ConstructRootGeometry();
45
else
46
std::cout <<
"Geometry format not supported "
<< std::endl;
47
}
48
49
FairModule
*
FairPipe::CloneModule
()
const
50
{
51
return
new
FairPipe
(*
this
);
52
}
TGeoCompositeShape.h
TGeoManager.h
TGeoMatrix.h
TGeoPcon.h
TGeoVolume.h
FairModule
FairPipe::~FairPipe
virtual ~FairPipe()
Definition
FairPipe.cxx:24
FairPipe::FairPipe
FairPipe(const char *name, const char *Title="PND Pipe")
Definition
FairPipe.cxx:30
FairPipe::ConstructGeometry
virtual void ConstructGeometry()
Definition
FairPipe.cxx:38
FairPipe::FairPipe
FairPipe()
Definition
FairPipe.cxx:26
FairPipe::CloneModule
virtual FairModule * CloneModule() const
Definition
FairPipe.cxx:49
TString
TString::EndsWith
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
FairPipe.h
passive
FairPipe.cxx
Generated on
for BmnRoot by
1.17.0