![]() |
KaliVeda
Toolkit for HIC analysis
|
Base class for detectors of INDRA array.
Created by KVClassFactory on Sat Oct 3 14:18:09 2009 Author: John Frankland,,,
Definition at line 17 of file KVINDRADetector.h.
#include <KVINDRADetector.h>
Public Member Functions | |
KVINDRADetector () | |
KVINDRADetector (const Char_t *type, const Float_t thick=0.0) | |
virtual | ~KVINDRADetector () |
const Char_t * | GetArrayName () |
KVINDRADetector * | GetChIo () const |
Int_t | GetIndex () const |
UInt_t | GetModuleNumber () const |
UInt_t | GetRingNumber () const |
KVINDRATelescope * | GetTelescope () const |
virtual void | SetSegment (UShort_t) |
void | SetThickness (Double_t thick) |
void | SetType (const Char_t *t) |
![]() | |
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 *) |
Bool_t | AddCalibrator (KVCalibrator *cal, const KVNameValueList &opts="") |
KVDetectorSignal * | AddDetectorSignal (const KVString &type) |
Bool_t | AddDetectorSignalExpression (const KVString &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 TGraph * | DrawPunchThroughEnergyVsZ (Int_t massform=KVNucleus::kBetaMass) |
virtual TGraph * | DrawPunchThroughEsurAVsZ (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 |
KVMaterial * | GetAbsorber (const Char_t *name) const |
KVMaterial * | GetAbsorber (Int_t i) const |
Returns pointer to the i-th absorber in the detector (i=0 first absorber, i=1 second, etc.) More... | |
KVMaterial * | GetActiveLayer () const |
TGeoHMatrix * | GetActiveLayerMatrix () const |
TGeoBBox * | GetActiveLayerShape () const |
TVector3 | GetActiveLayerSurfaceCentre () const |
TVector3 | GetActiveLayerVolumeCentre () const |
virtual TList * | GetAlignedDetectors (UInt_t direction=1) |
KVList * | GetAlignedIDTelescopes () |
virtual Double_t | GetCalibratedEnergy () const |
KVCalibrator * | GetCalibrator (const Char_t *name, const Char_t *type) const |
KVCalibrator * | GetCalibrator (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 KVDetectorSignal * | GetDetectorSignal (const KVString &type) const |
Double_t | GetDetectorSignalValue (const KVString &type, const KVNameValueList ¶ms="") const |
TVector3 | GetDirection () |
Double_t | GetDistance () const |
virtual Double_t | GetEIncOfMaxDeltaE (Int_t Z, Int_t A) |
virtual TF1 * | GetELossFunction (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 KVPosition & | GetEntranceWindow () 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 TF1 * | GetEResFunction (Int_t Z, Int_t A) |
Double_t | GetGain () const |
virtual TGeoVolume * | GetGeoVolume () |
KVGroup * | GetGroup () const |
UInt_t | GetGroupNumber () |
KVList * | GetHits () const |
Return the list of particles hitting this detector in an event. More... | |
KVList * | GetIDTelescopes () |
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 KVString &output, Double_t value, const KVString &input, const KVNameValueList ¶ms="") const |
virtual Double_t | GetLinearRange (Int_t Z, Int_t A, Double_t Einc) |
KVList * | GetListOfAbsorbers () const |
KVList * | GetListOfCalibrators () const |
const KVSeqCollection & | GetListOfDetectorSignals () const |
const Char_t * | GetMaterialName () const |
virtual Double_t | GetMaxDeltaE (Int_t Z, Int_t A) |
const Char_t * | GetNameOfArray () const |
Int_t | GetNHits () const |
Return the number of particles hitting this detector in an event. More... | |
KVGeoDetectorNode * | GetNode () |
Int_t | GetNumberOfAbsorberLayers () const |
KVGeoStrucElement * | GetParentStructure (const Char_t *type, const Char_t *name="") const |
virtual Double_t | GetParticleEIncFromERes (KVNucleus *, TVector3 *norm=0) |
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 TF1 * | GetRangeFunction (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 |
TList * | GetTelescopesForIdentification () |
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 | HasDetectorSignal (const KVString &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 ¶ms) 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) |
void | SetActiveLayer (KVMaterial *actif) |
void | SetActiveLayerMatrix (const TGeoHMatrix *) |
Set ROOT geometry global matrix transformation to coordinate frame of active layer volume. More... | |
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 KVString &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) |
void | SetGain (Double_t gain) |
virtual void | SetMaterial (const Char_t *type) |
void | SetNameOfArray (const TString &n) |
void | SetPresent (Bool_t yes=kTRUE) |
virtual void | SetSimMode (Bool_t on=kTRUE) |
void | SetThickness (Double_t thick) |
![]() | |
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 TGeoVolume * | GetAbsGeoVolume () const |
Double_t | GetAreaDensity () const |
Double_t | GetDensity () const |
Double_t | GetEffectiveAreaDensity (TVector3 &norm, TVector3 &direction) |
Double_t | GetEffectiveThickness (TVector3 &norm, TVector3 &direction) |
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 TGeoMedium * | GetGeoMedium (const Char_t *="") |
virtual TGraph * | GetGraphOfDeltaEVsE (const KVNucleus &nuc, Int_t npts, Double_t Emin, Double_t Emax) |
Double_t | GetMass () const |
virtual Double_t | GetPressure () const |
virtual Double_t | GetTemperature () const |
virtual Double_t | GetThickness () const |
Double_t | GetZ () const |
void | init () |
Bool_t | IsGas () const |
Bool_t | IsIsotopic () const |
Bool_t | IsNat () const |
virtual void | SetAbsGeoVolume (TGeoVolume *v) |
void | SetAreaDensity (Double_t dens) |
void | SetMass (Int_t a) |
virtual void | SetPressure (Double_t) |
virtual void | SetTemperature (Double_t) |
![]() | |
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_t * | GetLabel () const |
UInt_t | GetNumber () const |
UInt_t | GetNumberOfObjects () const |
virtual TObject * | GetObject () const |
virtual const Char_t * | GetType () 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 () |
KVBase & | operator= (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) |
![]() | |
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) |
Private Member Functions | |
KVINDRADetector * | FindChIo () |
Private Attributes | |
KVINDRADetector * | fChIo |
pointer to ionisation chamber in group associated to this detector More... | |
Additional Inherited Members | |
![]() | |
enum | SolType { kEmax , kEmin } |
![]() | |
enum | EKaliVedaBits { kIsKaliVedaObject = BIT(23) } |
![]() | |
static KVDetector * | MakeDetector (const Char_t *name, Float_t thick) |
![]() | |
static KVIonRangeTable * | ChangeRangeTable (const Char_t *name) |
static KVIonRangeTable * | GetRangeTable () |
![]() | |
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_t * | FindFile (const Char_t *search, TString &wfil) |
static const Char_t * | GetBINDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetDATABASEFilePath () |
static const Char_t * | GetDATADIRFilePath (const Char_t *namefile="") |
static Bool_t | GetDataSetEnv (const Char_t *dataset, const Char_t *type, Bool_t defval) |
static const Char_t * | GetDataSetEnv (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_t * | GetETCDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetExampleFilePath (const Char_t *library, const Char_t *namefile) |
Return full path to example file for given library (="KVMultiDet", "BackTrack", etc.) More... | |
static const Char_t * | GetINCDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetKVBuildDate () |
Returns KaliVeda build date. More... | |
static const Char_t * | GetKVBuildDir () |
Returns top-level directory used for build. More... | |
static const Char_t * | GetKVBuildTime () |
Returns KaliVeda build time. More... | |
static const Char_t * | GetKVBuildType () |
Returns KaliVeda build type (cmake build: Release, Debug, RelWithDebInfo, ...) More... | |
static const Char_t * | GetKVBuildUser () |
Returns username of person who performed build. More... | |
static const Char_t * | GetKVSourceDir () |
Returns top-level directory of source tree used for build. More... | |
static const Char_t * | GetKVVersion () |
Returns KaliVeda version string. More... | |
static const Char_t * | GetLIBDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetListOfPlugins (const Char_t *base) |
static const Char_t * | GetListOfPluginURIs (const Char_t *base) |
static const Char_t * | GetPluginURI (const Char_t *base, const Char_t *plugin) |
static void | GetTempFileName (TString &base) |
static const Char_t * | GetTEMPLATEDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetWORKDIRFilePath (const Char_t *namefile="") |
static const Char_t * | gitBranch () |
Returns git branch of sources. More... | |
static const Char_t * | gitCommit () |
Returns last git commit of sources. More... | |
static void | InitEnvironment () |
static bool | is_gnuinstall () |
static Bool_t | IsThisAPlugin (const TString &uri, TString &base) |
static TPluginHandler * | LoadPlugin (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, KVSQLite::database &dbfile, const Char_t *kvsubdir="") |
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_t * | WorkingDirectory () |
|
inline |
Definition at line 24 of file KVINDRADetector.h.
|
inlinevirtual |
Definition at line 28 of file KVINDRADetector.h.
|
inline |
Definition at line 29 of file KVINDRADetector.h.
|
private |
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 40 of file KVINDRADetector.cpp.
|
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.
|
inline |
Definition at line 84 of file KVINDRADetector.h.
|
inlinevirtual |
Return numerical identifier of detector, i.e. 601 for SI_0601 (or CSI_0601)
Reimplemented from KVDetector.
Definition at line 78 of file KVINDRADetector.h.
|
inline |
if no telescope, deduce from name
Definition at line 67 of file KVINDRADetector.h.
|
inline |
if no telescope, deduce from name
Definition at line 56 of file KVINDRADetector.h.
|
inline |
Return pointer to telescope containing this detector
Definition at line 34 of file KVINDRADetector.h.
|
inlinevirtual |
Overrides KVDetector method. 'Segmentation' of INDRA detectors is defined in ctor of dedicated detector classes
Reimplemented from KVDetector.
Definition at line 40 of file KVINDRADetector.h.
|
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 58 of file KVINDRADetector.cpp.
|
inlinevirtual |
Detector types for INDRA are uppercase
Reimplemented from KVBase.
Definition at line 47 of file KVINDRADetector.h.
|
private |
pointer to ionisation chamber in group associated to this detector
Definition at line 20 of file KVINDRADetector.h.