1#ifndef __KVDATAPATCH_E789_FAZIABADCSICALIBFRAGMENTS_H
2#define __KVDATAPATCH_E789_FAZIABADCSICALIBFRAGMENTS_H
4#include "KVDataPatch.h"
5#include "KVReconstructedNucleus.h"
40 return (dataset ==
"INDRAFAZIA.E789") && (datatype ==
"recon") && (dataseries ==
"1.12") && (datareleasenumber == 5);
71 double ecsi, esi1, esi2;
79 KVDetector si1si2(
"Si", si1->GetThickness() + si2->GetThickness());
82 rnuc->
SetParameter(
"DATAPATCH.E789_FAZIABadCsICalibFragments.APPLIED",
true);
#define ClassDef(name, id)
virtual Bool_t IsType(const Char_t *typ) const
Correct mistaken use of Z=2 CsI calib for all fragments in FAZIA.
KVDataPatch_E789_FAZIABadCsICalibFragments()
void ApplyToParticle(KVReconstructedNucleus *rnuc)
Bool_t IsRequired(TString dataset, TString datatype, Int_t, TString dataseries, Int_t datareleasenumber, const TList *)
void PrintPatchInfo() const
void ApplyToEvent(KVReconstructedEvent *)
bool correct_ecsi(KVReconstructedNucleus *rnuc)
Correction to be applied to reconstructed calibrated data.
Base class for detector geometry description.
@ SOME_ENERGY_LOSSES_CALCULATED
particle calibration OK, with some detector energies calculated
virtual Double_t GetEResFromDeltaE(Int_t Z, Int_t A, Double_t dE=-1.0, enum SolType type=kEmax)
Double_t GetDoubleValue(const Char_t *name) const
Int_t GetZ() const
Return the number of proton / atomic number.
void SetParameter(const Char_t *name, ValType value) const
KVNameValueList * GetParameters() const
void SetEnergy(Double_t e)
KVDetector * GetDetector(const TString &label) const
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
Nuclei reconstructed from data measured by a detector array .
virtual Bool_t IsZMeasured() const
Bool_t InArray(const TString &) const
Returns kTRUE if particle was detected in array with given name.
KVDetector * GetStoppingDetector() const
void SetDetector(int i, KVDetector *);
Bool_t IsCalibrated() const
const KVReconNucTrajectory * GetReconstructionTrajectory() const
virtual void SetECode(UChar_t s)
virtual void SetTitle(const char *title="")
const char * GetTitle() const override
virtual void SetName(const char *name)
virtual const char * ClassName() const