KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVIDINDRACsI.h
Go to the documentation of this file.
1 /***************************************************************************
2  KVIDINDRACsI.h - description
3  -------------------
4  begin : Fri Feb 20 2004
5  copyright : (C) 2004 by J.D. Frankland
6  email : frankland@ganil.fr
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef KVIDINDRACsI_H
19 #define KVIDINDRACsI_H
20 
21 #include "KVINDRAIDTelescope.h"
28 
30 
33 
34 protected:
35  float smootherstep(float edge0, float edge1, float x);
36  float clamp(float x, float lowerlimit, float upperlimit);
37 
38 public:
39 
40  KVIDINDRACsI();
41  virtual ~ KVIDINDRACsI() {}
42 
43  void Initialize()
44  {
46  CsIGrid = GetIDGrid();
47  }
48  virtual Bool_t Identify(KVIdentificationResult*, Double_t x = -1., Double_t y = -1.);
49 
50  virtual Bool_t CanIdentify(Int_t Z, Int_t /*A*/)
51  {
56  return (Z < 5);
57  }
59 
60  ClassDef(KVIDINDRACsI, 3) //INDRA identification using CsI R-L matrices
61 };
62 
63 #endif
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
Base class for particle identification in a 2D map.
Definition: KVIDGraph.h:31
float clamp(float x, float lowerlimit, float upperlimit)
Int_t fThresMin[2][4]
min ID thresholds (smooth step)
Definition: KVIDINDRACsI.h:31
virtual ~ KVIDINDRACsI()
Definition: KVIDINDRACsI.h:41
virtual Bool_t CanIdentify(Int_t Z, Int_t)
Definition: KVIDINDRACsI.h:50
virtual Bool_t Identify(KVIdentificationResult *, Double_t x=-1., Double_t y=-1.)
Int_t fThresMax[2][4]
max ID thresholds (smooth step)
Definition: KVIDINDRACsI.h:32
void Initialize()
Definition: KVIDINDRACsI.h:43
void SetIdentificationStatus(KVReconstructedNucleus *n)
KVIDGraph * CsIGrid
telescope's grid
Definition: KVIDINDRACsI.h:29
float smootherstep(float edge0, float edge1, float x)
Scale, and clamp x to 0..1 range.
KVIDGraph * GetIDGrid()
virtual void Initialize(void)
Base class for identification telescopes of INDRA array.
Full result of one attempted particle identification.
Nuclei reconstructed from data measured by a detector array ,.