1 #ifndef __KVGROUPRECONSTRUCTOR_H
2 #define __KVGROUPRECONSTRUCTOR_H
6 #include "KVReconstructedEvent.h"
7 #include <unordered_map>
28 static bool fDoIdentification;
29 static bool fDoCalibration;
36 mutable int nfireddets;
39 std::unordered_map<std::string, KVIdentificationResult*> id_by_type;
43 virtual void PostReconstructionProcessing();
47 AbstractMethod(
"CalibrateCoherencyParticle(KVReconstructedNucleus*)");
67 struct particle_to_add_from_coherency_analysis {
72 Int_t first_id_result_to_copy;
73 Int_t max_id_result_index;
75 std::vector<particle_to_add_from_coherency_analysis> coherency_particles;
76 virtual void AddCoherencyParticles() {}
141 fDoIdentification =
on;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
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 KaliVeda framework.
virtual void SetNumber(UInt_t num)
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.
void SetEventNumber(UInt_t en)
int GetNFiredDets() const
void Clear(Option_t *="") override
KVGroup * GetGroup() const
KVReconstructedEvent * GetEventFragment() const
virtual void CalibrateParticle(KVReconstructedNucleus *)
static KVGroupReconstructor * Factory(const TString &plugin="", const KVGroup *g=nullptr)
void Calibrate()
Calculate and set energies of all Z-identified but uncalibrated particles in event.
static void SetDoCalibration(bool on=kTRUE)
virtual void SetGroup(const KVGroup *g)
virtual ~KVGroupReconstructor()
Destructor.
Int_t GetNIdentifiedInGroup()
static void SetDoIdentification(bool on=kTRUE)
virtual void Reconstruct()
KVGroupReconstructor(const KVGroup *g=nullptr)
Default constructor.
void SetReconEventClass(TClass *c)
Instantiate event fragment object.
Int_t GetNUnidentifiedInGroup()
Group of detectors which can be treated independently of all others in array.
Base class for all detectors or associations of detectors in array which can identify charged particl...
virtual Bool_t Identify(KVIdentificationResult *, Double_t x=-1., Double_t y=-1.)
Full result of one attempted particle identification.
Path through detector array used to reconstruct detected particle.
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
Nuclei reconstructed from data measured by a detector array .
Bool_t IsIdentified() const
virtual void SetECode(UChar_t s)
void AbstractMethod(const char *method) const