FairRoot/PandaRoot
Public Member Functions | Public Attributes | List of all members
PndGeoHypPar Class Reference

#include <PndGeoHypPar.h>

Inheritance diagram for PndGeoHypPar:

Public Member Functions

 PndGeoHypPar (const char *name="PndGeoHypPar", const char *title="Hyp Geometry Parameters", const char *context="TestDefaultContext")
 
 ~PndGeoHypPar (void)
 
void clear (void)
 
void putParams (FairParamList *)
 
Bool_t getParams (FairParamList *)
 
TObjArray * GetGeoSensitiveNodes ()
 
TObjArray * GetGeoPassiveNodes ()
 

Public Attributes

TObjArray * fGeoSensNodes
 
TObjArray * fGeoPassNodes
 

Detailed Description

Definition at line 12 of file PndGeoHypPar.h.

Constructor & Destructor Documentation

PndGeoHypPar::PndGeoHypPar ( const char *  name = "PndGeoHypPar",
const char *  title = "Hyp Geometry Parameters",
const char *  context = "TestDefaultContext" 
)

List of FairGeoNodes for passive volumes

Definition at line 18 of file PndGeoHypPar.cxx.

19  : FairParGenericSet(name,title,context) {
20 
21  fGeoSensNodes = new TObjArray();
22  fGeoPassNodes = new TObjArray();
23 
24 }
TObjArray * fGeoPassNodes
Definition: PndGeoHypPar.h:15
TObjArray * fGeoSensNodes
Definition: PndGeoHypPar.h:14
TString name
PndGeoHypPar::~PndGeoHypPar ( void  )

Definition at line 26 of file PndGeoHypPar.cxx.

26  {
27 }

Member Function Documentation

void PndGeoHypPar::clear ( void  )

Definition at line 31 of file PndGeoHypPar.cxx.

References fGeoPassNodes, and fGeoSensNodes.

31  {
32  if(fGeoSensNodes) delete fGeoSensNodes;
33  if(fGeoPassNodes) delete fGeoPassNodes;
34 }
TObjArray * fGeoPassNodes
Definition: PndGeoHypPar.h:15
TObjArray * fGeoSensNodes
Definition: PndGeoHypPar.h:14
TObjArray* PndGeoHypPar::GetGeoPassiveNodes ( )
inline

Definition at line 25 of file PndGeoHypPar.h.

References fGeoPassNodes.

25 {return fGeoPassNodes;}
TObjArray * fGeoPassNodes
Definition: PndGeoHypPar.h:15
TObjArray* PndGeoHypPar::GetGeoSensitiveNodes ( )
inline

Definition at line 24 of file PndGeoHypPar.h.

References fGeoSensNodes.

24 {return fGeoSensNodes;}
TObjArray * fGeoSensNodes
Definition: PndGeoHypPar.h:14
Bool_t PndGeoHypPar::getParams ( FairParamList *  l)

Definition at line 42 of file PndGeoHypPar.cxx.

42  {
43  if (!l) return kFALSE;
44  // if (!l->fillObject("FairGeoNodes Sensitive List", fGeoSensNodes)) return kFALSE;
45  // if (!l->fillObject("FairGeoNodes Passive List", fGeoPassNodes)) return kFALSE;
46 
47  return kTRUE;
48 }
void PndGeoHypPar::putParams ( FairParamList *  l)

Definition at line 36 of file PndGeoHypPar.cxx.

36  {
37  if (!l) return;
38  // l->addObject("FairGeoNodes Sensitive List", fGeoSensNodes);
39  // l->addObject("FairGeoNodes Passive List", fGeoPassNodes);
40 }

Member Data Documentation

TObjArray* PndGeoHypPar::fGeoPassNodes

List of FairGeoNodes for sensitive volumes

Definition at line 15 of file PndGeoHypPar.h.

Referenced by clear(), and GetGeoPassiveNodes().

TObjArray* PndGeoHypPar::fGeoSensNodes

Definition at line 14 of file PndGeoHypPar.h.

Referenced by clear(), and GetGeoSensitiveNodes().


The documentation for this class was generated from the following files: