KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDataQualityAuditSelector_E818.cpp
1#include "KVDataQualityAuditSelector_E818.h"
2#include "KVINDRA.h"
3#include "KVFAZIA.h"
4
5
8
10{
11 // For the moment, we include all identified particles, whether or not they have calibrated energies.
12
14 gMultiDetArray->AcceptAllECodes();
15 SetParticleConditions({"ok_indra", [](const KVNucleus * N)
16 {
17 auto rnuc = dynamic_cast<const KVReconstructedNucleus*>(N);
18 // make sure KVReconstructedNucleus::IsCalibrated() corresponds to state of calibration
19 // (for INDRA, all particles have IsCalibrated()=true, even if they are not/badly calibrated)
20 if (rnuc->GetECode() > 0 && rnuc->GetECode() < 4) const_cast<KVReconstructedNucleus*>(rnuc)->SetIsCalibrated();
21 else const_cast<KVReconstructedNucleus*>(rnuc)->SetIsUncalibrated();
22 return kTRUE;
23 }
24 });
25}
26
27
29
30
31
constexpr Bool_t kTRUE
#define N
Special audit preparation for E818.
void InitRun()
For the moment, we include all identified particles, whether or not they have calibrated energies.
virtual void InitRun()
Create audit objects if not already done.
void SetParticleConditions(const KVParticleCondition &cond)
void AddHisto(TH1 *histo)
virtual void AcceptAllECodes()
Description of properties and kinematics of atomic nuclei.
Definition KVNucleus.h:126
Nuclei reconstructed from data measured by a detector array .
ClassImp(TPyArg)