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

#include <PndGeoFtsPar.h>

Inheritance diagram for PndGeoFtsPar:

Public Member Functions

 PndGeoFtsPar (const char *name="PndGeoFtsPar", const char *title="Fts Geometry Parameters", const char *context="TestDefaultContext")
 
 ~PndGeoFtsPar (void)
 
void clear (void)
 
void putParams (FairParamList *)
 
Bool_t getParams (FairParamList *)
 
TObjArray * GetGeoSensitiveNodes ()
 
TObjArray * GetGeoPassiveNodes ()
 
void SetGeometryType (Int_t geoType)
 
void SetTubeInRad (Double_t inrad)
 
void SetTubeOutRad (Double_t outrad)
 
Int_t GetGeometryType ()
 
Double_t GetTubeInRad ()
 
Double_t GetTubeOutRad ()
 

Private Member Functions

 PndGeoFtsPar (const PndGeoFtsPar &L)
 
PndGeoFtsParoperator= (const PndGeoFtsPar &)
 

Private Attributes

TObjArray * fGeoSensNodes
 
TObjArray * fGeoPassNodes
 
Int_t fGeoType
 
Double_t fTubeInRad
 
Double_t fTubeOutRad
 

Detailed Description

Definition at line 11 of file PndGeoFtsPar.h.

Constructor & Destructor Documentation

PndGeoFtsPar::PndGeoFtsPar ( const PndGeoFtsPar L)
private
PndGeoFtsPar::PndGeoFtsPar ( const char *  name = "PndGeoFtsPar",
const char *  title = "Fts Geometry Parameters",
const char *  context = "TestDefaultContext" 
)
PndGeoFtsPar::~PndGeoFtsPar ( void  )

Definition at line 21 of file PndGeoFtsPar.cxx.

22 {
23 }

Member Function Documentation

void PndGeoFtsPar::clear ( void  )

Definition at line 25 of file PndGeoFtsPar.cxx.

References fGeoPassNodes, and fGeoSensNodes.

26 {
27  if(fGeoSensNodes) {
28  fGeoSensNodes->Delete();
29  delete fGeoSensNodes;
30  }
31  if(fGeoPassNodes) {
32  fGeoPassNodes->Delete();
33  delete fGeoPassNodes;
34  }
35 }
TObjArray * fGeoSensNodes
Definition: PndGeoFtsPar.h:14
TObjArray * fGeoPassNodes
Definition: PndGeoFtsPar.h:15
Int_t PndGeoFtsPar::GetGeometryType ( )
inline
TObjArray* PndGeoFtsPar::GetGeoPassiveNodes ( )
inline
TObjArray* PndGeoFtsPar::GetGeoSensitiveNodes ( )
inline

Definition at line 30 of file PndGeoFtsPar.h.

References fGeoSensNodes.

Referenced by PndFts2::ConstructGeometry(), and PndFts::ConstructGeometry().

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

Definition at line 47 of file PndGeoFtsPar.cxx.

References fGeoPassNodes, fGeoSensNodes, fGeoType, fTubeInRad, and fTubeOutRad.

48 {
49  if (!l) return kFALSE;
50  if (!l->fillObject("FairGeoNodes Sensitive List", fGeoSensNodes)) return kFALSE;
51  if (!l->fillObject("FairGeoNodes Passive List", fGeoPassNodes)) return kFALSE;
52  if (!l->fill("Tube Innen Radius", &fTubeInRad) ) return kFALSE;
53  if (!l->fill("Tube Outer Radius", &fTubeOutRad)) return kFALSE;
54  if (!l->fill("Geometry Type", &fGeoType)) return kFALSE;
55 
56  return kTRUE;
57 }
TObjArray * fGeoSensNodes
Definition: PndGeoFtsPar.h:14
Int_t fGeoType
Definition: PndGeoFtsPar.h:16
Double_t fTubeInRad
Definition: PndGeoFtsPar.h:17
TObjArray * fGeoPassNodes
Definition: PndGeoFtsPar.h:15
Double_t fTubeOutRad
Definition: PndGeoFtsPar.h:17
Double_t PndGeoFtsPar::GetTubeInRad ( )
inline

Definition at line 38 of file PndGeoFtsPar.h.

References Double_t, and fTubeInRad.

Referenced by PndFtsMapCreator2::SetGeneralParameters(), and PndFtsMapCreator::SetGeneralParameters().

38 { return (Double_t) fTubeInRad;};
Double_t fTubeInRad
Definition: PndGeoFtsPar.h:17
Double_t
Double_t PndGeoFtsPar::GetTubeOutRad ( )
inline

Definition at line 39 of file PndGeoFtsPar.h.

References Double_t, and fTubeOutRad.

Referenced by PndFtsMapCreator2::SetGeneralParameters(), and PndFtsMapCreator::SetGeneralParameters().

39 { return (Double_t) fTubeOutRad;};
Double_t
Double_t fTubeOutRad
Definition: PndGeoFtsPar.h:17
PndGeoFtsPar& PndGeoFtsPar::operator= ( const PndGeoFtsPar )
inlineprivate

Definition at line 20 of file PndGeoFtsPar.h.

20 {return *this;}
void PndGeoFtsPar::putParams ( FairParamList *  l)

Definition at line 37 of file PndGeoFtsPar.cxx.

References fGeoPassNodes, fGeoSensNodes, fGeoType, fTubeInRad, and fTubeOutRad.

38 {
39  if (!l) return;
40  l->addObject("FairGeoNodes Sensitive List", fGeoSensNodes);
41  l->addObject("FairGeoNodes Passive List", fGeoPassNodes);
42  l->add("Tube Innen Radius", fTubeInRad);
43  l->add("Tube Outer Radius", fTubeOutRad);
44  l->add("Geometry Type", fGeoType);
45 }
TObjArray * fGeoSensNodes
Definition: PndGeoFtsPar.h:14
Int_t fGeoType
Definition: PndGeoFtsPar.h:16
Double_t fTubeInRad
Definition: PndGeoFtsPar.h:17
TObjArray * fGeoPassNodes
Definition: PndGeoFtsPar.h:15
Double_t fTubeOutRad
Definition: PndGeoFtsPar.h:17
void PndGeoFtsPar::SetGeometryType ( Int_t  geoType)
inline

Definition at line 34 of file PndGeoFtsPar.h.

Referenced by PndFts2::ConstructGeometry(), and PndFts::ConstructGeometry().

34 { fGeoType = geoType; }
Int_t fGeoType
Definition: PndGeoFtsPar.h:16
void PndGeoFtsPar::SetTubeInRad ( Double_t  inrad)
inline

Definition at line 35 of file PndGeoFtsPar.h.

Referenced by PndFts2::ConstructGeometry(), and PndFts::ConstructGeometry().

35 { fTubeInRad = inrad; }
Double_t fTubeInRad
Definition: PndGeoFtsPar.h:17
void PndGeoFtsPar::SetTubeOutRad ( Double_t  outrad)
inline

Definition at line 36 of file PndGeoFtsPar.h.

Referenced by PndFts2::ConstructGeometry(), and PndFts::ConstructGeometry().

36 { fTubeOutRad = outrad; }
Double_t fTubeOutRad
Definition: PndGeoFtsPar.h:17

Member Data Documentation

TObjArray* PndGeoFtsPar::fGeoPassNodes
private

List of FairGeoNodes for sensitive volumes

Definition at line 15 of file PndGeoFtsPar.h.

Referenced by clear(), GetGeoPassiveNodes(), getParams(), and putParams().

TObjArray* PndGeoFtsPar::fGeoSensNodes
private

Definition at line 14 of file PndGeoFtsPar.h.

Referenced by clear(), GetGeoSensitiveNodes(), getParams(), and putParams().

Int_t PndGeoFtsPar::fGeoType
private

List of FairGeoNodes for sensitive volumes

Definition at line 16 of file PndGeoFtsPar.h.

Referenced by GetGeometryType(), getParams(), and putParams().

Double_t PndGeoFtsPar::fTubeInRad
private

Definition at line 17 of file PndGeoFtsPar.h.

Referenced by getParams(), GetTubeInRad(), and putParams().

Double_t PndGeoFtsPar::fTubeOutRad
private

Definition at line 17 of file PndGeoFtsPar.h.

Referenced by getParams(), GetTubeOutRad(), and putParams().


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