10#include "KVINDRAUpDater_e475s.h"
12#include "KVDetector.h"
13#include "KVCalibrator.h"
14#include "KVDBParameterSet.h"
16#include "KVSilicon_e475s.h"
17#include "KVChIo_e475s.h"
18#include "KVCsI_e475s.h"
19#include "KVEBYEDAT_ACQParam.h"
68 cout <<
"Setting calibration parameters of INDRA array for run " << run <<
":" <<
72 Error(
"SetParameters(UInt_t)",
"Run %u not found in database!", run);
82 kvd->SetCalibrators();
87 TIter lacq(kvd->GetACQParamList());
118 TIter next_ps(param_list);
127 ((KVSilicon_e475s*)gIndra->
GetDetector(str.Data()))->SetCalibrator(kvps);
129 else if (gIndra->
GetDetector(str.Data())->InheritsFrom(
"KVChIo_e475s")) {
130 ((KVChIo_e475s*)gIndra->
GetDetector(str.Data()))->SetCalibrator(kvps);
132 else if (gIndra->
GetDetector(str.Data())->InheritsFrom(
"KVCsI_e475s")) {
133 ((KVCsI_e475s*)gIndra->
GetDetector(str.Data()))->SetCalibrator(kvps);
136 Warning(
"SetCalibParameters(KVDBRun*)",
137 "Calibrator %s %s not found ! ",
163 TIter next_ps(param_list);
172 det->SetPedestal(kvps->
GetTitle(), pied_value);
To store calibration parameters in a database ,.
Double_t GetParameter(UShort_t i=0) const
virtual KVRList * GetLinks(const Char_t *key) const
Returns the list of records linked to this record in table "key".
Description of an experimental run in database ,,.
Base class for detector geometry description.
KVList * GetListOfCalibrators() const
virtual void RemoveCalibrators()
GANIL VXI/VME 16 bit (maximum) EBYEDAT acquisition parameter.
KVDetector * GetDetector(const Char_t *name) const
Return detector in this structure with given name.
const KVSeqCollection * GetDetectors() const
KVINDRADBRun * GetRun(Int_t run) const
Sets run parameters for INDRA_e475s dataset.
void SetCalibrationParameters(UInt_t)
void SetPedestals(KVDBRun *)
virtual ~KVINDRAUpDater_e475s()
Destructor.
void SetCalibParameters(KVDBRun *run)
Wrapper for TRefArray adding some functionality.
virtual Int_t GetSize() const
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
KVMultiDetArray * fArray
associated array
const char * GetName() const override
const char * GetTitle() const override
virtual Bool_t InheritsFrom(const char *classname) const