KaliVeda
Toolkit for HIC analysis
KVIDGChIoSi.h
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 
62 class KVIDGChIoSi : public KVIDZAGrid {
63 
64 private:
65 
70 
71  void init();
73 
74 public:
75 
76  enum {
77  k_BelowPunchThrough = KVIDZAGrid::kICODE10 + 1, //point to ID was below punch-through line (bruit)
78  k_BelowSeuilSi, //point to ID was left of "Seuil Si" line (bruit/arret ChIo?)
79  k_LeftOfBragg, //point to ID is between 'Seuil Si' and 'Bragg': Z given is a Zmin.
80  k_RightOfEmaxSi //point to ID has E_Si > Emax_Si i.e. codeur is saturated. Unidentifiable.
81  };
82 
83 public:
84  KVIDGChIoSi();
85  KVIDGChIoSi(TString pattern);
86  virtual ~ KVIDGChIoSi();
87 
89  {
90  return (fSeuil);
91  };
93  {
94  return (fBragg);
95  };
97  {
98  return (fPunch);
99  };
101  {
102  return (fEmaxSi);
103  };
104 
105  virtual Bool_t IsIdentifiable(Double_t x, Double_t y, TString* rejected_by = nullptr) const;
106  virtual void Identify(Double_t x, Double_t y, KVIdentificationResult*) const;
107 
108  virtual void Initialize();
109 
110  ClassDef(KVIDGChIoSi, 6) //ChIo-Si dE-E Z-identification grid
111 };
112 
113 #endif
bool Bool_t
double Double_t
#define ClassDef(name, id)
Identification grids for ChIo-Si telescopes of INDRA.
Definition: KVIDGChIoSi.h:62
@ k_BelowPunchThrough
Definition: KVIDGChIoSi.h:77
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:67
KVIDLine * GetEmaxSiLine()
Definition: KVIDGChIoSi.h:100
KVIDLine * GetSeuilSiLine()
Definition: KVIDGChIoSi.h:88
virtual ~ KVIDGChIoSi()
KVIDLine * fBragg
bragg line
Definition: KVIDGChIoSi.h:66
virtual void Initialize()
KVIDLine * fSeuil
seuil silicium line
Definition: KVIDGChIoSi.h:68
KVIDLine * fEmaxSi
saturation codeur silicon
Definition: KVIDGChIoSi.h:69
virtual Bool_t IsIdentifiable(Double_t x, Double_t y, TString *rejected_by=nullptr) const
Definition: KVIDGChIoSi.cpp:83
KVIDLine * GetPunchThroughLine()
Definition: KVIDGChIoSi.h:96
KVIDLine * GetBraggLine()
Definition: KVIDGChIoSi.h:92
Base class for lines/cuts used for particle identification in 2D data maps.
Definition: KVIDLine.h:143
Identification grid with lines corresponding to different nuclear isotopes (KVIDZALine)
Definition: KVIDZAGrid.h:66
Full result of one attempted particle identification.