KaliVeda
Toolkit for HIC analysis
KVIDSiCsI.cpp
1 /***************************************************************************
2  KVIDSiCsI.cpp - description
3  -------------------
4  begin : Fri Feb 20 2004
5  copyright : (C) 2004 by J.D. Frankland
6  email : frankland@ganil.fr
7 $Id: KVIDSiCsI.cpp,v 1.15 2006/10/19 14:32:43 franklan Exp $
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #include "KVIDSiCsI.h"
20 #include "KVIDGraph.h"
21 
24 //KVIDSiCsI
25 //
26 //Identification in Si-CsI matrices of INDRA
27 //
29 
30 
31 
35 void KVIDSiCsI::Initialize()
36 {
37  // perform standard initialization plus initialize Silicon pedestal cut "PIEDESTAL" (if defined
38  // - by default we look in the first grid, assumed to be the only one)
39 
41  fPIEDESTAL = nullptr;
42  if (GetIDGrid()) fPIEDESTAL = (KVIDCutLine*)GetIDGrid()->GetCut("PIEDESTAL");
43 }
44 
45 
46 
50 
52 {
53  // Perform identification attempt for (x,y) and check position compared to silicon pedestal
54  // (used to set idr->deltaEpedestal in order to identify neutral particles identified in CsI)
55 
57 
58  // check if silicon is in pedestal region (possible neutron)
59  if (fPIEDESTAL) {
62  }
63  else {
65  }
66 
67  return ok;
68 }
69 
70 
71 
bool Bool_t
double Double_t
Line in ID grid used to delimit regions where no identification is possible.
Definition: KVIDCutLine.h:23
Identification in Si-CsI telescopes of INDRA.
Definition: KVIDSiCsI.h:30
KVIDCutLine * fPIEDESTAL
Definition: KVIDSiCsI.h:33
Bool_t Identify(KVIdentificationResult *idr, Double_t x=-1, Double_t y=-1)
Definition: KVIDSiCsI.cpp:51
virtual Bool_t Identify(KVIdentificationResult *, Double_t x=-1., Double_t y=-1.)
virtual void Initialize(void)
Full result of one attempted particle identification.
TString Rejecting_Cut
name of cut in grid which rejected particle for identification
Int_t deltaEpedestal
special code for handling particles which give no signal in deltaE
Double_t y[n]
Double_t x[n]
ClassImp(TPyArg)