1 #include "KVDataPatch_E789_INDRANewCsICalib.h"
15 auto grp_recon = fReconstructor->GetGroupReconstructor(
n->GetGroup()->GetNumber());
17 n->SetParameter(
"DATAPATCH.E789_INDRANewCsICalib.APPLIED",
true);
18 n->SetParameter(
"DATAPATCH.E789_INDRANewCsICalib.OLD_ECODE",
n->GetECode());
19 n->SetParameter(
"DATAPATCH.E789_INDRANewCsICalib.OLD_ENERGY",
n->GetEnergy());
20 n->SetParameter(
"DATAPATCH.E789_INDRANewCsICalib.OLD_CSI_ENERGY",
n->GetParameters()->GetDoubleValue(
"INDRA.ECSI"));
23 grp_recon->CalibrateParticle(
n);
35 std::cout <<
"Correct CsI calibrations for INDRA\n\n";
37 std::cout <<
"Replaces the partial calibration of INDRA CsI detectors for rings 6-9 used in v1.12 and v1.13\n";
38 std::cout <<
"with a new calibration for all INDRA CsI detectors based on the 2nd INDRA campaign calibrations.\n\n";
40 std::cout <<
"Any particle to which this patch is applied will have parameters:\n\n";
41 std::cout <<
" DATAPATCH.E789_INDRANewCsICalib.APPLIED = true\n";
42 std::cout <<
" DATAPATCH.E789_INDRANewCsICalib.OLD_ECODE = [...]\n";
43 std::cout <<
" DATAPATCH.E789_INDRANewCsICalib.OLD_ENERGY = [...]\n";
44 std::cout <<
" DATAPATCH.E789_INDRANewCsICalib.OLD_CSI_ENERGY = [...]\n";
Apply new CsI calibration for particles detected in INDRA.
void PrintPatchInfo() const
virtual void AcceptParticleForAnalysis(KVReconstructedNucleus *) const
Nuclei reconstructed from data measured by a detector array .