EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairVolume.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairVolume.h
1
#ifndef FAIR_VOLUME_H
2
#define FAIR_VOLUME_H
3
4
#include "TNamed.h"
5
6
//#include "TObject.h"
7
//#include "TObjArray.h"
8
9
#include <iostream>
10
11
class
FairGeoNode
;
12
class
FairModule
;
21
class
FairVolume
:
public
TNamed
22
{
23
24
public
:
25
26
FairVolume
();
27
FairVolume
(TString
name
, Int_t
id
=0, Int_t detid=0,
FairModule
* fMod=0);
28
virtual
~FairVolume
();
29
30
// const char* GetName() { return fName.Data();}
31
// TString getName() { return fName;}
32
33
void
setRealName
( TString name ) {
fRealName
=
name
;}
34
const
char
*
getRealName
() {
return
fRealName
.Data();}
35
Int_t
getVolumeId
() {
return
fVolumeId
;}
36
Int_t
getModId
() {
return
fModId
;}
37
void
setModId
(Int_t
id
) {
fModId
=id;}
38
void
setCopyNo
(Int_t
id
) {
fCopyNo
=id;}
39
void
setVolumeId
( Int_t
id
) {
fVolumeId
= id;}
40
void
setGeoNode
(
FairGeoNode
*
d
) {
fNode
=
d
;}
41
void
setMotherId
(Int_t fM) {
fMotherId
=fM;}
42
void
setMotherCopyNo
(Int_t CopyNo) {
fMotherCopyNo
=CopyNo;}
43
44
FairModule
*
GetModule
() {
return
fModule
;}
45
void
SetModule
(
FairModule
* mod) {
fModule
=mod;}
46
47
Int_t
getMCid
() {
return
fMCid
;}
48
Int_t
getCopyNo
() {
return
fCopyNo
;}
49
void
setMCid
(Int_t
id
) {
fMCid
=id;}
50
FairGeoNode
*
getGeoNode
() {
return
fNode
;}
51
Int_t
getMotherId
() {
return
fMotherId
;}
52
Int_t
getMotherCopyNo
() {
return
fMotherCopyNo
;}
53
54
55
private
:
56
FairVolume
(
const
FairVolume
&);
57
FairVolume
&
operator=
(
const
FairVolume
&);
58
59
// TString fName; /**Volume Name in MC*/
60
TString
fRealName
;
61
Int_t
fVolumeId
;
62
Int_t
fModId
;
63
Int_t
fMCid
;
64
Int_t
fCopyNo
;
65
Int_t
fMotherId
;
66
Int_t
fMotherCopyNo
;
67
FairModule
*
fModule
;
68
FairGeoNode
*
fNode
;
70
ClassDef(
FairVolume
,2)
// Volume Definition
71
72
};
73
74
#endif //
EicRoot
blob
master
base
FairVolume.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration