18 #include "KVIDINDRACsI.h"
20 #include "KVIdentificationResult.h"
23 #include <KVINDRADetector.h>
24 #include <KVReconstructedNucleus.h>
140 if (!IDR->
IDOK)
return;
180 x =
clamp((
x - edge0) / (edge1 - edge0), 0.0, 1.0);
182 return x *
x *
x * (
x * (
x * 6 - 15) + 10);
R__EXTERN TRandom * gRandom
char * Form(const char *fmt,...)
Bool_t Identify(KVIdentificationResult *, Double_t x=-1., Double_t y=-1.) override
float clamp(float x, float lowerlimit, float upperlimit)
Int_t fThresMin[2][4]
min ID thresholds (smooth step)
Int_t fThresMax[2][4]
max ID thresholds (smooth step)
void SetIdentificationStatus(KVIdentificationResult *IDR, const KVNucleus *) override
float smootherstep(float edge0, float edge1, float x)
Scale, and clamp x to 0..1 range.
virtual Bool_t Identify(KVIdentificationResult *, Double_t x=-1., Double_t y=-1.)
KVDetector * GetDetector(UInt_t n) const
virtual UShort_t GetIDCode()
virtual void SetIdentificationStatus(KVIdentificationResult *IDR, const KVNucleus *)
Full result of one attempted particle identification.
Bool_t IDOK
general quality of identification, =kTRUE if acceptable identification made
void SetComment(const Char_t *c)
TString Rejecting_Cut
name of cut in grid which rejected particle for identification
Bool_t Aident
= kTRUE if A of particle established
Int_t A
A of particle found (if Aident==kTRUE)
Int_t Z
Z of particle found (if Zident==kTRUE)
Int_t IDquality
specific quality code returned by identification procedure
Int_t IDcode
a general identification code for this type of identification
Bool_t Zident
=kTRUE if Z of particle established
Description of properties and kinematics of atomic nuclei.
virtual Double_t Uniform(Double_t x1, Double_t x2)
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const