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

#include <PndMdtRecoPar.h>

Inheritance diagram for PndMdtRecoPar:

Public Member Functions

Float_t GetLayerPos (Int_t mod, Int_t lay) const
 
Float_t GetAngleCut (Int_t mod) const
 
 PndMdtRecoPar (const char *name="PndMdtRecoPar", const char *title="Mdt reconstruction parameter", const char *context="TestDefaultContext")
 
 ~PndMdtRecoPar (void)
 
void Clear (void)
 
void putParams (FairParamList *list)
 
Bool_t getParams (FairParamList *list)
 

Private Member Functions

 ClassDef (PndMdtRecoPar, 1)
 

Private Attributes

Float_t fLayerPos [2][10]
 
Float_t fAngleCut [2]
 

Detailed Description

Definition at line 7 of file PndMdtRecoPar.h.

Constructor & Destructor Documentation

PndMdtRecoPar::PndMdtRecoPar ( const char *  name = "PndMdtRecoPar",
const char *  title = "Mdt reconstruction parameter",
const char *  context = "TestDefaultContext" 
)
PndMdtRecoPar::~PndMdtRecoPar ( void  )
inline

Definition at line 19 of file PndMdtRecoPar.h.

19 {};

Member Function Documentation

PndMdtRecoPar::ClassDef ( PndMdtRecoPar  ,
 
)
private
void PndMdtRecoPar::Clear ( void  )

Definition at line 41 of file PndMdtRecoPar.cxx.

References fAngleCut, fLayerPos, and mm.

42 {
43  // Function to clear the Position array
44  for (Int_t mm=0; mm<2; mm++)
45  {
46  fAngleCut[mm] = -1;
47  for (Int_t ll=0; ll<10; ll++)
48  {
49  fLayerPos[mm][ll] = -1;
50  }
51  }
52 }
Float_t fAngleCut[2]
Definition: PndMdtRecoPar.h:30
Float_t fLayerPos[2][10]
Definition: PndMdtRecoPar.h:29
Double_t const mm
Float_t PndMdtRecoPar::GetAngleCut ( Int_t  mod) const
inline

Definition at line 13 of file PndMdtRecoPar.h.

References fAngleCut.

13 { return fAngleCut[mod]; };
Float_t fAngleCut[2]
Definition: PndMdtRecoPar.h:30
Float_t PndMdtRecoPar::GetLayerPos ( Int_t  mod,
Int_t  lay 
) const
inline

Definition at line 12 of file PndMdtRecoPar.h.

References fLayerPos.

Referenced by for().

12 { return fLayerPos[mod][lay]; };
Float_t fLayerPos[2][10]
Definition: PndMdtRecoPar.h:29
Bool_t PndMdtRecoPar::getParams ( FairParamList *  list)

Definition at line 59 of file PndMdtRecoPar.cxx.

60 {
61  if (!list) return kFALSE;
62  //if (!list->fill("LayerPosition",&fLayerPos)) return kFALSE;
63 
64  return kTRUE;
65 }
void PndMdtRecoPar::putParams ( FairParamList *  list)

Definition at line 53 of file PndMdtRecoPar.cxx.

54 {
55  if(!list) return;
56  //list->add("LayerPosition",fLayerPos);
57 }

Member Data Documentation

Float_t PndMdtRecoPar::fAngleCut[2]
private

Definition at line 30 of file PndMdtRecoPar.h.

Referenced by Clear(), and GetAngleCut().

Float_t PndMdtRecoPar::fLayerPos[2][10]
private

Definition at line 29 of file PndMdtRecoPar.h.

Referenced by Clear(), and GetLayerPos().


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