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 
18 
19  friend class KVINDRA;
20 
21 protected:
22  KVDetector* theChio;
24  bool print_part;
26 
28  {
29  n->SetIsUncalibrated();
30  n->SetECode(KVINDRA::ECodes::BAD_CALIBRATION);
31  n->SetEnergy(0);
32  }
34  {
35  n->SetIsUncalibrated();
36  n->SetECode(KVINDRA::ECodes::NO_CALIBRATION_ATTEMPTED);
37  n->SetEnergy(0);
38  }
39 
43  {
44  return n->GetReconstructionTrajectory()->GetDetector("CSI");
45  }
46 
48 
51 
52 public:
54  {
55  if (g) theChio = g->GetDetectorByType("CI");
56  }
58 
59  void SetGroup(const KVGroup* g) override
60  {
62  theChio = g->GetDetectorByType("CI");
63  }
64 
66 
67  void Identify() override;
68  void IdentifyParticle(KVReconstructedNucleus& PART) override;
69  void CalibrateParticle(KVReconstructedNucleus* PART) override;
70 
72 
74 
75  ClassDefOverride(KVINDRAGroupReconstructor, 1) //Reconstruct particles in INDRA groups
76 };
77 
78 #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
Path taken by particles through multidetector geometry.
Information on relative positions of detectors & particle trajectories.
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:19
Reconstruct particles in INDRA groups.
void SetNoCalibrationStatus(KVReconstructedNucleus *n)
void CalibrateParticle(KVReconstructedNucleus *PART) override
KVReconstructedNucleus * ReconstructTrajectory(const KVGeoDNTrajectory *traj, const KVGeoDetectorNode *node) 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