1 #ifndef __KVINDRAFILTERGROUPRECONSTRUCTOR_H
2 #define __KVINDRAFILTERGROUPRECONSTRUCTOR_H
4 #include "KVFilterGroupReconstructor.h"
22 mutable bool translate_csi_id_names =
false;
23 mutable bool check_translate =
true;
24 mutable std::unordered_map<KVIDTelescope*,TString> idcsi_name_translation;
34 if(!has_audit() || (!check_translate && !translate_csi_id_names))
37 if(std::strncmp(idt->
GetType(),
"CS",2))
42 if(!audit_has_telescope_with_name(idt->
GetName()))
48 bool old_array = idt_name.Length()>8;
53 if(audit_has_telescope_with_name(new_name))
56 auto name_to_return = new_name;
57 check_translate=
false;
58 translate_csi_id_names=
true;
60 std::unique_ptr<KVSeqCollection> csi_list(
GetGroup()->GetDetectorTypeList(
"CSI"));
61 TIter it_csi(csi_list.get());
77 idcsi_name_translation[iidt] = new_name;
79 return name_to_return;
90 check_translate=
false;
91 translate_csi_id_names=
false;
95 return idcsi_name_translation[idt];
101 if (
g) theChIo =
dynamic_cast<KVChIo*
>(
g->GetDetectorByType(
"CI"));
#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
char * Form(const char *fmt,...)
virtual const Char_t * GetType() const
Ionisation chamber detectors of the INDRA multidetector array.
Base class for detector geometry description, interface to energy-loss calculations.
virtual Int_t GetIndex() const
Reconstruct particles in group of detectors after filtering simulated events.
KVGroup * GetGroup() const
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...
KVDetector * GetDetector(UInt_t n) const
Reconstruct simulated events after filtering with INDRA.
void Reconstruct() override
KVINDRAFilterGroupReconstructor(const KVGroup *g=nullptr)
void IdentifyParticle(KVReconstructedNucleus &) override
Full result of one attempted particle identification.
KVIDTelescope * GetIDTelescope(const Char_t *name) const
Return pointer to DeltaE-E ID Telescope with "name".
Nuclei reconstructed from data measured by a detector array .
const char * GetName() const override