![]() |
KaliVeda
Toolkit for HIC analysis
|
Base class for FAZIA detectors.
Created by KVClassFactory on Fri Jan 23 18:44:27 2015 Author: ,,,
Detector names are assumed to be defined as label-xxx where xxx is computed as follows (see KVFAZIADetector::GetIndex) :
and label can be SI1, SI2 or CSI
For example SI1-123 is the Silicon Si1 of the block 1, the quartet 2 and the telescope 3
Definition at line 29 of file KVFAZIADetector.h.
#include <KVFAZIADetector.h>

Public Types | |
| enum | { kSI1 , kSI2 , kCSI , kOTHER } |
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 |
Public Member Functions | |
| KVFAZIADetector () | |
| Default constructor. More... | |
| KVFAZIADetector (const Char_t *type, const Float_t thick=0.0) | |
| Create detector of given material type and thickness (in centimetres) More... | |
| virtual | ~KVFAZIADetector () |
| Destructor. More... | |
| void | Clear (Option_t *opt="") override |
| If opt="N" we do not reset any raw data, signals, etc. More... | |
| void | ComputePSA () |
| Perform Pulse Shape Analysis on all signals. More... | |
| void | Copy (TObject &obj) const override |
| Bool_t | Fired (Option_t *opt="any") const override |
| Int_t | GetBlockNumber () const |
| Int_t | GetDetTag () const |
| Int_t | GetGTTag () const |
| Int_t | GetIdentifier () const |
| Int_t | GetIndex () const override |
| const KVSeqCollection * | GetListOfSignals () const |
| Int_t | GetNumberOfSignals () const |
| Int_t | GetQuartetNumber () const |
| Double_t | GetSetupParameter (const Char_t *parname) |
| KVSignal * | GetSignal (const Char_t *name) const |
| KVSignal * | GetSignal (Int_t idx) const |
| KVSignal * | GetSignalByType (const Char_t *type) const |
| Int_t | GetTelescopeNumber () const |
| Bool_t | HasSignal () const |
| Returns kTRUE if detector has at least 1 associated signal. More... | |
| Bool_t | IsRutherford () const |
| void | SetDetTag (Int_t t) |
| void | SetGTTag (Int_t t) |
| void | SetName (const char *name) override |
| void | SetSignal (TGraph *signal, const Char_t *signal_name) |
Public Member Functions inherited from KVDetector | |
| KVDetector () | |
| default ctor More... | |
| KVDetector (const Char_t *gas, const Double_t thick, const Double_t pressure, const Double_t temperature=19.0) | |
| 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) |
| virtual void | AddEnergyLossInSubDetector (int, double) |
| void | AddHit (KVNucleus *part) |
| void | AddParentStructure (KVGeoStrucElement *elem) |
| Bool_t | BelongsToIdentifiedParticle () const |
| Bool_t | BelongsToUnidentifiedParticle () const |
| void | ClearHits () |
| void | DetectParticle (KVNucleus *, TVector3 *norm=0) override |
| 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) |
| 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 override |
| TGeoHMatrix * | GetActiveLayerMatrix () const |
| TGeoBBox * | GetActiveLayerShape () const |
| TVector3 | GetActiveLayerSurfaceCentre () const |
| TVector3 | GetActiveLayerVolumeCentre () const |
| 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 override |
| Double_t | GetDeltaE (Int_t Z, Int_t A, Double_t Einc, Double_t=0.) override |
| Double_t | GetDeltaEFromERes (Int_t Z, Int_t A, Double_t Eres) override |
| virtual KVDetectorSignal * | GetDetectorSignal (const KVString &type) const |
| Double_t | GetDetectorSignalValue (const KVString &type, const KVNameValueList ¶ms="") const |
| TVector3 | GetDirection () override |
| Double_t | GetDistance () const override |
| Double_t | GetEIncOfMaxDeltaE (Int_t Z, Int_t A) override |
| virtual TF1 * | GetELossFunction (Int_t Z, Int_t A) |
| Double_t | GetELostByParticle (KVNucleus *, TVector3 *norm=0) override |
| virtual Double_t | GetEnergy () const |
| Double_t | GetEnergyLoss () const override |
| const KVPosition & | GetEntranceWindow () const |
| virtual Double_t | GetEntranceWindowSurfaceArea () |
| Return surface area of first layer of detector in cm2. More... | |
| Double_t | GetERes (Int_t Z, Int_t A, Double_t Einc, Double_t=0.) override |
| virtual Double_t | GetEResAfterDetector () const |
| virtual TF1 * | GetEResFunction (Int_t Z, Int_t A) |
| KVGroup * | GetGroup () const |
| UInt_t | GetGroupNumber () |
| KVList * | GetHits () const |
| Return the list of particles hitting this detector in an event. More... | |
| Double_t | GetIncidentEnergy (Int_t Z, Int_t A, Double_t delta_e=-1.0, enum SolType type=kEmax) override |
| Double_t | GetIncidentEnergyFromERes (Int_t Z, Int_t A, Double_t Eres) override |
| Double_t | GetInverseDetectorSignalValue (const KVString &output, Double_t value, const KVString &input, const KVNameValueList ¶ms="") const |
| Double_t | GetLinearRange (Int_t Z, Int_t A, Double_t Einc) override |
| const KVList * | GetListOfAbsorbers () const |
| KVList * | GetListOfCalibrators () const |
| const KVSeqCollection & | GetListOfDetectorSignals () const |
| const KVSeqCollection & | GetListOfDetectorSignalsForRawTree () const |
| const Char_t * | GetMaterialName () const |
| Double_t | GetMaxDeltaE (Int_t Z, Int_t A) override |
| 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 |
| Double_t | GetParticleEIncFromERes (KVNucleus *, TVector3 *norm=0) override |
| Double_t | GetPhi () const override |
| Double_t | GetPunchThroughEnergy (Int_t Z, Int_t A) override |
| void | GetRandomAngles (Double_t &th, Double_t &ph, Option_t *t="isotropic") override |
| TVector3 | GetRandomDirection (Option_t *t="isotropic") override |
| Double_t | GetRange (Int_t Z, Int_t A, Double_t Einc) override |
| virtual TF1 * | GetRangeFunction (Int_t Z, Int_t A) |
| Double_t | GetSinTheta () const override |
| virtual Double_t | GetSmallestEmaxValid (Int_t Z, Int_t A) const |
| Double_t | GetSolidAngle () const override |
| Double_t | GetTheta () const override |
| virtual Double_t | GetTotalDeltaE (Int_t Z, Int_t A, Double_t Einc) |
| Double_t | GetTotalThicknessInCM () const |
| 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 |
| Bool_t | IsGasDetector () const |
| Bool_t | IsMultiLayer () const |
| virtual Bool_t | IsOK () const |
| virtual Bool_t | IsPresent () const |
| virtual Bool_t | IsSegmented () const |
| virtual Bool_t | IsSimMode () const |
| Bool_t | IsSingleLayer () const |
| void | Print (Option_t *option="") const override |
| virtual void | ReadDefinitionFromFile (const Char_t *) |
| void | RemoveAllAbsorbers () |
| 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 | SetActiveLayer (Int_t i) |
| 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 |
| void | SetEnergyLoss (Double_t e) const override |
| 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 | SetMaterial (const Char_t *type) override |
| void | SetNameOfArray (const TString &n) |
| void | SetPresent (Bool_t yes=kTRUE) |
| void | SetPressure (Double_t P) override |
| virtual void | SetSimMode (Bool_t on=kTRUE) |
| void | SetTemperature (Double_t T) override |
| void | SetThickness (Double_t thick) override |
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 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 |
| void | Print (Option_t *option="") const override |
| Show information on this material. More... | |
| virtual void | SetAbsGeoVolume (TGeoVolume *v) |
| void | SetAreaDensity (Double_t dens) |
| void | SetMass (Int_t a) |
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... | |
| void | Error (const char *method, const char *msgfmt,...) const override |
| const Char_t * | GetLabel () const |
| UInt_t | GetNumber () 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) |
| virtual void | SetType (const Char_t *str) |
| void | Warning (const char *method, const char *msgfmt,...) const override |
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 () |
| TObject * | Clone (const char *newname="") const override |
| Int_t | Compare (const TObject *obj) const override |
| virtual void | FillBuffer (char *&buffer) |
| const char * | GetName () const override |
| const char * | GetTitle () const override |
| ULong_t | Hash () const override |
| TClass * | IsA () const override |
| Bool_t | IsSortable () const override |
| void | ls (Option_t *option="") const override |
| TNamed & | operator= (const TNamed &rhs) |
| virtual void | SetNameTitle (const char *name, const char *title) |
| virtual void | SetTitle (const char *title="") |
| virtual Int_t | Sizeof () const |
| void | Streamer (TBuffer &) override |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 TObject * | DrawClone (Option_t *option="") const |
| virtual void | Dump () const |
| virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
| virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
| virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
| virtual void | Fatal (const char *method, const char *msgfmt,...) const |
| virtual TObject * | FindObject (const char *name) const |
| virtual TObject * | FindObject (const TObject *obj) const |
| virtual Option_t * | GetDrawOption () const |
| virtual const char * | GetIconName () const |
| virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
| virtual Option_t * | GetOption () 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) |
| Bool_t | IsDestructed () const |
| 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, void *vp) |
| void | operator delete[] (void *ptr) |
| void | operator delete[] (void *ptr, void *vp) |
| void * | operator new (size_t sz) |
| void * | operator new (size_t sz, void *vp) |
| void * | operator new[] (size_t sz) |
| void * | operator new[] (size_t sz, void *vp) |
| TObject & | operator= (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) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| 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 Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
| virtual Int_t | Write (const char *name=nullptr, 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... | |
| virtual 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) |
Static Public Member Functions | |
| static const Char_t * | GetNewName (KVString oldname) |
Static Public Member Functions inherited from KVDetector | |
| static KVDetector * | MakeDetector (const Char_t *name, Float_t thick) |
Static Public Member Functions inherited from KVMaterial | |
| static KVIonRangeTable * | ChangeRangeTable (const Char_t *name) |
| static KVIonRangeTable * | GetRangeTable () |
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 KVString &class_name, KVString &imp_file, KVString &dec_file, const KVString &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 KVString | GetDataSetEnv (const KVString &dataset, const KVString &type, const char *defval) |
| template<typename ValType > | |
| static ValType | GetDataSetEnv (const KVString &dataset, const KVString &type, const ValType &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 int | GetKVMajorVersion () |
| static int | GetKVMinorVersion () |
| 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 | IsEnvInit () |
| 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 () |
Static Public Member Functions inherited from TNamed | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
| static Longptr_t | GetDtorOnly () |
| static Bool_t | GetObjectStat () |
| static void | SetDtorOnly (void *obj) |
| static void | SetObjectStat (Bool_t stat) |
Private Member Functions | |
| void | init () |
| default initialisations More... | |
| KVDetectorSignal * | set_psa_detector_signal_value (const TString &sig_type, const TString &psa_val, double val) |
| KVDetectorSignal * | SetBaseLine (int sigid, Float_t baseline) |
| KVDetectorSignal * | SetFPGAEnergy (int sigid, Int_t idx, Double_t energy) |
| Bool_t | SetProperties () |
| void | SetPSAResults (const KVSignal *sig) |
| Bool_t | use_signal_for_raw_data_tree (const TString &) const override |
| Restrict list of signals which are used to fill raw data TTrees. More... | |
Private Attributes | |
| Int_t | fBlock |
| Int_t | fIdentifier |
| SI1=0(kSI1) SI2=1(kSI2) CSI=2(kCSI) More... | |
| Int_t | fIndex |
| 100*block+10*quartet+telescope More... | |
| Bool_t | fIsFiredFromSignals |
| Bool_t | fIsRutherford |
| Double_t | fQ2Threshold |
| Double_t | fQ3Threshold |
| Double_t | fQH1Threshold |
| thresholds defined for this detector More... | |
| Int_t | fQuartet |
| KVUniqueNameList | fSignals |
| list of electronics signal (current, charge, etc... ) More... | |
| Int_t | fTelescope |
Friends | |
| class | KVFAZIA |
Additional Inherited Members | |
Public Attributes inherited from TObject | |
| kBitMask | |
| kCanDelete | |
| kCannotPick | |
| kHasUUID | |
| kInconsistent | |
| kInvalidObject | |
| kIsOnHeap | |
| kIsReferenced | |
| kMustCleanup | |
| kNoContextMenu | |
| kNotDeleted | |
| kObjInCanvas | |
| kOverwrite | |
| kSingleKey | |
| kWriteDelete | |
| kZombie | |
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 inherited from TNamed | |
| TString | fName |
| TString | fTitle |
Protected Attributes inherited from TObject | |
| kOnlyPrepStep | |
| anonymous enum |
| Enumerator | |
|---|---|
| kSI1 | |
| kSI2 | |
| kCSI | |
| kOTHER | |
Definition at line 128 of file KVFAZIADetector.h.
| KVFAZIADetector::KVFAZIADetector | ( | ) |
Default constructor.
Definition at line 52 of file KVFAZIADetector.cpp.
Create detector of given material type and thickness (in centimetres)
Definition at line 63 of file KVFAZIADetector.cpp.
|
virtual |
Destructor.
Definition at line 74 of file KVFAZIADetector.cpp.
If opt="N" we do not reset any raw data, signals, etc.
Reimplemented from KVDetector.
Definition at line 107 of file KVFAZIADetector.cpp.
| void KVFAZIADetector::ComputePSA | ( | ) |
Perform Pulse Shape Analysis on all signals.
Definition at line 515 of file KVFAZIADetector.cpp.
This method copies the current state of 'this' object into 'obj' You should add here any member variables, for example: (supposing a member variable KVFAZIADetector::fToto) CastedObj.fToto = fToto; or CastedObj.SetToto( GetToto() );
Reimplemented from KVDetector.
Definition at line 89 of file KVFAZIADetector.cpp.
Returns kTRUE if detector was hit (fired) in an event
Several methods are implemented.
If the detector has a "Fired" signal (defined by a calibration file containing threshold values for individual detectors), we simply test it (if "Fired" > 0, then we are above threshold).
If the detector is fired based on FPGA energy values (i.e. the [dataset].*.IsFiredFromSignal value is set to 0 for the dataset), thresholds are given for all SI1/SI2/CSI detectors using "[dataset].*.MinimumAmplitude" values for the QH1/QL1, Q2 and/or Q3 FPGA values, these will be used to test the corresponding "*.FPGAEnergy" signal of the detector.
Otherwise, the test is made on charge signals of the detectors:
If the detector is in "simulation mode", i.e. if SetSimMode(kTRUE) has been called, this method returns kTRUE if the calculated energy loss in the active layer is > 0.
Reimplemented from KVDetector.
Definition at line 333 of file KVFAZIADetector.cpp.
|
inline |
Definition at line 164 of file KVFAZIADetector.h.
|
inline |
Definition at line 192 of file KVFAZIADetector.h.
|
inline |
Definition at line 196 of file KVFAZIADetector.h.
|
inline |
Return the identifier of the detector. This is one of KVFAZIADetector::kSI1 KVFAZIADetector::kSI2 KVFAZIADetector::kCSI KVFAZIADetector::kOTHER
Definition at line 154 of file KVFAZIADetector.h.
|
inlineoverridevirtual |
Return index of detector, defined as 100*block+10*quartet+telescope
Reimplemented from KVDetector.
Definition at line 168 of file KVFAZIADetector.h.
| const KVSeqCollection * KVFAZIADetector::GetListOfSignals | ( | ) | const |
Definition at line 505 of file KVFAZIADetector.cpp.
Translate an old-style FAZIA detector name (e.g. "SI1-T1-Q2-B001") to the new format ("SI1-121")
Definition at line 276 of file KVFAZIADetector.cpp.
| Int_t KVFAZIADetector::GetNumberOfSignals | ( | ) | const |
Definition at line 496 of file KVFAZIADetector.cpp.
|
inline |
Definition at line 181 of file KVFAZIADetector.h.
Definition at line 37 of file KVFAZIADetector.cpp.
Access detector signal by name, i.e. as in FAZIA raw data e.g. "QL1-231"
Definition at line 453 of file KVFAZIADetector.cpp.
Access signal with given index in list of detector's signals 0 <= idx < KVFAZIADetector::GetNumberOfSignals()
Definition at line 483 of file KVFAZIADetector.cpp.
Access detector signal of given type: "I1", "I2", "Q2", "Q3", "QH1", "QL1"
Definition at line 468 of file KVFAZIADetector.cpp.
|
inline |
Definition at line 185 of file KVFAZIADetector.h.
| Bool_t KVFAZIADetector::HasSignal | ( | ) | const |
Returns kTRUE if detector has at least 1 associated signal.
Definition at line 441 of file KVFAZIADetector.cpp.
default initialisations
Definition at line 19 of file KVFAZIADetector.cpp.
|
inline |
Returns kTRUE if detector is part of elastic scattering monitor telescope
Definition at line 175 of file KVFAZIADetector.h.
|
inlineprivate |
Definition at line 54 of file KVFAZIADetector.h.
|
inlineprivate |
Set signal baseline computed inside the FPGA. Returns address of the signal which was set.
Definition at line 91 of file KVFAZIADetector.h.
Definition at line 200 of file KVFAZIADetector.h.
|
inlineprivate |
Set FPGA energy value in appropriate KVDetectorSignal of detector and set its state to 'fired'. Returns address of the signal which was set.
Definition at line 66 of file KVFAZIADetector.h.
Definition at line 204 of file KVFAZIADetector.h.
|
overridevirtual |
Reimplemented from TNamed.
Definition at line 119 of file KVFAZIADetector.cpp.
|
private |
detector name are assumed to be defined as label-xxx where xxx is computed as follow : 100*block number+10*quartet number+telescope number and label can be SI1, SI2 or CSI For example SI1-123 is the Silicon Si1 of the block 1, the quartet 2 and the telescope 3
Definition at line 137 of file KVFAZIADetector.cpp.
Set PSA results in appropriate KVDetectorSignals of detector and set their state to 'fired'
Definition at line 115 of file KVFAZIADetector.h.
Copy waveform data from TGraph into the signal with the given name (QH1-345 etc.)
Then perform analysis of signal and set the values of the corresponding KVDetectorSignalValue objects
Definition at line 419 of file KVFAZIADetector.cpp.
|
overrideprivatevirtual |
Restrict list of signals which are used to fill raw data TTrees.
Reimplemented from KVDetector.
Definition at line 244 of file KVFAZIADetector.cpp.
|
friend |
Definition at line 31 of file KVFAZIADetector.h.
|
private |
Definition at line 35 of file KVFAZIADetector.h.
|
private |
SI1=0(kSI1) SI2=1(kSI2) CSI=2(kCSI)
Definition at line 38 of file KVFAZIADetector.h.
|
private |
100*block+10*quartet+telescope
Definition at line 39 of file KVFAZIADetector.h.
|
private |
Definition at line 47 of file KVFAZIADetector.h.
|
private |
Definition at line 40 of file KVFAZIADetector.h.
|
private |
Definition at line 44 of file KVFAZIADetector.h.
|
private |
Definition at line 45 of file KVFAZIADetector.h.
|
private |
thresholds defined for this detector
Definition at line 43 of file KVFAZIADetector.h.
|
private |
Definition at line 36 of file KVFAZIADetector.h.
|
private |
list of electronics signal (current, charge, etc... )
Definition at line 33 of file KVFAZIADetector.h.
|
private |
Definition at line 37 of file KVFAZIADetector.h.