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
EicGeoPar.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EicGeoPar.cxx
1
//
2
// AYK (ayk@bnl.gov), 2013/06/13
3
//
4
// EIC FairRoot-style (dummy) geometry parameter class;
5
//
6
7
#include "TObjArray.h"
8
#include "
EicGeoPar.h
"
9
#include "
FairParamList.h
"
10
11
// ---------------------------------------------------------------------------------------
12
13
EicGeoPar::EicGeoPar
(
const
char
*
name
,
const
char
*
title
,
const
char
* context)
14
:
FairParGenericSet
(name,title,context)
15
{
16
//fGeoSensNodes = new TObjArray();
17
//fGeoPassNodes = new TObjArray();
18
}
// EicGeoPar::EicGeoPar()
19
20
// ---------------------------------------------------------------------------------------
21
22
EicGeoPar::~EicGeoPar
(
void
)
23
{
24
//if(fGeoSensNodes) delete fGeoSensNodes;
25
//if(fGeoPassNodes) delete fGeoPassNodes;
26
}
// EicGeoPar::~EicGeoPar()
27
28
// ---------------------------------------------------------------------------------------
29
30
void
EicGeoPar::clear
(
void
)
31
{
32
//if(fGeoSensNodes)
33
//delete fGeoSensNodes;
34
//if(fGeoPassNodes)
35
//delete fGeoPassNodes;
36
37
//fGeoSensNodes = fGeoPassNodes = 0x0; //AZ
38
}
// EicGeoPar::clear()
39
40
// ---------------------------------------------------------------------------------------
41
42
void
EicGeoPar::putParams
(
FairParamList
* l)
43
{
44
if
(!l)
return
;
45
46
//l->addObject("FairGeoNodes Sensitive List", fGeoSensNodes);
47
//l->addObject("FairGeoNodes Passive List", fGeoPassNodes);
48
}
// EicGeoPar::putParams()
49
50
// ---------------------------------------------------------------------------------------
51
52
Bool_t
EicGeoPar::getParams
(
FairParamList
* l)
53
{
54
if
(!l)
return
kFALSE;
55
56
#if _LATER_
57
if
(!l->
fillObject
(
"FairGeoNodes Sensitive List"
, fGeoSensNodes))
58
return
kFALSE;
59
60
if
(!l->
fillObject
(
"FairGeoNodes Passive List"
, fGeoPassNodes))
61
return
kFALSE;
62
#endif
63
64
return
kTRUE;
65
}
// EicGeoPar::getParams()
66
67
// ---------------------------------------------------------------------------------------
68
69
ClassImp
(
EicGeoPar
)
EicRoot
blob
master
eic
base
EicGeoPar.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration