37 KVUpDater::~KVUpDater()
103 cout <<
"Setting parameters of multidetector array for run " << run <<
":" <<
107 Error(
"SetParameters(UInt_t)",
"Run %u not found in database!", run);
111 CheckStatusOfDetectors(kvrun);
112 if (!physics_parameters_only) {
113 SetCalibrationParameters(run);
114 SetIdentificationParameters(run);
132 cout <<
"--> Setting Target:" << endl;
135 fArray->SetTarget(0);
137 cout <<
" No target defined for run." << endl;
143 cout <<
" " << fArray->GetTarget()->
144 GetName() <<
" Total Thickness: " << fArray->GetTarget()->
146 <<
" mg/cm2" << endl;
163 cout <<
"Setting identification parameters of multidetector array for run " << run <<
":" <<
166 fArray->InitializeIDTelescopes();
183 cout <<
"--> Setting Identification Grids" << endl;
184 TIter next_idt(fArray->GetListOfIDTelescopes());
189 fArray->SetGridsInTelescopes(run);
202 cout <<
"Setting calibration parameters of multidetector array for run " << run <<
":" <<
206 Error(
"SetParameters(UInt_t)",
"Run %u not found in database!", run);
209 SetCalibParameters(kvrun);
220 cout <<
"Checking detectors statuses of multidetector array for run " <<
r->
GetName() <<
":" <<
222 fArray->CheckStatusOfDetectors(
r);
233 fArray->SetCalibratorParameters(
r, fArray->
GetName());
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
static TPluginHandler * LoadPlugin(const Char_t *base, const Char_t *uri="0")
Description of an experimental run in database ,.
KVDBSystem * GetSystem() const
KVTarget * GetTarget() const
KVDBRun * GetDBRun(Int_t number) const
Base class for all detectors or associations of detectors in array which can identify charged particl...
virtual void RemoveGrids()
Base class for describing the geometry of a detector array.
Calculation/correction of energy losses of particles through an experimental target.
Abstract class implementing necessary methods for setting multidetector parameters for each run of th...
virtual void SetParameters(UInt_t, Bool_t physics_parameters_only=kFALSE)
static KVUpDater * MakeUpDater(const Char_t *uri, KVMultiDetArray *)
TString fDataSet
name of dataset associated
virtual void SetCalibrationParameters(UInt_t)
Set calibration parameters for this run.
virtual void CheckStatusOfDetectors(KVDBRun *)
Check status (present, working) of each detector for run.
virtual void SetIdentificationParameters(UInt_t)
void SetArray(KVMultiDetArray *)
virtual void SetIDGrids(UInt_t)
virtual void SetTarget(KVDBRun *)
virtual void SetCalibParameters(KVDBRun *)
Override in child classes to set specific calibrations.
virtual const char * GetName() const
Longptr_t ExecPlugin(int nargs, const T &... params)