136 double e =
n->GetE();
149 double e =
n->GetE();
177 x =
clamp((
x - edge0) / (edge1 - edge0), 0.0, 1.0);
179 return x *
x *
x * (
x * (
x * 6 - 15) + 10);
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
R__EXTERN TRandom * gRandom
const Char_t * GetType() const
virtual void Identify(Double_t, Double_t, KVIdentificationResult *) const =0
const Char_t * GetName() const
float clamp(float x, float lowerlimit, float upperlimit)
Int_t fThresMin[2][4]
min ID thresholds (smooth step)
virtual Bool_t Identify(KVIdentificationResult *, Double_t x=-1., Double_t y=-1.)
Int_t fThresMax[2][4]
max ID thresholds (smooth step)
void SetIdentificationStatus(KVReconstructedNucleus *n)
KVIDGraph * CsIGrid
telescope's grid
float smootherstep(float edge0, float edge1, float x)
Scale, and clamp x to 0..1 range.
KVDetector * GetDetector(UInt_t n) const
virtual UShort_t GetIDCode()
void GetIDGridCoords(Double_t &X, Double_t &Y, KVIDGraph *grid, Double_t x=-1, Double_t y=-1)
Full result of one attempted particle identification.
Bool_t IDattempted
=kTRUE if identification was attempted
void SetGridName(const Char_t *n)
void Clear(Option_t *opt="")
Reset to initial values.
Int_t IDcode
a general identification code for this type of identification
void SetIDType(const Char_t *t)
Nuclei reconstructed from data measured by a detector array ,.
virtual Double_t Uniform(Double_t x1, Double_t x2)