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

#include <PndRichCalDbData.h>

Inheritance diagram for PndRichCalDbData:

Public Member Functions

 PndRichCalDbData ()
 
 PndRichCalDbData (const char *name)
 
 PndRichCalDbData (const char *name, const PndRichCalDb &cal)
 
virtual ~PndRichCalDbData ()
 
Int_t GetType () const
 
Double_t GetPmin () const
 
Double_t GetXmin () const
 
Double_t GetYmin () const
 
Double_t GetTmin () const
 
Double_t GetFmin () const
 
Double_t GetPmax () const
 
Double_t GetXmax () const
 
Double_t GetYmax () const
 
Double_t GetTmax () const
 
Double_t GetFmax () const
 
Int_t GetNp () const
 
Int_t GetNx () const
 
Int_t GetNy () const
 
Int_t GetNt () const
 
Int_t GetNf () const
 
TArrayF * GetBetaMean () const
 
TArrayF * GetBetaSig () const
 
TArrayF * GetBetaEff () const
 
Int_t SizeOf ()
 

Private Member Functions

 PndRichCalDbData (const PndRichCalDbData &L)
 
PndRichCalDbDataoperator= (const PndRichCalDbData &)
 

Private Attributes

Int_t fType
 
Double_t fPmin
 
Double_t fPmax
 
Double_t fXmin
 
Double_t fXmax
 
Double_t fYmin
 
Double_t fYmax
 
Double_t fTmin
 
Double_t fTmax
 
Double_t fFmin
 
Double_t fFmax
 
Int_t fNp
 
Int_t fNx
 
Int_t fNy
 
Int_t fNt
 
Int_t fNf
 
TArrayF * fBetaMean
 
TArrayF * fBetaSig
 
TArrayF * fBetaEff
 

Detailed Description

Definition at line 32 of file PndRichCalDbData.h.

Constructor & Destructor Documentation

PndRichCalDbData::PndRichCalDbData ( )

Default constructor

Definition at line 8 of file PndRichCalDbData.cxx.

9  :fType(1),
10  fPmin(0),
11  fPmax(0),
12  fXmin(0),
13  fXmax(0),
14  fYmin(0),
15  fYmax(0),
16  fTmin(0),
17  fTmax(0),
18  fFmin(0),
19  fFmax(0),
20  fNp(0),
21  fNx(0),
22  fNy(0),
23  fNt(0),
24  fNf(0),
25  fBetaMean(0),
26  fBetaSig(0),
27  fBetaEff(0)
28 {
29 
30 }
PndRichCalDbData::PndRichCalDbData ( const char *  name)

Standard constructor

Definition at line 36 of file PndRichCalDbData.cxx.

37  :TNamed(mapName, "PND Rich Cal db"),
38  fPmin(0),
39  fPmax(0),
40  fXmin(0),
41  fXmax(0),
42  fYmin(0),
43  fYmax(0),
44  fTmin(0),
45  fTmax(0),
46  fFmin(0),
47  fFmax(0),
48  fNp(0),
49  fNx(0),
50  fNy(0),
51  fNt(0),
52  fNf(0),
53  fBetaMean(0),
54  fBetaSig(0),
55  fBetaEff(0)
56 {
57 }
PndRichCalDbData::PndRichCalDbData ( const char *  name,
const PndRichCalDb cal 
)

Constructor from an existing PndRichCalDb

Definition at line 63 of file PndRichCalDbData.cxx.

65  :TNamed(name, "PND Rich Cal db"),
66  fType( cal.GetType()),
67  fPmin( cal.GetPmin()),
68  fPmax( cal.GetPmax()),
69  fXmin( cal.GetXmin()),
70  fXmax( cal.GetXmax()),
71  fYmin( cal.GetYmin()),
72  fYmax( cal.GetYmax()),
73  fTmin( cal.GetTmin()),
74  fTmax( cal.GetTmax()),
75  fFmin( cal.GetFmin()),
76  fFmax( cal.GetFmax()),
77  fNp( cal.GetNp()),
78  fNx( cal.GetNx()),
79  fNy( cal.GetNy()),
80  fNt( cal.GetNt()),
81  fNf( cal.GetNf()),
82  fBetaMean( new TArrayF(*(cal.GetBetaMean()))),
83  fBetaSig( new TArrayF(*(cal.GetBetaSig()))),
84  fBetaEff( new TArrayF(*(cal.GetBetaEff())))
85 {
86 }
virtual Double_t GetBetaEff(dbpoint pnt)
Int_t GetNt() const
Definition: PndRichCalDb.h:106
Double_t GetYmax() const
Definition: PndRichCalDb.h:95
Double_t GetTmin() const
Definition: PndRichCalDb.h:91
Int_t GetNp() const
Definition: PndRichCalDb.h:103
Int_t GetNf() const
Definition: PndRichCalDb.h:107
Double_t GetFmax() const
Definition: PndRichCalDb.h:97
Double_t GetYmin() const
Definition: PndRichCalDb.h:90
Int_t GetNy() const
Definition: PndRichCalDb.h:105
Double_t GetFmin() const
Definition: PndRichCalDb.h:92
Double_t GetPmin() const
Definition: PndRichCalDb.h:88
virtual Double_t GetBetaSig(dbpoint pnt)
virtual Double_t GetBetaMean(dbpoint pnt)
TString name
Double_t GetPmax() const
Definition: PndRichCalDb.h:93
Double_t GetTmax() const
Definition: PndRichCalDb.h:96
Double_t GetXmin() const
Definition: PndRichCalDb.h:89
Int_t GetNx() const
Definition: PndRichCalDb.h:104
Double_t GetXmax() const
Definition: PndRichCalDb.h:94
PndRichCalDbData::~PndRichCalDbData ( )
virtual

Destructor

Definition at line 129 of file PndRichCalDbData.cxx.

References fBetaEff, fBetaMean, and fBetaSig.

129  {
130  if ( fBetaMean ) delete fBetaMean;
131  if ( fBetaSig ) delete fBetaSig;
132  if ( fBetaEff ) delete fBetaEff;
133 }
PndRichCalDbData::PndRichCalDbData ( const PndRichCalDbData L)
private

Definition at line 90 of file PndRichCalDbData.cxx.

91  :TNamed(L),
92  fType( L.GetType()),
93  fPmin( L.GetPmin()),
94  fPmax( L.GetPmax()),
95  fXmin( L.GetXmin()),
96  fXmax( L.GetXmax()),
97  fYmin( L.GetYmin()),
98  fYmax( L.GetYmax()),
99  fTmin( L.GetTmin()),
100  fTmax( L.GetTmax()),
101  fFmin( L.GetFmin()),
102  fFmax( L.GetFmax()),
103  fNp( L.GetNp()),
104  fNx( L.GetNx()),
105  fNy( L.GetNy()),
106  fNt( L.GetNt()),
107  fNf( L.GetNf()),
108  fBetaMean( new TArrayF(*(L.GetBetaMean()))),
109  fBetaSig( new TArrayF(*(L.GetBetaSig()))),
110  fBetaEff( new TArrayF(*(L.GetBetaEff())))
111 
112 {
113 }
Double_t GetTmax() const
Int_t GetNt() const
Double_t GetFmax() const
Double_t GetYmax() const
TArrayF * GetBetaSig() const
Int_t GetType() const
Int_t GetNf() const
Int_t GetNp() const
Double_t GetXmin() const
Int_t GetNx() const
Double_t GetTmin() const
Double_t GetYmin() const
TArrayF * GetBetaMean() const
TArrayF * GetBetaEff() const
Double_t GetFmin() const
Double_t GetPmax() const
Int_t GetNy() const
Double_t GetPmin() const
Double_t GetXmax() const

Member Function Documentation

TArrayF* PndRichCalDbData::GetBetaEff ( ) const
inline

Definition at line 75 of file PndRichCalDbData.h.

References fBetaEff.

Referenced by PndRichCalDb::SetCalDb().

75 { return fBetaEff; }
TArrayF* PndRichCalDbData::GetBetaMean ( ) const
inline

Accessors to the field value arrays

Definition at line 73 of file PndRichCalDbData.h.

References fBetaMean.

Referenced by PndRichCalDb::SetCalDb().

73 { return fBetaMean; }
TArrayF* PndRichCalDbData::GetBetaSig ( ) const
inline

Definition at line 74 of file PndRichCalDbData.h.

References fBetaSig.

Referenced by PndRichCalDb::SetCalDb().

74 { return fBetaSig; }
Double_t PndRichCalDbData::GetFmax ( ) const
inline

Definition at line 64 of file PndRichCalDbData.h.

References fFmax.

Referenced by PndRichCalDb::SetCalDb().

64 { return fFmax; }
Double_t PndRichCalDbData::GetFmin ( ) const
inline

Definition at line 59 of file PndRichCalDbData.h.

References fFmin.

Referenced by PndRichCalDb::SetCalDb().

59 { return fFmin; }
Int_t PndRichCalDbData::GetNf ( ) const
inline

Definition at line 69 of file PndRichCalDbData.h.

References fNf.

Referenced by PndRichCalDb::SetCalDb().

69 { return fNf; }
Int_t PndRichCalDbData::GetNp ( ) const
inline

Definition at line 65 of file PndRichCalDbData.h.

References fNp.

Referenced by PndRichCalDb::SetCalDb().

65 { return fNp; }
Int_t PndRichCalDbData::GetNt ( ) const
inline

Definition at line 68 of file PndRichCalDbData.h.

References fNt.

Referenced by PndRichCalDb::SetCalDb().

68 { return fNt; }
Int_t PndRichCalDbData::GetNx ( ) const
inline

Definition at line 66 of file PndRichCalDbData.h.

References fNx.

Referenced by PndRichCalDb::SetCalDb().

66 { return fNx; }
Int_t PndRichCalDbData::GetNy ( ) const
inline

Definition at line 67 of file PndRichCalDbData.h.

References fNy.

Referenced by PndRichCalDb::SetCalDb().

67 { return fNy; }
Double_t PndRichCalDbData::GetPmax ( ) const
inline

Definition at line 60 of file PndRichCalDbData.h.

References fPmax.

Referenced by PndRichCalDb::SetCalDb().

60 { return fPmax; }
Double_t PndRichCalDbData::GetPmin ( ) const
inline

Definition at line 55 of file PndRichCalDbData.h.

References fPmin.

Referenced by PndRichCalDb::SetCalDb().

55 { return fPmin; }
Double_t PndRichCalDbData::GetTmax ( ) const
inline

Definition at line 63 of file PndRichCalDbData.h.

References fTmax.

Referenced by PndRichCalDb::SetCalDb().

63 { return fTmax; }
Double_t PndRichCalDbData::GetTmin ( ) const
inline

Definition at line 58 of file PndRichCalDbData.h.

References fTmin.

Referenced by PndRichCalDb::SetCalDb().

58 { return fTmin; }
Int_t PndRichCalDbData::GetType ( ) const
inline

Accessors to field parameters in local coordinate system

Definition at line 54 of file PndRichCalDbData.h.

References fType.

Referenced by PndRichCalDb::SetCalDb().

54 { return fType; }
Double_t PndRichCalDbData::GetXmax ( ) const
inline

Definition at line 61 of file PndRichCalDbData.h.

References fXmax.

Referenced by PndRichCalDb::SetCalDb().

61 { return fXmax; }
Double_t PndRichCalDbData::GetXmin ( ) const
inline

Definition at line 56 of file PndRichCalDbData.h.

References fXmin.

Referenced by PndRichCalDb::SetCalDb().

56 { return fXmin; }
Double_t PndRichCalDbData::GetYmax ( ) const
inline

Definition at line 62 of file PndRichCalDbData.h.

References fYmax.

Referenced by PndRichCalDb::SetCalDb().

62 { return fYmax; }
Double_t PndRichCalDbData::GetYmin ( ) const
inline

Definition at line 57 of file PndRichCalDbData.h.

References fYmin.

Referenced by PndRichCalDb::SetCalDb().

57 { return fYmin; }
PndRichCalDbData& PndRichCalDbData::operator= ( const PndRichCalDbData )
inlineprivate

Definition at line 81 of file PndRichCalDbData.h.

81 {return *this;};
Int_t PndRichCalDbData::SizeOf ( )

Definition at line 117 of file PndRichCalDbData.cxx.

References Double_t, fBetaEff, fBetaMean, and fBetaSig.

117  {
118  Int_t size = this->Sizeof();
119  size += 6*sizeof(Int_t);
120  size += 10*sizeof(Double_t);
121  size += fBetaMean->GetSize()*sizeof(Float_t);
122  size += fBetaSig->GetSize()*sizeof(Float_t);
123  size += fBetaEff->GetSize()*sizeof(Float_t);
124  return size;
125 }
Double_t

Member Data Documentation

TArrayF* PndRichCalDbData::fBetaEff
private

Definition at line 103 of file PndRichCalDbData.h.

Referenced by GetBetaEff(), SizeOf(), and ~PndRichCalDbData().

TArrayF* PndRichCalDbData::fBetaMean
private

Arrays with the field values in T

Definition at line 101 of file PndRichCalDbData.h.

Referenced by GetBetaMean(), SizeOf(), and ~PndRichCalDbData().

TArrayF* PndRichCalDbData::fBetaSig
private

Definition at line 102 of file PndRichCalDbData.h.

Referenced by GetBetaSig(), SizeOf(), and ~PndRichCalDbData().

Double_t PndRichCalDbData::fFmax
private

Definition at line 93 of file PndRichCalDbData.h.

Referenced by GetFmax().

Double_t PndRichCalDbData::fFmin
private

Definition at line 93 of file PndRichCalDbData.h.

Referenced by GetFmin().

Int_t PndRichCalDbData::fNf
private

Definition at line 97 of file PndRichCalDbData.h.

Referenced by GetNf().

Int_t PndRichCalDbData::fNp
private

Number of grid points

Definition at line 97 of file PndRichCalDbData.h.

Referenced by GetNp().

Int_t PndRichCalDbData::fNt
private

Definition at line 97 of file PndRichCalDbData.h.

Referenced by GetNt().

Int_t PndRichCalDbData::fNx
private

Definition at line 97 of file PndRichCalDbData.h.

Referenced by GetNx().

Int_t PndRichCalDbData::fNy
private

Definition at line 97 of file PndRichCalDbData.h.

Referenced by GetNy().

Double_t PndRichCalDbData::fPmax
private

Definition at line 89 of file PndRichCalDbData.h.

Referenced by GetPmax().

Double_t PndRichCalDbData::fPmin
private

Field limits in local coordinate system

Definition at line 89 of file PndRichCalDbData.h.

Referenced by GetPmin().

Double_t PndRichCalDbData::fTmax
private

Definition at line 92 of file PndRichCalDbData.h.

Referenced by GetTmax().

Double_t PndRichCalDbData::fTmin
private

Definition at line 92 of file PndRichCalDbData.h.

Referenced by GetTmin().

Int_t PndRichCalDbData::fType
private

Type of map. 1 = PndRichCalDb, 2 = Sym2, 3 = Sym3

Definition at line 81 of file PndRichCalDbData.h.

Referenced by GetType().

Double_t PndRichCalDbData::fXmax
private

Definition at line 90 of file PndRichCalDbData.h.

Referenced by GetXmax().

Double_t PndRichCalDbData::fXmin
private

Definition at line 90 of file PndRichCalDbData.h.

Referenced by GetXmin().

Double_t PndRichCalDbData::fYmax
private

Definition at line 91 of file PndRichCalDbData.h.

Referenced by GetYmax().

Double_t PndRichCalDbData::fYmin
private

Definition at line 91 of file PndRichCalDbData.h.

Referenced by GetYmin().


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