TGo4Parameter Class Reference

Base class for all parameter aggregations, e.g. More...

#include <TGo4Parameter.h>

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)
 Basic method to printout information on stdout; to be overridden by specific subclass.
virtual void Print (Option_t *dummy="") const
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
 Update contents of parameter class with external object.
virtual Bool_t CustomUpdateFrom () const
 Specifies, if user implement UpdateFrom() method and it should be used when parameter updated from other.
virtual void Clear (Option_t *opt="")
void GetMemberValues (TObjArray *fItems)
Bool_t SetMemberValues (TObjArray *fItems)
virtual void SavePrimitive (ostream &fs, Option_t *opt="")
 Standard way to store parameter in form of macro, If.

Protected Member Functions

void GetMemberValues (TObjArray *fItems, TClass *cl, char *ptr, unsigned long int cloffset)
Bool_t SetMemberValues (TIterator *fItems, TClass *cl, char *ptr, unsigned long int cloffset)


Detailed Description

Base class for all parameter aggregations, e.g.

calibration data.

Author:
J. Adamczewski
Since:
Jun-2002

Definition at line 27 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.

TGo4Parameter::~TGo4Parameter (  )  [virtual]

Definition at line 92 of file TGo4Parameter.cxx.


Member Function Documentation

Int_t TGo4Parameter::PrintParameter ( Text_t *  buffer = 0,
Int_t  buflen = 0 
) [virtual]

Basic method to printout information on stdout; to be overridden by specific subclass.

Definition at line 52 of file TGo4Parameter.cxx.

void TGo4Parameter::Print ( Option_t *  dummy = ""  )  const [virtual]

Definition at line 45 of file TGo4Parameter.cxx.

Bool_t TGo4Parameter::UpdateFrom ( TGo4Parameter rhs  )  [virtual]

Update contents of parameter class with external object.

to be implemented in subclass

Definition at line 97 of file TGo4Parameter.cxx.

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 49 of file TGo4Parameter.h.

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

Definition at line 115 of file TGo4Parameter.cxx.

void TGo4Parameter::GetMemberValues ( TObjArray *  fItems  ) 

Definition at line 133 of file TGo4Parameter.cxx.

Bool_t TGo4Parameter::SetMemberValues ( TObjArray *  fItems  ) 

Definition at line 138 of file TGo4Parameter.cxx.

void TGo4Parameter::SavePrimitive ( 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 310 of file TGo4Parameter.cxx.

void TGo4Parameter::GetMemberValues ( TObjArray *  fItems,
TClass *  cl,
char *  ptr,
unsigned long int  cloffset 
) [protected]

Definition at line 152 of file TGo4Parameter.cxx.

Bool_t TGo4Parameter::SetMemberValues ( TIterator *  fItems,
TClass *  cl,
char *  ptr,
unsigned long int  cloffset 
) [protected]

Definition at line 232 of file TGo4Parameter.cxx.


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

Generated on Thu Oct 28 12:31:31 2010 for Go4-Taskhandlerv4.04-2 by  doxygen 1.5.6