KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches

Detailed Description

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

Definition at line 25 of file KVUpDater.h.

#include <KVUpDater.h>

Inheritance diagram for KVUpDater:

Public Member Functions

 KVUpDater ()
 Default ctor for KVUpDater object.
 
virtual ~KVUpDater ()
 Destructor.
 
void SetArray (KVMultiDetArray *)
 
virtual void SetCalibParameters (KVDBRun *)
 Override in child classes to set specific calibrations.
 
virtual void SetCalibrationParameters (UInt_t)
 Set calibration parameters for this run.
 
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 *)
 

Private Attributes

KVMultiDetArrayfArray
 associated array
 
TString fDataSet
 name of dataset associated
 

Constructor & Destructor Documentation

◆ KVUpDater()

KVUpDater::KVUpDater ( )

Default ctor for KVUpDater object.

Definition at line 26 of file KVUpDater.cpp.

◆ ~KVUpDater()

KVUpDater::~KVUpDater ( )
virtual

Destructor.

Definition at line 37 of file KVUpDater.cpp.

Member Function Documentation

◆ 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 KVFAZIAUpDater, and KVINDRAUpDater_e475s.

Definition at line 217 of file KVUpDater.cpp.

◆ SetCalibrationParameters()

void KVUpDater::SetCalibrationParameters ( UInt_t  run)
virtual

Set calibration parameters for this run.

Reimplemented in KVINDRAUpDater_e475s.

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
private

associated array

Definition at line 29 of file KVUpDater.h.

◆ fDataSet

TString KVUpDater::fDataSet
private

name of dataset associated

Definition at line 28 of file KVUpDater.h.