19 SetTitle(
Class()->GetTitle());
43 return (dataset ==
"INDRA_camp5"
44 && (datatype ==
"root" || datatype ==
"ident")
45 && dataseries ==
"1.8" && datareleasenumber == 11);
81 if (
N->IsIdentified() &&
N->GetRingNumber() > 9 &&
N->StoppedInCsI() && (
N->GetSiLi() ||
N->GetSi75())
88 N->SetIdentification(idr,
N->GetIdentifyingTelescope());
90 N->GetParameters()->SetValue(
"KVDataPatch_CorrectEtalonModuleIDCode",
"correction applied");
96 Bool_t ok =
N->CoherencyChIoCsI(ID);
98 N->SetIdentification(&ID,
N->GetIdentifyingTelescope());
100 N->GetParameters()->SetValue(
"KVDataPatch_CorrectEtalonModuleIDCode",
"correction applied");
103 Warning(
"ApplyToParticle",
"Rustine failed for the following particle:");
104 N->GetParameters()->SetValue(
"KVDataPatch_CorrectEtalonModuleIDCode",
"correction failed");
120 std::cout <<
"Correct bad attribution of IDCode & calibration of particles stopping" << std::endl;
121 std::cout <<
"in CsI detectors behind etalon telescopes." << std::endl;
122 std::cout <<
"Gammas (IDcode=0) and light charged particles (IDcode=2) were given" << std::endl;
123 std::cout <<
"IDcode=5 due to a bug in v1.8.11 (lp:bug#1271634)" << std::endl << std::endl;
124 std::cout <<
"The status of the correction can be obtained from parameter" << std::endl;
125 std::cout <<
"KVDataPatch_CorrectEtalonModuleIDCode: " << std::endl;
126 std::cout <<
" ='correction applied' or 'correction failed'" << std::endl;
KVMultiDetArray * gMultiDetArray
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
virtual Bool_t IsType(const Char_t *typ) const
Patch for correcting bad id-code & calibration for particles stopping in CsI member of etalon modules...
virtual void ApplyToEvent(KVEvent *e)
Just used to set pointer to current event.
virtual Bool_t IsRequired(TString dataset, TString datatype, Int_t runnumber, TString dataseries, Int_t datareleasenumber, const TList *streamerinfolist)
virtual void PrintPatchInfo() const
virtual void ApplyToParticle(KVNucleus *)
virtual ~KVDataPatch_CorrectEtalonModuleIDCode()
Destructor.
KVINDRAReconEvent * fEvent
pointer to current event
Base class container for multi-particle events.
Event reconstructed from energy losses in INDRA multidetector.
Nuclei reconstructed from data measured in the INDRA array.
Full result of one attempted particle identification.
Bool_t IDattempted
=kTRUE if identification was attempted
Bool_t IDOK
general quality of identification, =kTRUE if acceptable identification made
Int_t IDcode
a general identification code for this type of identification
virtual void AcceptParticleForAnalysis(KVReconstructedNucleus *) const
Description of properties and kinematics of atomic nuclei.
virtual void Warning(const char *method, const char *msgfmt,...) const
RooCmdArg ClassName(const char *name)