KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVFAZIAReconNuc.h
Go to the documentation of this file.
1 /***************************************************************************
2  kvdetectedparticle.h - description
3  -------------------
4  begin : Thu Oct 10 2002
5  copyright : (C) 2002 by J.D. Frankland
6  email : frankland@ganil.fr
7 
8 $Id: KVFAZIAReconNuc.h,v 1.39 2009/04/03 14:28:37 franklan Exp $
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  ***************************************************************************/
19 
20 #ifndef KVFAZIAReconNuc_H
21 #define KVFAZIAReconNuc_H
22 
23 
24 #include "KVReconstructedNucleus.h"
25 
26 class KVFAZIADetector;
27 
29 
30 protected:
34 
37 
38 public:
39 
42  void init();
43  virtual ~ KVFAZIAReconNuc();
44 
45  virtual void Copy(TObject&) const;
46 
47  virtual void Clear(Option_t* t = "");
48  void Print(Option_t* option = "") const;
49  virtual void Identify();
50 
54 
55  virtual void Calibrate();
56  virtual void CalibrateSi1();
57  virtual void CalibrateSi2();
58  virtual void CalibrateCsI();
59  virtual void CalibrateCsI_Light();
60  virtual void CalibrateCsI_Heavy();
61 
63  {
70 
71  return fESI1;
72  };
74  {
80 
81  return fESI2;
82  };
84  {
86  return fECSI;
87  };
88 
89  KVFAZIADetector* Get(const Char_t* label) const;
90  KVFAZIADetector* GetSI1() const;
91  KVFAZIADetector* GetSI2() const;
92  KVFAZIADetector* GetCSI() const;
93 
94  Int_t GetIndex() const;
96 
97  Bool_t StoppedIn(const Char_t* dettype) const;
98  Bool_t StoppedInSI1() const;
99  Bool_t StoppedInSI2() const;
100  Bool_t StoppedInCSI() const;
101 
102  void ComputePSA();
103 
104  ClassDef(KVFAZIAReconNuc, 3) //Nucleus identified by FAZIA array
105 };
106 
107 #endif
int Int_t
char Char_t
bool Bool_t
float Float_t
const char Option_t
#define ClassDef(name, id)
Base class for FAZIA detectors.
virtual void CalibrateCsI_Heavy()
Int_t GetIdentifierOfStoppingDetector() const
virtual void Identify()
Bool_t StoppedIn(const Char_t *dettype) const
Returns kTRUE if particle stopped in the given detector: "SI1", "SI2" or "CSI".
KVFAZIADetector * Get(const Char_t *label) const
virtual Bool_t CoherencySiSi(KVIdentificationResult &theID)
virtual Bool_t CoherencySiCsI(KVIdentificationResult &theID)
printf("Check CSI\n");
Float_t GetEnergyCSI()
void ComputePSA()
Perform Pulse Shape Analysis for all detectors hit by this particle.
virtual ~ KVFAZIAReconNuc()
virtual void CalibrateCsI()
void init()
default initialisations
virtual void Calibrate()
virtual void Clear(Option_t *t="")
reset nucleus' properties
KVFAZIADetector * GetSI1() const
Float_t fECSI
csi contribution to energy
Bool_t StoppedInSI2() const
KVFAZIAReconNuc()
default ctor
Int_t GetIndex() const
virtual void CalibrateSi1()
virtual void Copy(TObject &) const
virtual void CalibrateCsI_Light()
Float_t GetEnergySI2()
KVFAZIADetector * GetSI2() const
Float_t GetEnergySI1()
virtual void CalibrateSi2()
KVFAZIADetector * GetCSI() const
Bool_t StoppedInCSI() const
Bool_t StoppedInSI1() const
void Print(Option_t *option="") const
Print information on particle.
Float_t fESI2
si2 contribution to energy
virtual Bool_t CoherencySi(KVIdentificationResult &theID)
Float_t fESI1
si1 contribution to energy
Full result of one attempted particle identification.
Nuclei reconstructed from data measured by a detector array .