KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVIDSiCsI.cpp
Go to the documentation of this file.
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 "KVINDRACodeMask.h"
21 #include "KVIDGraph.h"
22 
25 //KVIDSiCsI
26 //
27 //Identification in Si-CsI matrices of INDRA
28 //
30 
31 
32 
36 void KVIDSiCsI::Initialize()
37 {
38  // perform standard initialization plus initialize Silicon pedestal cut "PIEDESTAL" (if defined
39  // - by default we look in the first grid, assumed to be the only one)
40 
42  fPIEDESTAL = nullptr;
43  if (GetIDGrid()) fPIEDESTAL = (KVIDCutLine*)GetIDGrid()->GetCut("PIEDESTAL");
44 }
45 
46 
47 
51 
53 {
54  // Perform identification attempt for (x,y) and check position compared to silicon pedestal
55  // (used to set idr->deltaEpedestal in order to identify neutral particles identified in CsI)
56 
58 
59  // check if silicon is in pedestal region (possible neutron)
60  if (fPIEDESTAL) {
63  }
64  else {
66  }
67 
68  return ok;
69 }
70 
71 
72 
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
bool Bool_t
double Double_t
Line in ID grid used to delimit regions where no identification is possible.
Definition: KVIDCutLine.h:22
Identification in Si-CsI telescopes of INDRA.
Definition: KVIDSiCsI.h:29
KVIDCutLine * fPIEDESTAL
Definition: KVIDSiCsI.h:32
Bool_t Identify(KVIdentificationResult *idr, Double_t x=-1, Double_t y=-1)
Definition: KVIDSiCsI.cpp:52
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]