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
FairBaseParSet.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairBaseParSet.h
1
#ifndef FAIRBASEPARSET_H
2
#define FAIRBASEPARSET_H
3
12
#include "
FairParGenericSet.h
"
13
#include "TGeoManager.h"
14
#include "TObjString.h"
15
class
FairPrimaryGenerator
;
16
class
TObjArray;
17
18
class
FairBaseParSet
:
public
FairParGenericSet
19
{
20
public
:
29
FairBaseParSet
(
const
char
*
name
=
"FairBaseParSet"
,
30
const
char
*
title
=
"Class for base parameter io"
,
31
const
char
* context=
"BaseDefaultContext"
);
33
~FairBaseParSet
(
void
);
35
void
clear
(
void
);
40
void
putParams
(
FairParamList
*);
47
Bool_t
getParams
(
FairParamList
*);
52
void
SetDetList
(TObjArray* array) {
fDetList
=array;}
57
void
SetGeoNodes
(TObjArray* array) {
fGeoNodes
=array;}
62
void
SetGen
(
FairPrimaryGenerator
* gen) {
fPriGen
=gen;}
67
void
SetBeamMom
(Double_t BMom) {
fBeamMom
= BMom;}
72
void
SetGeometry
(TGeoManager* Geom) {
fGeom
=Geom;}
77
void
SetContListStr
(TObjArray*
list
) {
fContNameList
=
list
;}
81
TObjArray*
GetDetList
() {
return
fDetList
;}
85
TObjArray*
GetGeoNodes
() {
return
fGeoNodes
;}
89
FairPrimaryGenerator
*
GetPriGen
() {
return
fPriGen
; }
93
Double_t
GetBeamMom
() {
return
fBeamMom
; }
97
TGeoManager*
GetGeometry
() {
return
fGeom
;}
101
TObjArray*
GetContList
() {
return
fContNameList
;}
102
103
protected
:
104
106
TObjArray*
fDetList
;
108
TObjArray*
fGeoNodes
;
109
110
FairPrimaryGenerator
*
fPriGen
;
112
Double_t
fBeamMom
;
114
TGeoManager*
fGeom
;
116
TObjArray*
fContNameList
;
117
118
ClassDef(
FairBaseParSet
,4)
119
120
private:
121
FairBaseParSet
(const
FairBaseParSet
&
L
);
122
FairBaseParSet
& operator= (const
FairBaseParSet
&) {
return
*
this
;}
123
124
125
126
};
127
128
#endif
/* !FAIRBASEPARSET_H */
EicRoot
blob
master
base
FairBaseParSet.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:32
using
1.8.2 with
EIC GitHub integration