KaliVeda
Toolkit for HIC analysis
KVINDRAGroupReconstructor.h
1 
4 #ifndef __KVINDRAGROUPRECONSTRUCTOR_H
5 #define __KVINDRAGROUPRECONSTRUCTOR_H
6 
7 #include "KVGroupReconstructor.h"
8 #include "KVINDRA.h"
9 #include "KVDataSet.h"
10 
19 
20  friend class KVINDRA;
21 
22 protected:
25  bool print_part;
27 
29  {
30  n->SetIsUncalibrated();
31  n->SetECode(KVINDRA::ECodes::BAD_CALIBRATION);
32  n->SetEnergy(0);
33  }
35  {
36  n->SetIsUncalibrated();
37  n->SetECode(KVINDRA::ECodes::NO_CALIBRATION_ATTEMPTED);
38  n->SetEnergy(0);
39  }
40 
44  {
45  return n->GetReconstructionTrajectory()->GetDetector("CSI");
46  }
47 
49 
51 
52 public:
54  {
55  if (g) theChio = g->GetDetectorByType("CI");
56  }
57 
58  void SetGroup(const KVGroup* g) override
59  {
61  theChio = g->GetDetectorByType("CI");
62  }
63 
64  void Identify() override;
65  void IdentifyParticle(KVReconstructedNucleus& PART) override;
66  void CalibrateParticle(KVReconstructedNucleus* PART) override;
67 
69  void AddCoherencyParticles() override;
71 
72  ClassDefOverride(KVINDRAGroupReconstructor, 1) //Reconstruct particles in INDRA groups
73 };
74 
75 #endif
bool Bool_t
double Double_t
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t g
Base class for detector geometry description, interface to energy-loss calculations.
Definition: KVDetector.h:160
Base class for particle reconstruction in one group of a detector array.
virtual void SetGroup(const KVGroup *g)
Group of detectors which can be treated independently of all others in array.
Definition: KVGroup.h:20
Reconstruct particles in INDRA groups.
void SetNoCalibrationStatus(KVReconstructedNucleus *n)
void CalibrateParticle(KVReconstructedNucleus *PART) override
void IdentifyParticle(KVReconstructedNucleus &PART) override
Bool_t CalculateChIoDEFromResidualEnergy(KVReconstructedNucleus *n, Double_t ERES)
double DoBeryllium8Calibration(KVReconstructedNucleus *n)
void SetGroup(const KVGroup *g) override
virtual bool DoCoherencyAnalysis(KVReconstructedNucleus &)=0
void CheckCsIEnergy(KVReconstructedNucleus *n)
KVDetector * GetCsI(KVReconstructedNucleus *n)
void CalibrateCoherencyParticle(KVReconstructedNucleus *) override
virtual void DoCalibration(KVReconstructedNucleus *)
void SetBadCalibrationStatus(KVReconstructedNucleus *n)
KVDetector * theChio
the ChIo of the group
KVINDRAGroupReconstructor(const KVGroup *g=nullptr)
INDRA multidetector array geometry.
Definition: KVINDRA.h:66
Nuclei reconstructed from data measured by a detector array .
const Int_t n