KaliVeda
Toolkit for HIC analysis
KVDataQualityAuditSelector Class Reference

Detailed Description

Dedicated analysis class for preparing data quality audits.

This analysis class is used by the data analysis task "Prepare data quality audits".

It will fill three KVDataQualityAudit objects for data read in each run:

  • one for the specific reaction X+Y@E;
  • one for the collision system X+Y (all energies E included);
  • one for the dataset.

It can be used for many different runs of different reactions of the same dataset separately, and the resulting ROOT files can be merged together using hadd.

See also
KVDataQualityAuditReportMaker
Author
John Frankland
Date
Thu Aug 5 10:29:08 2021

Definition at line 29 of file KVDataQualityAuditSelector.h.

#include <KVDataQualityAuditSelector.h>

Inheritance diagram for KVDataQualityAuditSelector:

Public Member Functions

 KVDataQualityAuditSelector ()
 
virtual ~KVDataQualityAuditSelector ()
 
virtual Bool_t Analysis ()
 
virtual void EndAnalysis ()
 
virtual void EndRun ()
 
virtual void InitAnalysis ()
 
virtual void InitRun ()
 Create audit objects if not already done. More...
 
- Public Member Functions inherited from KVReconEventSelector
 KVReconEventSelector (TTree *arg1=0)
 
virtual ~KVReconEventSelector ()
 
KVDBRunGetCurrentRun () const
 
KVReconstructedEventGetEvent () const
 
Int_t GetEventNumber ()
 
void Init (TTree *tree)
 When using PROOF, need to set tree pointer in KVDataAnalyser. More...
 
void SetCurrentRun (KVDBRun *r)
 
- Public Member Functions inherited from KVEventSelector
 KVEventSelector (TTree *=0)
 
KVVarGlobAddGV (const Char_t *class_name, const Char_t *name)
 
void AddGV (KVVarGlob *vg)
 
KVGVListAddGVList (const KVString &list_name, const KVParticleCondition &selection=KVParticleCondition())
 
template<typename HistoType , typename... Args>
HistoType * AddHisto (Args &&... args)
 
void AddHisto (TH1 *histo)
 
TTree * AddTree (const TString &name, const TString &title="")
 
void AddTree (TTree *tree)
 
virtual void Begin (TTree *tree)
 
Bool_t CreateTreeFile (const Char_t *filename="")
 
void FillHisto (const Char_t *sname, const Char_t *label, Double_t weight=1)
 
void FillHisto (const Char_t *sname, Double_t one, Double_t two=1, Double_t three=1, Double_t four=1)
 
void FillTree (const Char_t *tree_name="")
 
const Char_t * GetBranchName () const
 
virtual Int_t GetEntry (Long64_t entry, Int_t getall=0)
 
KVEventGetEvent () const
 
Int_t GetEventNumber () const
 
KVEventGetFriendEvent () const
 
Int_t GetFriendTreeEntry (Long64_t entry, Int_t getall=0)
 
KVVarGlobGetGV (const Char_t *name) const
 
KVGVListGetGVList (const KVString &list_name="default")
 
const KVGVListGetGVList (const KVString &list_name="default") const
 
TH1 * GetHisto (const Char_t *name) const
 
const KVHashListGetHistoList () const
 
TString GetOpt (const Char_t *option) const
 
virtual TList * GetOutputList () const
 
TTree * GetTree (const Char_t *name) const
 
const KVHashListGetTreeList () const
 GetTreeList. More...
 
Bool_t IsOptGiven (const Char_t *option)
 
virtual Bool_t Notify ()
 
virtual Bool_t Process (Long64_t entry)
 
virtual void SaveHistos (const Char_t *="", Option_t *="recreate", Bool_t=kFALSE)
 
virtual void SetAdditionalBranchAddress ()
 
void SetBranchName (const Char_t *n)
 
void SetEventsReadInterval (Long64_t N)
 
virtual void SetInputList (TList *input)
 
void SetJobOutputFileName (const TString &filename)
 
virtual void SetObject (TObject *obj)
 
void SetOpt (const Char_t *option, const Char_t *value)
 
void SetParticleConditions (const KVParticleCondition &cond)
 
void SetTriggerConditionsForRun (int run)
 
virtual void SlaveBegin (TTree *tree)
 
virtual void SlaveTerminate ()
 
virtual void Terminate ()
 
void UnsetOpt (const Char_t *opt)
 
virtual Int_t Version () const
 

Private Attributes

KVDataQualityAuditaudit_ds {nullptr}
 
KVDataQualityAuditaudit_reac {nullptr}
 
KVDataQualityAuditaudit_sys {nullptr}
 

Additional Inherited Members

- Static Public Member Functions inherited from KVReconEventSelector
static void Make (const Char_t *kvsname)
 

Constructor & Destructor Documentation

◆ KVDataQualityAuditSelector()

KVDataQualityAuditSelector::KVDataQualityAuditSelector ( )
inline

Definition at line 35 of file KVDataQualityAuditSelector.h.

◆ ~KVDataQualityAuditSelector()

virtual KVDataQualityAuditSelector::~KVDataQualityAuditSelector ( )
inlinevirtual

Definition at line 36 of file KVDataQualityAuditSelector.h.

Member Function Documentation

◆ Analysis()

Bool_t KVDataQualityAuditSelector::Analysis ( void  )
virtual

Reimplemented from KVEventSelector.

Definition at line 23 of file KVDataQualityAuditSelector.cpp.

◆ EndAnalysis()

void KVDataQualityAuditSelector::EndAnalysis ( )
virtual

Reimplemented from KVEventSelector.

Definition at line 38 of file KVDataQualityAuditSelector.cpp.

◆ EndRun()

virtual void KVDataQualityAuditSelector::EndRun ( )
inlinevirtual

Reimplemented from KVEventSelector.

Definition at line 39 of file KVDataQualityAuditSelector.h.

◆ InitAnalysis()

virtual void KVDataQualityAuditSelector::InitAnalysis ( )
inlinevirtual

Reimplemented from KVEventSelector.

Definition at line 40 of file KVDataQualityAuditSelector.h.

◆ InitRun()

void KVDataQualityAuditSelector::InitRun ( void  )
virtual

Create audit objects if not already done.

Reimplemented from KVEventSelector.

Reimplemented in KVDataQualityAuditSelector_E818, and KVDataQualityAuditSelector_E789.

Definition at line 10 of file KVDataQualityAuditSelector.cpp.

Member Data Documentation

◆ audit_ds

KVDataQualityAudit* KVDataQualityAuditSelector::audit_ds {nullptr}
private

Definition at line 32 of file KVDataQualityAuditSelector.h.

◆ audit_reac

KVDataQualityAudit* KVDataQualityAuditSelector::audit_reac {nullptr}
private

Definition at line 30 of file KVDataQualityAuditSelector.h.

◆ audit_sys

KVDataQualityAudit* KVDataQualityAuditSelector::audit_sys {nullptr}
private

Definition at line 31 of file KVDataQualityAuditSelector.h.