KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRADetector.cpp
1//Created by KVClassFactory on Sat Oct 3 14:18:09 2009
2//Author: John Frankland,,,
3
4#include "KVINDRADetector.h"
5#include "KVGroup.h"
6#include "KVDataSet.h"
7
9
10
11
17
18const Char_t* KVINDRADetector::GetArrayName()
19{
20 // Name of detector given in the form
21 // CI_0213, SI_0911, CSI_1705
22 // to be compatible with GANIL acquisition parameters
23 //
24 // The root of the name is the detector type
25
26 fFName =
27 Form("%s_%02d%02d", GetType(), GetRingNumber(),
28 GetModuleNumber());
29 return fFName.Data();
30}
31
32
33
34
39
41{
42 //PRIVATE METHOD
43 //Used when GetChIo is called the first time to retrieve the
44 //pointer to the ChIo of the group associated to this detector
45
47 return fChIo;
48}
49
50
51
57
59{
60 // Overrides KVDetector::SetThickness
61 // If using ROOT geometry, print warning that any change in detector thickness will not
62 // be taken into account in the geometry.
63 // All thicknesses have to be set before the ROOT geometry is generated.
64
65 if (ROOTGeo()) {
66 Warning("SetThickness", "Using ROOT geometry. Changes to detector thickness will not be taken into account in geometry.");
67 }
69}
70
71
char Char_t
double Double_t
char * Form(const char *fmt,...)
KVGroup * GetGroup() const
KVDetector * GetDetectorByType(const Char_t *type) const
Return detector in this structure with given type.
Base class for detectors of INDRA array.
void SetThickness(Double_t thick)
KVINDRADetector * FindChIo()
KVINDRADetector * fChIo
pointer to ionisation chamber in group associated to this detector
virtual void SetThickness(Double_t thick)
Bool_t ROOTGeo() const
Returns kTRUE if ROOT geometry is used, kFALSE if not.
virtual void Warning(const char *method, const char *msgfmt,...) const
Type GetType(const std::string &Name)
ClassImp(TPyArg)