FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairVolume.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
// -------------------------------------------------------------------------
9
// ----- FairVolume source file -----
10
// ----- Created 12/01/04 by M. Al-Turany -----
11
// -------------------------------------------------------------------------
12
13
#include "
FairVolume.h
"
14
15
FairVolume::FairVolume
()
16
: TNamed()
17
,
18
// fName(""), /**Volume Name in MC*/
19
fRealName(
""
)
20
,
21
fVolumeId(-1)
22
,
23
fModId(-1)
24
,
25
fMCid(-1)
26
,
27
fCopyNo(-1)
28
,
29
fMotherId(-1)
30
,
31
fMotherCopyNo(-1)
32
,
33
fDetector(0)
34
, fModule(nullptr)
35
,
36
fNode(nullptr)
37
{}
38
39
FairVolume::FairVolume
(TString name, Int_t
id
, Int_t ModId,
FairModule
* fMod)
40
: TNamed(name, name)
41
,
42
// fName(name),
43
fRealName(
""
)
44
,
45
fVolumeId(id)
46
,
47
fModId(ModId)
48
,
49
fMCid(-1)
50
,
51
fCopyNo(-1)
52
,
53
fMotherId(0)
54
,
55
fMotherCopyNo(0)
56
,
57
fDetector(0)
58
, fModule(fMod)
59
,
60
fNode(nullptr)
61
{
62
if
(fModule && fModule->InheritsFrom(
"FairDetector"
)) {
63
fDetector =
dynamic_cast<
FairDetector
*
>
(fModule);
64
}
65
}
66
67
FairVolume::~FairVolume
() {}
68
69
ClassImp
(
FairVolume
);
ClassImp
ClassImp(FairEventBuilder)
FairVolume
Definition:
FairVolume.h:26
FairDetector
Definition:
FairDetector.h:25
FairVolume.h
FairModule
Definition:
FairModule.h:46
FairVolume::FairVolume
FairVolume()
Definition:
FairVolume.cxx:15
FairVolume::~FairVolume
virtual ~FairVolume()
Definition:
FairVolume.cxx:67
FairRoot
base
sim
FairVolume.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5