KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members

Abstract class implementing necessary methods for setting multidetector parameters for each run of the current dataset ,.

Definition at line 24 of file KVUpDater.h.

Public Member Functions

 KVUpDater ()
 Default ctor for KVUpDater object. More...
 
virtual ~ KVUpDater ()
 
virtual void CheckStatusOfDetectors (KVDBRun *)
 Check status (present, working) of each detector for run. More...
 
void SetArray (KVMultiDetArray *)
 
virtual void SetCalibParameters (KVDBRun *)
 Override in child classes to set specific calibrations. More...
 
virtual void SetCalibrationParameters (UInt_t)
 Set calibration parameters for this run. More...
 
virtual void SetIdentificationParameters (UInt_t)
 
virtual void SetIDGrids (UInt_t)
 
virtual void SetParameters (UInt_t, Bool_t physics_parameters_only=kFALSE)
 
virtual void SetTarget (KVDBRun *)
 

Static Public Member Functions

static KVUpDaterMakeUpDater (const Char_t *uri, KVMultiDetArray *)
 

Protected Attributes

KVMultiDetArrayfArray
 associated array More...
 
TString fDataSet
 name of dataset associated More...
 

#include <KVUpDater.h>

Inheritance diagram for KVUpDater:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVUpDater()

KVUpDater::KVUpDater ( )

Default ctor for KVUpDater object.

Definition at line 26 of file KVUpDater.cpp.

◆ ~ KVUpDater()

virtual KVUpDater::~ KVUpDater ( )
virtual

Member Function Documentation

◆ CheckStatusOfDetectors()

void KVUpDater::CheckStatusOfDetectors ( KVDBRun r)
virtual

Check status (present, working) of each detector for run.

Reimplemented in KVINDRAUpDater, and KVFAZIAUpDater.

Definition at line 217 of file KVUpDater.cpp.

◆ MakeUpDater()

KVUpDater * KVUpDater::MakeUpDater ( const Char_t uri,
KVMultiDetArray a 
)
static

Looks for plugin (see $KVROOT/KVFiles/.kvrootrc) with name 'uri'(=name of dataset), loads plugin library, creates object and returns pointer. If no plugin defined for dataset, instanciates a KVUpDater (default) check and load plugin library

Definition at line 59 of file KVUpDater.cpp.

◆ SetArray()

void KVUpDater::SetArray ( KVMultiDetArray a)

Definition at line 46 of file KVUpDater.cpp.

◆ SetCalibParameters()

void KVUpDater::SetCalibParameters ( KVDBRun r)
virtual

Override in child classes to set specific calibrations.

Reimplemented in KVINDRAUpDater_e475s, KVINDRAUpDater, and KVFAZIAUpDater.

Definition at line 230 of file KVUpDater.cpp.

◆ SetCalibrationParameters()

void KVUpDater::SetCalibrationParameters ( UInt_t  run)
virtual

Set calibration parameters for this run.

Reimplemented in KVINDRAUpDater_e475s, and KVINDRAUpDater.

Definition at line 198 of file KVUpDater.cpp.

◆ SetIdentificationParameters()

void KVUpDater::SetIdentificationParameters ( UInt_t  run)
virtual

Set identification parameters for this run. Will call gMultiDetArray->InitializeIDTelescopes() in order to initialize identifications & set status IsReadyForID() of each ID telescope for run.

Definition at line 157 of file KVUpDater.cpp.

◆ SetIDGrids()

void KVUpDater::SetIDGrids ( UInt_t  run)
virtual

Use global ID grid manager gIDGridManager to set identification grids for all ID telescopes for this run. First, any previously set grids are removed. Then all grids for current run are set in the associated ID telescopes.

Definition at line 177 of file KVUpDater.cpp.

◆ SetParameters()

void KVUpDater::SetParameters ( UInt_t  run,
Bool_t  physics_parameters_only = kFALSE 
)
virtual

Set parameters of multidetector for this run

This will: set the target corresponding to the run set detector statuses (present/working) for the run If physics_parameters_only==false: set calibration parameters for the run set identification parameters for the run

Reimplemented in KVINDRAUpDater.

Definition at line 91 of file KVUpDater.cpp.

◆ SetTarget()

void KVUpDater::SetTarget ( KVDBRun kvrun)
virtual

Set target used during this run If no target is found in the database, the existing target (if there is one) will be removed, and the multidetector array will have no target defined.

Definition at line 126 of file KVUpDater.cpp.

Member Data Documentation

◆ fArray

KVMultiDetArray* KVUpDater::fArray
protected

associated array

Definition at line 28 of file KVUpDater.h.

◆ fDataSet

TString KVUpDater::fDataSet
protected

name of dataset associated

Definition at line 27 of file KVUpDater.h.


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