KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVIDGChIoSi.h
Go to the documentation of this file.
1 /***************************************************************************
2  KVIDGChIoSi.h - description
3  -------------------
4  begin : Nov 24 2004
5  copyright : (C) 2004 by J.D. Frankland
6  email : frankland@ganil.fr
7 
8 $Id: KVIDGChIoSi.h,v 1.24 2009/04/06 15:10:09 franklan Exp $
9 ***************************************************************************/
10 
11 #ifndef KVIDGChIoSi_H
12 #define KVIDGChIoSi_H
13 
14 #include "KVIDZAGrid.h"
15 #include "TString.h"
16 
61 class KVIDGChIoSi : public KVIDZAGrid {
62 
63 private:
64 
69 
70  void init();
72 
73 public:
74 
75  enum {
76  k_BelowPunchThrough = KVIDZAGrid::kICODE10 + 1, //point to ID was below punch-through line (bruit)
77  k_BelowSeuilSi, //point to ID was left of "Seuil Si" line (bruit/arret ChIo?)
78  k_LeftOfBragg, //point to ID is between 'Seuil Si' and 'Bragg': Z given is a Zmin.
79  k_RightOfEmaxSi //point to ID has E_Si > Emax_Si i.e. codeur is saturated. Unidentifiable.
80  };
81 
82 public:
83  KVIDGChIoSi();
84  KVIDGChIoSi(TString pattern);
85  virtual ~ KVIDGChIoSi();
86 
88  {
89  return (fSeuil);
90  };
92  {
93  return (fBragg);
94  };
96  {
97  return (fPunch);
98  };
100  {
101  return (fEmaxSi);
102  };
103 
104  virtual Bool_t IsIdentifiable(Double_t x, Double_t y, TString* rejected_by = nullptr) const;
105  virtual void Identify(Double_t x, Double_t y, KVIdentificationResult*) const;
106 
107  virtual void Initialize();
108 
109  ClassDef(KVIDGChIoSi, 6) //ChIo-Si dE-E Z-identification grid
110 };
111 
112 #endif
bool Bool_t
double Double_t
#define ClassDef(name, id)
Identification grids for ChIo-Si telescopes of INDRA.
Definition: KVIDGChIoSi.h:61
@ k_BelowPunchThrough
Definition: KVIDGChIoSi.h:76
void BackwardsCompatibilityFix()
KVIDGChIoSi()
Default constructor.
Definition: KVIDGChIoSi.cpp:24
virtual void Identify(Double_t x, Double_t y, KVIdentificationResult *) const
KVIDLine * fPunch
punch-through line
Definition: KVIDGChIoSi.h:66
KVIDLine * GetEmaxSiLine()
Definition: KVIDGChIoSi.h:99
KVIDLine * GetSeuilSiLine()
Definition: KVIDGChIoSi.h:87
virtual ~ KVIDGChIoSi()
KVIDLine * fBragg
bragg line
Definition: KVIDGChIoSi.h:65
virtual void Initialize()
KVIDLine * fSeuil
seuil silicium line
Definition: KVIDGChIoSi.h:67
KVIDLine * fEmaxSi
saturation codeur silicon
Definition: KVIDGChIoSi.h:68
virtual Bool_t IsIdentifiable(Double_t x, Double_t y, TString *rejected_by=nullptr) const
Definition: KVIDGChIoSi.cpp:83
KVIDLine * GetPunchThroughLine()
Definition: KVIDGChIoSi.h:95
KVIDLine * GetBraggLine()
Definition: KVIDGChIoSi.h:91
Base class for lines/cuts used for particle identification in 2D data maps.
Definition: KVIDLine.h:142
Identification grid with lines corresponding to different nuclear isotopes (KVIDZALine)
Definition: KVIDZAGrid.h:65
Full result of one attempted particle identification.