4#include "KVDataPatch_Camp1MassID.h"
6#include <KVINDRAReconNuc.h>
20 SetTitle(
Class()->GetTitle());
54 Fatal(
"ApplyToParticle",
"Cannot apply this data patch to objects of class %s, only KVINDRAReconNuc objects",
n->ClassName());
86 std::cout <<
"Correct the following errors in 1st campagn data:" << std::endl;
87 std::cout <<
" * ring=1 idcode=2 (phoswich): should have IsAMeasured=kFALSE" << std::endl;
88 std::cout <<
" * ring=2-9 idcode=3 (si-csi): should have IsAMeasured=kFALSE" << std::endl;
89 std::cout <<
" * give correct VEDA mass to all particles with IsAMeasured=kFALSE" << std::endl;
90 std::cout <<
" * etalons have many strange isotopes (with mass id upto 12~13)" << std::endl;
91 std::cout <<
" - set IsAMeasured=kFALSE for any unknown nucleus or with lifetime < 1ns" << std::endl;
Correct mass identification in 1st campaign data.
virtual void PrintPatchInfo() const
void ApplyToParticle(KVReconstructedNucleus *)
virtual ~KVDataPatch_Camp1MassID()
Destructor.
Correction to be applied to reconstructed calibrated data.
Bool_t TestIDCode(UShort_t code)
Nuclei reconstructed from data measured in the INDRA array.
UInt_t GetRingNumber(void) const
KVINDRACodes & GetCodes() const
Bool_t IsKnown(int z=-1, int a=-1) const
void SetZ(Int_t z, Char_t mt=-1)
void SetMassFormula(UChar_t mt)
Int_t GetZ() const
Return the number of proton / atomic number.
Double_t GetLifeTime(Int_t z=-1, Int_t a=-1) const
Nuclei reconstructed from data measured by a detector array .
virtual void SetAMeasured(Bool_t yes=kTRUE)
virtual Bool_t IsAMeasured() const
virtual void Fatal(const char *method, const char *msgfmt,...) const
RooCmdArg ClassName(const char *name)