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

#include <PndHypDigiPar.h>

Inheritance diagram for PndHypDigiPar:

Public Member Functions

 PndHypDigiPar (const char *name="PndHypParTest", const char *title="Hyp digi parameter", const char *context="TestDefaultContext")
 
 ~PndHypDigiPar (void)
 
void clear (void)
 
void putParams (FairParamList *list)
 
Bool_t getParams (FairParamList *list)
 
 ClassDef (PndHypDigiPar, 2)
 

Public Attributes

Double_t dimX
 
Double_t dimY
 
Double_t threshold
 
Double_t noise
 

Detailed Description

Definition at line 19 of file PndHypDigiPar.h.

Constructor & Destructor Documentation

PndHypDigiPar::PndHypDigiPar ( const char *  name = "PndHypParTest",
const char *  title = "Hyp digi parameter",
const char *  context = "TestDefaultContext" 
)

Definition at line 3 of file PndHypDigiPar.cxx.

References clear().

4  : FairParGenericSet(name,title,context)
5 {
6  clear();
7 }
void clear(void)
Definition: PndHypDigiPar.h:34
TString name
PndHypDigiPar::~PndHypDigiPar ( void  )
inline

Definition at line 33 of file PndHypDigiPar.h.

33 {};

Member Function Documentation

PndHypDigiPar::ClassDef ( PndHypDigiPar  ,
 
)
void PndHypDigiPar::clear ( void  )
inline

Definition at line 34 of file PndHypDigiPar.h.

Referenced by PndHypDigiPar().

34 {};
Bool_t PndHypDigiPar::getParams ( FairParamList *  list)

Definition at line 21 of file PndHypDigiPar.cxx.

References dimX, dimY, noise, and threshold.

22 {
23  if (!list) return kFALSE;
24  if (!list->fill("dimX",&dimX)) return kFALSE;
25  if (!list->fill("dimY",&dimY)) return kFALSE;
26  //if (!list->fill("skew",&skew)) return kFALSE;
27  if (!list->fill("threshold",&threshold)) return kFALSE;
28  if (!list->fill("noise",&noise)) return kFALSE;
29 // if (!list->fill("sensName",&sensName)) return kFALSE;
30 // if (!list->fill("feName",&feName)) return kFALSE;
31  return kTRUE;
32 }
Double_t noise
Definition: PndHypDigiPar.h:26
Double_t threshold
Definition: PndHypDigiPar.h:25
Double_t dimY
Definition: PndHypDigiPar.h:23
Double_t dimX
Definition: PndHypDigiPar.h:22
void PndHypDigiPar::putParams ( FairParamList *  list)

Definition at line 9 of file PndHypDigiPar.cxx.

References dimX, dimY, noise, and threshold.

10 {
11  if(!list) return;
12  list->add("dimX", dimX);
13  list->add("dimY", dimY);
14  //list->add("skew", skew);
15  list->add("threshold", threshold);
16  list->add("noise", noise);
17  // list->add("sensName", sensName);
18  // list->add("feName", feName);
19 }
Double_t noise
Definition: PndHypDigiPar.h:26
Double_t threshold
Definition: PndHypDigiPar.h:25
Double_t dimY
Definition: PndHypDigiPar.h:23
Double_t dimX
Definition: PndHypDigiPar.h:22

Member Data Documentation

Double_t PndHypDigiPar::dimX

Definition at line 22 of file PndHypDigiPar.h.

Referenced by getParams(), and putParams().

Double_t PndHypDigiPar::dimY

Definition at line 23 of file PndHypDigiPar.h.

Referenced by getParams(), and putParams().

Double_t PndHypDigiPar::noise

Definition at line 26 of file PndHypDigiPar.h.

Referenced by getParams(), and putParams().

Double_t PndHypDigiPar::threshold

Definition at line 25 of file PndHypDigiPar.h.

Referenced by getParams(), and putParams().


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