Public Member Functions | Protected Member Functions

TGo4Parameter Class Reference

#include <TGo4Parameter.h>

Inheritance diagram for TGo4Parameter:
TGo4EventCalibration TGo4EventProcessorParameter TGo4EventSourceParameter TGo4EventStoreParameter TGo4FitterEnvelope TMeshParameter TXXXCalibPar TXXXControl TXXXParam TXXXParameter TXXXParameter TYYYParameter

List of all members.

Public Member Functions

 TGo4Parameter ()
 TGo4Parameter (const char *name, const char *title="This is a Go4 Parameter Object")
virtual ~TGo4Parameter ()
virtual Int_t PrintParameter (Text_t *buffer=0, Int_t buflen=0)
virtual void Print (Option_t *dummy="") const
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
virtual Bool_t CustomUpdateFrom () const
virtual void Clear (Option_t *opt="")
void GetMemberValues (TObjArray *fItems)
Bool_t SetMemberValues (TObjArray *fItems)
virtual void SavePrimitive (std::ostream &fs, Option_t *opt="")

Protected Member Functions

void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
Bool_t SetMemberValues (TObjArray *items, Int_t &itemsindx, TClass *cl, char *ptr, unsigned long int cloffset)
Int_t FindArrayLength (TObjArray *items, Int_t &itemsindx, TDataMember *member)

Detailed Description

Base class for all parameter aggregations, e.g. calibration data.

Author:
J. Adamczewski / S. Linev
Since:
Jun-2002

Definition at line 29 of file TGo4Parameter.h.


Constructor & Destructor Documentation

TGo4Parameter::TGo4Parameter (  ) 

Definition at line 33 of file TGo4Parameter.cxx.

TGo4Parameter::TGo4Parameter ( const char *  name,
const char *  title = "This is a Go4 Parameter Object" 
)

Definition at line 38 of file TGo4Parameter.cxx.

References GO4TRACE.

TGo4Parameter::~TGo4Parameter (  )  [virtual]

Definition at line 92 of file TGo4Parameter.cxx.

References GO4TRACE.


Member Function Documentation

void TGo4Parameter::Clear ( Option_t *  opt = ""  )  [virtual]

Reimplemented in TGo4FitterEnvelope.

Definition at line 115 of file TGo4Parameter.cxx.

References GetMemberValues(), SetMemberValues(), and TGo4ParameterMember::SetToZero().

virtual Bool_t TGo4Parameter::CustomUpdateFrom (  )  const [inline, virtual]

Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other. Otherwise, default method with help of ParameterStatus will be used

Definition at line 51 of file TGo4Parameter.h.

Referenced by TGo4ParameterStatus::UpdateParameterValues().

Int_t TGo4Parameter::FindArrayLength ( TObjArray *  items,
Int_t &  itemsindx,
TDataMember *  member 
) [protected]
void TGo4Parameter::GetMemberValues ( TObjArray *  fItems,
TClass *  cl,
char *  ptr,
unsigned long int  cloffset 
) [protected]
void TGo4Parameter::GetMemberValues ( TObjArray *  fItems  ) 
void TGo4Parameter::Print ( Option_t *  dummy = ""  )  const [virtual]

Definition at line 45 of file TGo4Parameter.cxx.

References PrintParameter().

Int_t TGo4Parameter::PrintParameter ( Text_t *  buffer = 0,
Int_t  buflen = 0 
) [virtual]
void TGo4Parameter::SavePrimitive ( std::ostream &  fs,
Option_t *  opt = "" 
) [virtual]

Standard way to store parameter in form of macro, If

Parameters:
opt == "savemacro", parameter saved in form of macro, which can be rerun in analysis- see saveparam.C macro for example

Definition at line 382 of file TGo4Parameter.cxx.

References TGo4ParameterMember::GetFullName(), TGo4ParameterMember::GetIntValue(), GetMemberValues(), TGo4ParameterMember::GetStrValue(), TGo4ParameterMember::GetTypeId(), TGo4ParameterMember::kTArray_t, TGo4ParameterMember::kTGo4Fitter_t, and TGo4ParameterMember::kTString_t.

Referenced by save1param().

Bool_t TGo4Parameter::SetMemberValues ( TObjArray *  fItems  ) 
Bool_t TGo4Parameter::SetMemberValues ( TObjArray *  items,
Int_t &  itemsindx,
TClass *  cl,
char *  ptr,
unsigned long int  cloffset 
) [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines