KaliVeda
Toolkit for HIC analysis
KVDataPatch_INDRA_CorrectEtalonTrajectories.h
1 
4 #ifndef __KVDATAPATCH_INDRA_CORRECTETALONTRAJECTORIES_H
5 #define __KVDATAPATCH_INDRA_CORRECTETALONTRAJECTORIES_H
6 
7 #include "KVDataPatch.h"
8 
25 
26 public:
29 
30  virtual Bool_t IsRequired(TString dataset, TString datatype, Int_t,
31  TString data_series, Int_t data_release, const TList*) override
32  {
33  KVString ds(data_series);
34  ds.Begin(".");
35  int majV = ds.Next().Atoi();
36  int minV = ds.Next().Atoi();
37  return ((dataset == "INDRA_camp1" || dataset == "INDRA_camp2" || dataset == "INDRA_camp4")
38  && (datatype == "root" || (datatype == "recon" && (majV == 1 && minV <= 15 && data_release < 3))));
39  }
40  Bool_t IsEventPatch() override
41  {
42  return kTRUE;
43  }
45  {
46  return kTRUE;
47  }
48  void ApplyToEvent(KVReconstructedEvent*) override;
50 
51  void PrintPatchInfo() const override;
52 
53  ClassDefOverride(KVDataPatch_INDRA_CorrectEtalonTrajectories, 1) //Correct angular distributions for CsI & ChIo-CsI identified particles in etalon telescopes
54 };
55 
56 #endif
int Int_t
bool Bool_t
constexpr Bool_t kTRUE
#define ClassDefOverride(name, id)
Correct angular distributions for CsI & ChIo-CsI identified particles in etalon telescopes.
virtual Bool_t IsRequired(TString dataset, TString datatype, Int_t, TString data_series, Int_t data_release, const TList *) override
Correction to be applied to reconstructed calibrated data.
Definition: KVDataPatch.h:55
Event containing KVReconstructedNucleus nuclei reconstructed from hits in detectors.
Nuclei reconstructed from data measured by a detector array .
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:73
void Begin(TString delim) const
Definition: KVString.cpp:565
KVString Next(Bool_t strip_whitespace=kFALSE) const
Definition: KVString.cpp:695
Int_t Atoi() const