KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KVINDRADetector Class Reference

Base class for detectors of INDRA array.

Created by KVClassFactory on Sat Oct 3 14:18:09 2009 Author: John Frankland,,,

Definition at line 16 of file KVINDRADetector.h.

Public Member Functions

 KVINDRADetector ()
 
 KVINDRADetector (const Char_t *type, const Float_t thick=0.0)
 
virtual ~KVINDRADetector ()
 
void AddACQParamType (const Char_t *type)
 
virtual KVACQParamGetACQParam (const Char_t *) const
 
const Char_tGetArrayName ()
 
KVINDRADetectorGetChIo () const
 
virtual Float_t GetGG () const
 
Double_t GetGGfromPG (Double_t PG=-1)
 
void GetGGtoPGConversionFactors (Double_t *par)
 
Int_t GetIndex () const
 
virtual Float_t GetL () const
 
UInt_t GetModuleNumber () const
 
UShort_t GetMT () const
 
Int_t GetNumeroCodeur ()
 
virtual Float_t GetPG () const
 
Double_t GetPGfromGG (Double_t GG=-1)
 
virtual Float_t GetR () const
 
UInt_t GetRingNumber () const
 
KVINDRATelescopeGetTelescope () const
 
void SetGGtoPGConversionFactors (Double_t alpha, Double_t beta)
 
void SetNumeroCodeur (Int_t numero)
 Set the number of the electronic module of type QDC. More...
 
virtual void SetSegment (UShort_t)
 
void SetThickness (Double_t thick)
 
void SetType (const Char_t *t)
 
- Public Member Functions inherited from KVDetector
 KVDetector ()
 default ctor More...
 
 KVDetector (const Char_t *type, const Float_t thick=0.0)
 Create a new detector of a given material and thickness in centimetres (default value = 0.0) More...
 
 KVDetector (const KVDetector &)
 copy ctor More...
 
virtual ~ KVDetector ()
 
void AddAbsorber (KVMaterial *)
 
void AddACQParam (KVACQParam *)
 Add given acquisition parameter to this detector. More...
 
Bool_t AddCalibrator (KVCalibrator *cal, const KVNameValueList &opts="")
 
void AddDetectorSignal (KVDetectorSignal *ds)
 
Bool_t AddDetectorSignalExpression (const TString &type, const KVString &_expr)
 
void AddHit (KVNucleus *part)
 
virtual void AddIDTelescope (TObject *idt)
 Add ID telescope to list of telescopes to which detector belongs. More...
 
void AddParentStructure (KVGeoStrucElement *elem)
 
virtual void AddToGeometry ()
 
Bool_t BelongsToIdentifiedParticle () const
 
Bool_t BelongsToUnidentifiedParticle () const
 
virtual void Clear (Option_t *opt="")
 
void ClearHits ()
 
virtual void Copy (TObject &obj) const
 
virtual void DeduceACQParameters (KVEvent *, KVNumberList &)
 
virtual void DetectParticle (KVNucleus *, TVector3 *norm=0)
 
virtual TGraphDrawPunchThroughEnergyVsZ (Int_t massform=KVNucleus::kBetaMass)
 
virtual TGraphDrawPunchThroughEsurAVsZ (Int_t massform=KVNucleus::kBetaMass)
 
virtual Int_t FindZmin (Double_t ELOSS=-1., Char_t mass_formula=-1)
 
virtual Bool_t Fired (Option_t *opt="any") const
 
virtual Bool_t FiredP (Option_t *opt="any") const
 
KVMaterialGetAbsorber (const Char_t *name) const
 
KVMaterialGetAbsorber (Int_t i) const
 Returns pointer to the i-th absorber in the detector (i=0 first absorber, i=1 second, etc.) More...
 
virtual Float_t GetACQData (const Char_t *) const
 
KVListGetACQParamList () const
 
KVMaterialGetActiveLayer () const
 
TGeoHMatrixGetActiveLayerMatrix () const
 
TGeoBBoxGetActiveLayerShape () const
 
TVector3 GetActiveLayerSurfaceCentre () const
 
TVector3 GetActiveLayerVolumeCentre () const
 
virtual TListGetAlignedDetectors (UInt_t direction=1)
 
KVListGetAlignedIDTelescopes ()
 
virtual Short_t GetCalcACQParam (KVACQParam *, Double_t) const
 
virtual Double_t GetCalibratedEnergy () const
 
KVCalibratorGetCalibrator (const Char_t *name, const Char_t *type) const
 
KVCalibratorGetCalibrator (const Char_t *type) const
 
const TVector3 GetCentreOfEntranceWindow () const
 
virtual Double_t GetCorrectedEnergy (KVNucleus *, Double_t e=-1., Bool_t transmission=kTRUE)
 
Double_t GetCosTheta () const
 
virtual Double_t GetDeltaE (Int_t Z, Int_t A, Double_t Einc)
 
virtual Double_t GetDeltaEFromERes (Int_t Z, Int_t A, Double_t Eres)
 
virtual Double_t GetDepthInTelescope () const
 
virtual KVDetectorSignalGetDetectorSignal (const TString &type) const
 
Double_t GetDetectorSignalValue (const TString &type, const KVNameValueList &params="") const
 
TVector3 GetDirection ()
 
Double_t GetDistance () const
 
virtual Double_t GetEIncOfMaxDeltaE (Int_t Z, Int_t A)
 
virtual TF1GetELossFunction (Int_t Z, Int_t A)
 
virtual Double_t GetELostByParticle (KVNucleus *, TVector3 *norm=0)
 
virtual Double_t GetEnergy () const
 
virtual Double_t GetEnergyLoss () const
 
const KVPositionGetEntranceWindow () const
 
virtual Double_t GetEntranceWindowSurfaceArea ()
 Return surface area of first layer of detector in cm2. More...
 
virtual Double_t GetERes (Int_t Z, Int_t A, Double_t Einc)
 
virtual Double_t GetEResAfterDetector () const
 
virtual TF1GetEResFunction (Int_t Z, Int_t A)
 
virtual const Char_tGetFiredACQParameterListFormatString () const
 
Binary8_t GetFiredBitmask () const
 
Double_t GetGain () const
 
virtual TGeoVolumeGetGeoVolume ()
 
KVGroupGetGroup () const
 
UInt_t GetGroupNumber ()
 
KVListGetHits () const
 Return the list of particles hitting this detector in an event. More...
 
KVListGetIDTelescopes ()
 
virtual Double_t GetIncidentEnergy (Int_t Z, Int_t A, Double_t delta_e=-1.0, enum SolType type=kEmax)
 
virtual Double_t GetIncidentEnergyFromERes (Int_t Z, Int_t A, Double_t Eres)
 
Double_t GetInverseDetectorSignalValue (const TString &output, Double_t value, const TString &input, const KVNameValueList &params="") const
 
virtual Double_t GetLinearRange (Int_t Z, Int_t A, Double_t Einc)
 
KVListGetListOfAbsorbers () const
 
KVListGetListOfCalibrators () const
 
const KVSeqCollectionGetListOfDetectorSignals () const
 
const Char_tGetMaterialName () const
 
virtual Double_t GetMaxDeltaE (Int_t Z, Int_t A)
 
const Char_tGetNameOfArray () const
 
Int_t GetNHits () const
 Return the number of particles hitting this detector in an event. More...
 
KVGeoDetectorNodeGetNode ()
 
Int_t GetNumberOfAbsorberLayers () const
 
KVGeoStrucElementGetParentStructure (const Char_t *type, const Char_t *name="") const
 
virtual Double_t GetParticleEIncFromERes (KVNucleus *, TVector3 *norm=0)
 
virtual Float_t GetPedestal (const Char_t *) const
 Access pedestal value associated to parameter with given name. More...
 
Double_t GetPhi () const
 
virtual Double_t GetPunchThroughEnergy (Int_t Z, Int_t A)
 
void GetRandomAngles (Double_t &th, Double_t &ph, Option_t *t="isotropic")
 
TVector3 GetRandomDirection (Option_t *t="isotropic")
 
virtual Double_t GetRange (Int_t Z, Int_t A, Double_t Einc)
 
virtual TF1GetRangeFunction (Int_t Z, Int_t A)
 
UShort_t GetSegment () const
 
Double_t GetSinTheta () const
 
virtual Double_t GetSmallestEmaxValid (Int_t Z, Int_t A)
 
Double_t GetSolidAngle () const
 
TListGetTelescopesForIdentification ()
 
Double_t GetTheta () const
 
virtual Double_t GetTotalDeltaE (Int_t Z, Int_t A, Double_t Einc)
 
Double_t GetTotalThicknessInCM ()
 
virtual void GetVerticesInOwnFrame (TVector3 *, Double_t, Double_t)
 
Bool_t HasDetectorSignalValue (const TString &type) const
 
Bool_t HasSameStructureAs (const KVDetector *) const
 
void IncrementIdentifiedParticles (Int_t n=1)
 
void IncrementUnidentifiedParticles (Int_t n=1)
 
void init ()
 default initialisations More...
 
Bool_t IsAnalysed ()
 
Bool_t IsCalibrated () const
 
Bool_t IsCalibrated (const KVNameValueList &params) const
 
virtual Bool_t IsDetecting () const
 
virtual Bool_t IsOK () const
 
virtual Bool_t IsPresent () const
 
virtual Bool_t IsSimMode () const
 
Bool_t IsSingleLayer () const
 
virtual void Print (Option_t *option="") const
 
virtual void ReadDefinitionFromFile (const Char_t *)
 
virtual void RemoveCalibrators ()
 
void RemoveHit (KVNucleus *part)
 
void RemoveParentStructure (KVGeoStrucElement *elem)
 
Bool_t ReplaceCalibrator (const Char_t *type, KVCalibrator *cal, const KVNameValueList &opts="")
 
virtual void Reset (Option_t *opt="")
 
void ResetAlignedDetectors (UInt_t direction=1)
 
virtual void SetACQParams ()
 
void SetActiveLayer (KVMaterial *actif)
 
void SetActiveLayerMatrix (const TGeoHMatrix *)
 
void SetActiveLayerShape (TGeoBBox *)
 Set ROOT geometry shape of active layer volume. More...
 
void SetAnalysed (Bool_t b=kTRUE)
 
void SetDetecting (Bool_t yes=kTRUE)
 
void SetDetectorSignalValue (const TString &type, Double_t val) const
 
virtual void SetEnergy (Double_t e) const
 
virtual void SetEnergyLoss (Double_t e) const
 
void SetEntranceWindowMatrix (const TGeoHMatrix *)
 Set ROOT geometry global matrix transformation to coordinate frame of entrance window. More...
 
void SetEntranceWindowShape (TGeoBBox *)
 Set ROOT geometry shape of entrance window. More...
 
virtual void SetEResAfterDetector (Double_t e)
 
virtual void SetFiredBitmask (KVString &)
 
void SetGain (Double_t gain)
 
virtual void SetMaterial (const Char_t *type)
 
void SetNameOfArray (const TString &n)
 
virtual void SetPedestal (const Char_t *, Float_t)
 Set value of pedestal associated to parameter with given name. More...
 
void SetPresent (Bool_t yes=kTRUE)
 
virtual void SetSimMode (Bool_t on=kTRUE)
 
void SetThickness (Double_t thick)
 
- Public Member Functions inherited from KVMaterial
 KVMaterial ()
 default ctor More...
 
 KVMaterial (const Char_t *gas, const Double_t thick, const Double_t pressure, const Double_t temperature=19.0)
 
 KVMaterial (const Char_t *type, const Double_t thick=0.0)
 Create material with given type and linear thickness in cm. More...
 
 KVMaterial (const KVMaterial &)
 Copy ctor. More...
 
 KVMaterial (Double_t area_density, const Char_t *type)
 Create material with given area density in g/cm**2 and given type. More...
 
virtual ~ KVMaterial ()
 
virtual TGeoVolumeGetAbsGeoVolume () const
 
Double_t GetAreaDensity () const
 Return area density of material in g/cm**2. More...
 
Double_t GetDensity () const
 
Double_t GetEffectiveAreaDensity (TVector3 &norm, TVector3 &direction)
 
Double_t GetEffectiveThickness (TVector3 &norm, TVector3 &direction)
 
virtual Double_t GetEmaxValid (Int_t Z, Int_t A)
 
virtual Double_t GetEResFromDeltaE (Int_t Z, Int_t A, Double_t dE=-1.0, enum SolType type=kEmax)
 
virtual TGeoMediumGetGeoMedium (const Char_t *="")
 
Double_t GetMass () const
 Returns atomic mass of material. Will be isotopic mass if set. More...
 
virtual Double_t GetPressure () const
 
virtual Double_t GetTemperature () const
 
virtual Double_t GetThickness () const
 
Double_t GetZ () const
 Returns atomic number of material. More...
 
void init ()
 
Bool_t IsGas () const
 Returns kTRUE for gaseous materials/detectors. More...
 
Bool_t IsIsotopic () const
 
Bool_t IsNat () const
 
virtual void SetAbsGeoVolume (TGeoVolume *v)
 
void SetAreaDensity (Double_t dens)
 
void SetMass (Double_t a)
 
virtual void SetPressure (Double_t)
 
virtual void SetTemperature (Double_t)
 
- Public Member Functions inherited from KVBase
 KVBase ()
 Default constructor. More...
 
 KVBase (const Char_t *name, const Char_t *title="")
 Ctor for object with given name and type. More...
 
 KVBase (const KVBase &)
 copy ctor More...
 
virtual ~ KVBase ()
 
const Char_tGetLabel () const
 
UInt_t GetNumber () const
 
UInt_t GetNumberOfObjects () const
 
virtual TObjectGetObject () const
 
const Char_tGetType () const
 
Bool_t HasLabel () const
 
virtual Bool_t IsCalled (const Char_t *name) const
 
Bool_t IsLabelled (const Char_t *l) const
 
virtual Bool_t IsType (const Char_t *typ) const
 
virtual void List ()
 
KVBaseoperator= (const KVBase &)
 copy assignment operator More...
 
Double_t ProtectedGetX (const TF1 *func, Double_t val, int &status, Double_t xmin=0.0, Double_t xmax=0.0) const
 
void SetLabel (const Char_t *lab)
 
virtual void SetNumber (UInt_t num)
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void FillBuffer (char *&buffer)
 
virtual const char * GetName () const
 
virtual const char * GetTitle () const
 
virtual ULong_t Hash () const
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 
TNamedoperator= (const TNamed &rhs)
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 
- Public Member Functions inherited from KVPosition
 KVPosition ()
 
 KVPosition (Double_t thmin, Double_t thmax, Double_t phmin, Double_t phmax, Double_t dist=0.0)
 
virtual ~KVPosition ()
 
Double_t GetAzimuthalWidth (Double_t phmin=-1., Double_t phimax=-1.) const
 
void GetCornerCoordinates (TVector3 *, Double_t=0)
 
void GetCornerCoordinatesInOwnFrame (TVector3 *, Double_t=0)
 
Double_t GetPhiMax () const
 
Double_t GetPhiMin () const
 
TRotation GetRandomIsotropicRotation ()
 
Double_t GetThetaMax () const
 
Double_t GetThetaMin () const
 
void GetWidthsFromDimension (Double_t lin_dim)
 
void init ()
 default initialiser More...
 
Bool_t IsAlignedWith (KVPosition *pos)
 kTRUE if one of the two solid angle elements is completely contained within the other. More...
 
Bool_t IsAzimuthallyWiderThan (KVPosition *pos)
 
Bool_t IsInPhiRange (const Double_t phi)
 
Bool_t IsInPolarRange (const Double_t theta)
 kTRUE if given angle theta is within the polar range of this solid angle element More...
 
Bool_t IsOverlappingWith (KVPosition *pos)
 kTRUE if there is at least partial overlap between two solid angle elements More...
 
Bool_t IsSmallerThan (KVPosition *pos)
 kTRUE if "this" is entirely contained within "pos" More...
 
Bool_t ROOTGeo () const
 Returns kTRUE if ROOT geometry is used, kFALSE if not. More...
 
virtual void SetAzimuthalAngle (Double_t ph)
 
virtual void SetAzimuthalMinMax (Double_t min, Double_t max)
 Set min and max azimuthal angles and calculate (mean) phi. More...
 
virtual void SetAzimuthalWidth (Double_t aw)
 
void SetDistance (Double_t d)
 
void SetPhi (Double_t p)
 
void SetPhiMinMax (Double_t min, Double_t max)
 
virtual void SetPolarAngle (Double_t th)
 
virtual void SetPolarMinMax (Double_t min, Double_t max)
 Set min and max polar angles and calculate (mean) theta. More...
 
virtual void SetPolarWidth (Double_t pw)
 
void SetTheta (Double_t t)
 

Protected Member Functions

KVINDRADetectorFindChIo ()
 
- Protected Member Functions inherited from KVDetector
Double_t ELossActive (Double_t *x, Double_t *par)
 
Double_t EResDet (Double_t *x, Double_t *par)
 
Double_t RangeDet (Double_t *x, Double_t *par)
 
void SetKVDetectorFiredACQParameterListFormatString ()
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 

Protected Attributes

KVINDRADetectorfChIo
 pointer to ionisation chamber in group associated to this detector More...
 
Double_t fGGtoPG_0
 GG-PG conversion factor: offset. More...
 
Double_t fGGtoPG_1
 GG-PGconversion factor: slope. More...
 
Int_t NumeroCodeur
 Numero du codeur (QDC pour les ChIo/Si) More...
 
- Protected Attributes inherited from KVDetector
KVListfAbsorbers
 list of absorbers making up the detector More...
 
KVListfACQParams
 list of raw data parameters read from coders More...
 
TListfAlignedDetectors [2]
 stores lists of aligned detectors in both directions More...
 
KVListfCalibrators
 list of associated calibrator objects More...
 
Int_t fCalWarning
 just a counter so that missing calibrator warning is given only once More...
 
Double_t fDepthInTelescope
 used to store depth of detector in parent telescope More...
 
Bool_t fDetecting
 =kTRUE if detector is "detecting", =kFALSE if not More...
 
TF1fELossF
 parametric function dE in active layer vs. incident energy More...
 
TF1fEResF
 parametric function Eres residual energy after all layers of detector More...
 
Double_t fEResforEinc
 used by GetIncidentEnergy & GetCorrectedEnergy More...
 
Binary8_t fFiredMask
 bitmask used by Fired to determine which parameters to take into account More...
 
TString fFName
 dynamically generated full name of detector More...
 
Double_t fGain
 gain of amplifier More...
 
KVListfParticles
 list of particles hitting detector in an event More...
 
Bool_t fPresent
 =kTRUE if detector is present, =kFALSE if it has been removed More...
 
TF1fRangeF
 parametric function range of particles in detector More...
 
UShort_t fSegment
 used in particle reconstruction More...
 
Bool_t fSimMode
 =kTRUE when using to simulate detector response, =kFALSE when analysing data More...
 
Bool_t fSingleLayer
 =kTRUE if detector has a single absorber layer More...
 
Double_t fTotThickness
 used to store value calculated by GetTotalThicknessInCM More...
 
- Protected Attributes inherited from KVMaterial
TGeoVolumefAbsorberVolume
 pointer to corresponding volume in ROOT geometry More...
 
- Protected Attributes inherited from KVBase
TString fLabel
 label for the object More...
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- Public Types inherited from KVMaterial
enum  SolType { kEmax , kEmin }
 
- Public Types inherited from KVBase
enum  EKaliVedaBits { kIsKaliVedaObject = BIT(23) }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from KVDetector
static KVDetectorMakeDetector (const Char_t *name, Float_t thick)
 
- Static Public Member Functions inherited from KVMaterial
static KVIonRangeTableChangeRangeTable (const Char_t *name)
 
static KVIonRangeTableGetRangeTable ()
 
- Static Public Member Functions inherited from KVBase
static Bool_t AreEqual (Double_t x, Double_t y, Long64_t maxdif=1)
 Comparison between two 64-bit floating-point values. More...
 
static void BackupFileWithDate (const Char_t *path)
 
static void CombineFiles (const Char_t *file1, const Char_t *file2, const Char_t *newfilename, Bool_t keep=kTRUE)
 
static void Deprecated (const char *method, const char *advice)
 
static Bool_t FindClassSourceFiles (const Char_t *class_name, KVString &imp_file, KVString &dec_file, const Char_t *dir_name=".")
 
static Bool_t FindExecutable (TString &exec, const Char_t *path="$(PATH)")
 
static const Char_tFindFile (const Char_t *search, TString &wfil)
 
static const Char_tGetBINDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetDATABASEFilePath ()
 
static const Char_tGetDATADIRFilePath (const Char_t *namefile="")
 
static Bool_t GetDataSetEnv (const Char_t *dataset, const Char_t *type, Bool_t defval)
 
static const Char_tGetDataSetEnv (const Char_t *dataset, const Char_t *type, const Char_t *defval)
 
static Double_t GetDataSetEnv (const Char_t *dataset, const Char_t *type, Double_t defval)
 
static const Char_tGetETCDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetExampleFilePath (const Char_t *library, const Char_t *namefile)
 Return full path to example file for given library (="KVMultiDet", "BackTrack", etc.) More...
 
static const Char_tGetINCDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetKVBuildDate ()
 Returns KaliVeda build date. More...
 
static const Char_tGetKVBuildDir ()
 Returns top-level directory used for build. More...
 
static const Char_tGetKVBuildTime ()
 Returns KaliVeda build date. More...
 
static const Char_tGetKVBuildType ()
 Returns KaliVeda build type (cmake build: Release, Debug, RelWithDebInfo, ...) More...
 
static const Char_tGetKVBuildUser ()
 Returns username of person who performed build. More...
 
static const Char_tGetKVSourceDir ()
 Returns top-level directory of source tree used for build. More...
 
static const Char_tGetKVVersion ()
 Returns KaliVeda version string. More...
 
static const Char_tGetLIBDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetListOfPlugins (const Char_t *base)
 
static const Char_tGetListOfPluginURIs (const Char_t *base)
 
static const Char_tGetPluginURI (const Char_t *base, const Char_t *plugin)
 
static void GetTempFileName (TString &base)
 
static const Char_tGetTEMPLATEDIRFilePath (const Char_t *namefile="")
 
static const Char_tGetWORKDIRFilePath (const Char_t *namefile="")
 
static const Char_tgitBranch ()
 Returns git branch of sources. More...
 
static const Char_tgitCommit ()
 Returns last git commit of sources. More...
 
static void InitEnvironment ()
 
static bool is_gnuinstall ()
 
static Bool_t IsThisAPlugin (const TString &uri, TString &base)
 
static TPluginHandlerLoadPlugin (const Char_t *base, const Char_t *uri="0")
 
static Bool_t OpenContextMenu (const char *method, TObject *obj, const char *alt_method_name="")
 
static void OpenTempFile (TString &base, std::ofstream &fp)
 
static void PrintSplashScreen ()
 Prints welcome message and infos on version etc. More...
 
static Bool_t SearchAndOpenKVFile (const Char_t *name, std::ifstream &file, const Char_t *kvsubdir="", KVLockfile *locks=0)
 
static Bool_t SearchAndOpenKVFile (const Char_t *name, std::ofstream &file, const Char_t *kvsubdir="", KVLockfile *locks=0)
 
static Bool_t SearchKVFile (const Char_t *name, TString &fullpath, const Char_t *kvsubdir="")
 
static const Char_tWorkingDirectory ()
 
- Static Public Member Functions inherited from TObject
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Static Protected Attributes inherited from KVMaterial
static KVIonRangeTablefIonRangeTable = 0x0
 pointer to class used to calculate charged particle ranges & energy losses More...
 

#include <KVINDRADetector.h>

Inheritance diagram for KVINDRADetector:
Inheritance graph
[legend]

Constructor & Destructor Documentation

◆ KVINDRADetector() [1/2]

KVINDRADetector::KVINDRADetector ( )
inline

Definition at line 28 of file KVINDRADetector.h.

◆ ~KVINDRADetector()

virtual KVINDRADetector::~KVINDRADetector ( )
inlinevirtual

Definition at line 34 of file KVINDRADetector.h.

◆ KVINDRADetector() [2/2]

KVINDRADetector::KVINDRADetector ( const Char_t type,
const Float_t  thick = 0.0 
)
inline

Definition at line 35 of file KVINDRADetector.h.

Member Function Documentation

◆ AddACQParamType()

void KVINDRADetector::AddACQParamType ( const Char_t type)

Add an acquisition parameter of given type to this detector The parameter will be named according to INDRA/GANIL acquisition convention, i.e. name_of_detector_type e.g. CI_0201_PG (type="PG") CSI_0913_R (type="R")

If you want to use a different extension for a given type for certain detectors, you can define them in the .kvrootrc file, e.g.:

e613.KVACQParam.SI_0101.T: TOF

Then for the dataset 'e613', calling GetACQParam("T") for the detector SI_0101 will return the parameter with name "SI_0101_TOF"

Definition at line 49 of file KVINDRADetector.cpp.

◆ FindChIo()

KVINDRADetector * KVINDRADetector::FindChIo ( )
protected

PRIVATE METHOD Used when GetChIo is called the first time to retrieve the pointer to the ChIo of the group associated to this detector

Definition at line 189 of file KVINDRADetector.cpp.

◆ GetACQParam()

KVACQParam * KVINDRADetector::GetACQParam ( const Char_t type) const
virtual

Look for acquisition parameter with given type in list of parameters associated with this detector.

*** WARNING *** This method overrides the KVDetector::GetACQParam(const Char_t* name) method, which interprets the argument as the FULL name of the parameter. In this version, only the 'type' needs to be given, e.g. GetACQParam("PG") to retrieve e.g. the "CI_0201_PG" parameter associated to detector "CI_0201". If using this method in a loop over a list of INDRA- and non-INDRA detectors, the behaviour of the method will be different for the two types of detectors, and results may not be what you wanted.

If you want to use a different extension for a given type for certain detectors, you can define them in the .kvrootrc file, e.g.:

e613.KVACQParam.SI_0101.T: TOF

Then for the dataset 'e613', calling GetACQParam("T") for the detector SI_0101 will return the parameter with name "SI_0101_TOF"

Reimplemented from KVDetector.

Definition at line 98 of file KVINDRADetector.cpp.

◆ GetArrayName()

const Char_t * KVINDRADetector::GetArrayName ( )
virtual

Name of detector given in the form CI_0213, SI_0911, CSI_1705 to be compatible with GANIL acquisition parameters

The root of the name is the detector type

Reimplemented from KVDetector.

Reimplemented in KVSiLi, KVSi75, and KVPhoswich.

Definition at line 18 of file KVINDRADetector.cpp.

◆ GetChIo()

KVINDRADetector* KVINDRADetector::GetChIo ( ) const
inline

Definition at line 116 of file KVINDRADetector.h.

◆ GetGG()

virtual Float_t KVINDRADetector::GetGG ( ) const
inlinevirtual

Definition at line 124 of file KVINDRADetector.h.

◆ GetGGfromPG()

Double_t KVINDRADetector::GetGGfromPG ( Double_t  PG = -1)

Linear conversion from PG to GG coder values (silicon and ionisation chamber detectors) If PG is not given as argument, the current value of the detector's PG ACQParam is read The GG value returned includes the current pedestal: GG = pied_GG - (fGGtoPG_0/fGGtoPG_1) + (PG - pied_PG)/fGGtoPG_1 alpha, beta coefficients are obtained by fitting (PG-pied) vs. (GG-pied) for data.

Definition at line 168 of file KVINDRADetector.cpp.

◆ GetGGtoPGConversionFactors()

void KVINDRADetector::GetGGtoPGConversionFactors ( Double_t par)
inline

fill array par[2] with values of offset and slope parameters of linear conversion from GG to PG coder values. par[0] = offset = fGGtoPG_0 par[1] = slope = fGGtoPG_1

Definition at line 97 of file KVINDRADetector.h.

◆ GetIndex()

Int_t KVINDRADetector::GetIndex ( ) const
inlinevirtual

Return numerical identifier of detector, i.e. 601 for SI_0601 (or CSI_0601)

Reimplemented from KVDetector.

Definition at line 86 of file KVINDRADetector.h.

◆ GetL()

virtual Float_t KVINDRADetector::GetL ( ) const
inlinevirtual

Definition at line 132 of file KVINDRADetector.h.

◆ GetModuleNumber()

UInt_t KVINDRADetector::GetModuleNumber ( void  ) const
inline

if no telescope, deduce from name

Definition at line 75 of file KVINDRADetector.h.

◆ GetMT()

UShort_t KVINDRADetector::GetMT ( ) const
inline

Definition at line 136 of file KVINDRADetector.h.

◆ GetNumeroCodeur()

Int_t KVINDRADetector::GetNumeroCodeur ( )

Get the number of the electronic module of type QDC this field are initialized in KVINDRA::Build()

Definition at line 228 of file KVINDRADetector.cpp.

◆ GetPG()

virtual Float_t KVINDRADetector::GetPG ( ) const
inlinevirtual

Definition at line 120 of file KVINDRADetector.h.

◆ GetPGfromGG()

Double_t KVINDRADetector::GetPGfromGG ( Double_t  GG = -1)

Linear conversion from GG to PG coder values (silicon and ionisation chamber detectors) If GG is not given as argument, the current value of the detector's GG ACQParam is read The PG value returned includes the current pedestal: PG = pied_PG + fGGtoPG_0 + fGGtoPG_1 * (GG - pied_GG) alpha, beta coefficients are obtained by fitting (PG-pied) vs. (GG-pied) for data.

Definition at line 144 of file KVINDRADetector.cpp.

◆ GetR()

virtual Float_t KVINDRADetector::GetR ( ) const
inlinevirtual

Definition at line 128 of file KVINDRADetector.h.

◆ GetRingNumber()

UInt_t KVINDRADetector::GetRingNumber ( void  ) const
inline

if no telescope, deduce from name

Definition at line 64 of file KVINDRADetector.h.

◆ GetTelescope()

KVINDRATelescope* KVINDRADetector::GetTelescope ( ) const
inline

Return pointer to telescope containing this detector

Definition at line 42 of file KVINDRADetector.h.

◆ SetGGtoPGConversionFactors()

void KVINDRADetector::SetGGtoPGConversionFactors ( Double_t  alpha,
Double_t  beta 
)
inline

set parameters of linear conversion from GG to PG coder values (silicon and ionisation chamber detectors) alpha = offset, beta = slope PG = alpha + beta*(GG - GG_0) + PG_0 where GG_0 and PG_0 are respectively GG and PG pedestals

Definition at line 106 of file KVINDRADetector.h.

◆ SetNumeroCodeur()

void KVINDRADetector::SetNumeroCodeur ( Int_t  numero)

Set the number of the electronic module of type QDC.

Definition at line 216 of file KVINDRADetector.cpp.

◆ SetSegment()

virtual void KVINDRADetector::SetSegment ( UShort_t  )
inlinevirtual

Overrides KVDetector method. 'Segmentation' of INDRA detectors is defined in ctor of dedicated detector classes

Reimplemented from KVDetector.

Definition at line 48 of file KVINDRADetector.h.

◆ SetThickness()

void KVINDRADetector::SetThickness ( Double_t  thick)
virtual

Overrides KVDetector::SetThickness If using ROOT geometry, print warning that any change in detector thickness will not be taken into account in the geometry. All thicknesses have to be set before the ROOT geometry is generated.

Reimplemented from KVMaterial.

Reimplemented in KVSilicon.

Definition at line 243 of file KVINDRADetector.cpp.

◆ SetType()

void KVINDRADetector::SetType ( const Char_t t)
inlinevirtual

Detector types for INDRA are uppercase

Reimplemented from KVBase.

Definition at line 55 of file KVINDRADetector.h.

Member Data Documentation

◆ fChIo

KVINDRADetector* KVINDRADetector::fChIo
protected

pointer to ionisation chamber in group associated to this detector

Definition at line 23 of file KVINDRADetector.h.

◆ fGGtoPG_0

Double_t KVINDRADetector::fGGtoPG_0
protected

GG-PG conversion factor: offset.

for silicon and ionisation chamber detectors factors for converting between GG and PG coder values

Definition at line 20 of file KVINDRADetector.h.

◆ fGGtoPG_1

Double_t KVINDRADetector::fGGtoPG_1
protected

GG-PGconversion factor: slope.

Definition at line 21 of file KVINDRADetector.h.

◆ NumeroCodeur

Int_t KVINDRADetector::NumeroCodeur
protected

Numero du codeur (QDC pour les ChIo/Si)

Definition at line 25 of file KVINDRADetector.h.


The documentation for this class was generated from the following files: