KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVExpSetUp.h
Go to the documentation of this file.
1 
4 #ifndef __KVEXPSETUP_H
5 #define __KVEXPSETUP_H
6 
7 #include "KVMultiDetArray.h"
8 class KVDBRun;
9 
23 class KVExpSetUp : public KVMultiDetArray {
24 
25 protected:
28 
29  void init();
30 
31 #ifdef WITH_MFM
32  Bool_t handle_raw_data_event_mfmframe(const MFMCommonFrame&);
33 #endif
36 
37 public:
38 
39  KVExpSetUp();
40  virtual ~KVExpSetUp();
41  virtual void Build(Int_t run = -1);
42  void Clear(Option_t* opt = "");
43 
44  void FillDetectorList(KVReconstructedNucleus* rnuc, KVHashList* DetList, const KVString& DetNames);
45  virtual KVMultiDetArray* GetArray(const Char_t* name) const
46  {
48  return (KVMultiDetArray*)fMDAList.FindObject(name);
49  }
51 
52  void GetDetectorEvent(KVDetectorEvent* detev, const TSeqCollection* fired_params = nullptr);
56 
58 
60  void SetCalibratorParameters(KVDBRun*, const TString& = "");
61  void CheckStatusOfDetectors(KVDBRun*, const TString& = "");
62 
63  virtual void AcceptAllIDCodes();
64  virtual void AcceptAllECodes();
65 
66  virtual void InitializeIDTelescopes();
67 
68  ClassDef(KVExpSetUp, 1) //Describe an experimental set-up made of several KVMultiDetArray objects
69 };
70 
71 #endif
int Int_t
char Char_t
bool Bool_t
const char Option_t
#define ClassDef(name, id)
Description of an experimental run in database ,.
Definition: KVDBRun.h:35
Base class to describe database of an experiment ,.
Definition: KVExpDB.h:18
Describe an experimental set-up coupling two or more different detector arrays.
Definition: KVExpSetUp.h:23
void prepare_to_handle_new_raw_data()
clear all acquisition parameters etc of each array before reading new raw data event
Definition: KVExpSetUp.cpp:432
KVExpSetUp()
Default constructor.
Definition: KVExpSetUp.cpp:37
void MakeCalibrationTables(KVExpDB *)
Definition: KVExpSetUp.cpp:303
virtual void AcceptAllECodes()
Definition: KVExpSetUp.cpp:370
void SetCalibratorParameters(KVDBRun *, const TString &="")
Set calibrators for all detectors for the run.
Definition: KVExpSetUp.cpp:320
void GetArrayMultiplicities(KVReconstructedEvent *, KVNameValueList &, Option_t *="")
Definition: KVExpSetUp.cpp:281
KVList fMDAList
list of multidetarrays
Definition: KVExpSetUp.h:26
virtual void AcceptParticleForAnalysis(KVReconstructedNucleus *) const
Definition: KVExpSetUp.cpp:182
void Clear(Option_t *opt="")
call Clear(opt) for each multidetector in the setup
Definition: KVExpSetUp.cpp:146
virtual void AcceptAllIDCodes()
Definition: KVExpSetUp.cpp:352
void FillDetectorList(KVReconstructedNucleus *rnuc, KVHashList *DetList, const KVString &DetNames)
Definition: KVExpSetUp.cpp:162
virtual ~KVExpSetUp()
Destructor.
Definition: KVExpSetUp.cpp:48
void GetDetectorEvent(KVDetectorEvent *detev, const TSeqCollection *fired_params=nullptr)
Definition: KVExpSetUp.cpp:208
void CheckStatusOfDetectors(KVDBRun *, const TString &="")
Check status (present, working) for all detectors for the run.
Definition: KVExpSetUp.cpp:335
virtual void Build(Int_t run=-1)
Definition: KVExpSetUp.cpp:63
void SetReconParametersInEvent(KVReconstructedEvent *) const
Add contents of fReconParameters of each sub-array to the event parameter list.
Definition: KVExpSetUp.cpp:257
void copy_fired_parameters_to_recon_param_list()
Definition: KVExpSetUp.cpp:447
Bool_t handle_raw_data_event_mfmframe(const MFMCommonFrame &)
Definition: KVExpSetUp.cpp:406
void init()
Definition: KVExpSetUp.cpp:21
virtual void InitializeIDTelescopes()
Override base method in order to set general identification codes for telescopes in each array.
Definition: KVExpSetUp.cpp:387
KVString lmultidetarrayclasses
Definition: KVExpSetUp.h:27
virtual KVMultiDetArray * GetArray(const Char_t *name) const
Definition: KVExpSetUp.h:45
KVGroupReconstructor * GetReconstructorForGroup(const KVGroup *) const
Definition: KVExpSetUp.cpp:226
void SetRawDataFromReconEvent(KVNameValueList &)
Definition: KVExpSetUp.cpp:243
Base class for particle reconstruction in one group of a detector array.
Group of detectors which can be treated independently of all others in array.
Definition: KVGroup.h:19
Extended version of ROOT THashList.
Definition: KVHashList.h:28
Extended TList class which owns its objects by default.
Definition: KVList.h:27
Base class for describing the geometry of a detector array.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Physical event reconstructed from data measured with a detector array using implemented identificatio...
Nuclei reconstructed from data measured by a detector array ,.
virtual TObject * FindObject(const char *name) const
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:72