KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDataPatch_E789_FAZIASI1PunchThroughCCode5.h
1#ifndef __KVDATAPATCH_E789_FAZIASI1PUNCHTHROUGHCCODE5_H
2#define __KVDATAPATCH_E789_FAZIASI1PUNCHTHROUGHCCODE5_H
3
4#include "KVDataPatch.h"
5#include "KVReconstructedNucleus.h"
6
25public:
33 TString dataseries, Int_t datareleasenumber, const TList*)
34 {
35 return (dataset == "INDRAFAZIA.E789") && (datatype == "recon") && (dataseries == "1.12") && (datareleasenumber == 5);
36 }
37
39 {
40 return false;
41 }
43 {
44 return true;
45 }
48 {
49 if (rnuc->InArray("FAZIA") && rnuc->GetParameters()->HasIntParameter("CCode")
50 && (rnuc->GetParameters()->GetIntValue("CCode") == 5)) {
52 auto sipsa_idtel = (KVIDTelescope*)rnuc->GetReconstructionTrajectory()->GetIDTelescopes()->Last();
53 idr->Zident = false;
54 idr->Aident = false;
55 idr->SetComment("particle partially identified by pulse shape analysis in SI1, although it is punching through (no SI2 signal or SI1-SI2 id)");
56 rnuc->SetIdentification(idr, sipsa_idtel);
57 }
58 }
59 void PrintPatchInfo() const;
60
61 ClassDef(KVDataPatch_E789_FAZIASI1PunchThroughCCode5, 1) //Data patch to correct E789 data generated with 1.12/05
62};
63
64#endif
int Int_t
bool Bool_t
#define ClassDef(name, id)
Data patch to correct E789 data generated with 1.12/05.
Bool_t IsRequired(TString dataset, TString datatype, Int_t, TString dataseries, Int_t datareleasenumber, const TList *)
Correction to be applied to reconstructed calibrated data.
Definition KVDataPatch.h:55
const KVSeqCollection * GetIDTelescopes() const
Base class for all detectors or associations of detectors in array which can identify charged particl...
Int_t GetIntValue(const Char_t *name) const
Bool_t HasIntParameter(const Char_t *name) const
KVNameValueList * GetParameters() const
Definition KVParticle.h:815
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
Nuclei reconstructed from data measured by a detector array .
KVIdentificationResult * GetIdentificationResult(Int_t i)
Bool_t InArray(const TString &) const
Returns kTRUE if particle was detected in array with given name.
Int_t GetNumberOfIdentificationResults() const
void SetIdentification(KVIdentificationResult *, KVIDTelescope *)
const KVReconNucTrajectory * GetReconstructionTrajectory() const
virtual TObject * Last() const
virtual void SetTitle(const char *title="")
const char * GetTitle() const override
static TClass * Class()
virtual void SetName(const char *name)
virtual const char * ClassName() const