KaliVeda
Toolkit for HIC analysis
KVUpDater.h
1 /*
2 $Id: KVUpDater.h,v 1.6 2007/10/01 15:03:38 franklan Exp $
3 $Revision: 1.6 $
4 $Date: 2007/10/01 15:03:38 $
5 $Author: franklan $
6 */
7 
8 #ifndef KVUPDATER_H
9 #define KVUPDATER_H
10 
11 #include "TObject.h"
12 #include "TString.h"
13 #include "KVDBRun.h"
14 
15 class KVMultiDetArray;
16 
25 class KVUpDater {
26 
27 protected:
30 public:
31 
32  KVUpDater();
33  virtual ~ KVUpDater();
35 
36  virtual void SetParameters(UInt_t, Bool_t physics_parameters_only = kFALSE);
37  virtual void SetIdentificationParameters(UInt_t) ;
38  virtual void SetCalibrationParameters(UInt_t);
39  virtual void SetTarget(KVDBRun*);
40  virtual void SetIDGrids(UInt_t);
41  virtual void SetCalibParameters(KVDBRun*);
42 
43  static KVUpDater* MakeUpDater(const Char_t* uri, KVMultiDetArray*);
44 
45  ClassDef(KVUpDater, 0) //Base class handling setting of multidetector parameters for each run
46 };
47 #endif
unsigned int UInt_t
bool Bool_t
char Char_t
#define ClassDef(name, id)
Description of an experimental run in database ,,.
Definition: KVDBRun.h:36
Base class for describing the geometry of a detector array.
Abstract class implementing necessary methods for setting multidetector parameters for each run of th...
Definition: KVUpDater.h:25
KVUpDater()
Default ctor for KVUpDater object.
Definition: KVUpDater.cpp:26
virtual void SetParameters(UInt_t, Bool_t physics_parameters_only=kFALSE)
Definition: KVUpDater.cpp:91
static KVUpDater * MakeUpDater(const Char_t *uri, KVMultiDetArray *)
Definition: KVUpDater.cpp:59
virtual ~ KVUpDater()
TString fDataSet
name of dataset associated
Definition: KVUpDater.h:28
KVMultiDetArray * fArray
associated array
Definition: KVUpDater.h:29
virtual void SetCalibrationParameters(UInt_t)
Set calibration parameters for this run.
Definition: KVUpDater.cpp:198
virtual void SetIdentificationParameters(UInt_t)
Definition: KVUpDater.cpp:157
void SetArray(KVMultiDetArray *)
Definition: KVUpDater.cpp:46
virtual void SetIDGrids(UInt_t)
Definition: KVUpDater.cpp:177
virtual void SetTarget(KVDBRun *)
Definition: KVUpDater.cpp:126
virtual void SetCalibParameters(KVDBRun *)
Override in child classes to set specific calibrations.
Definition: KVUpDater.cpp:217