KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
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.
 
- 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.
 
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)
 
TTreeAddTree (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_tGetBranchName () 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
 
TH1GetHisto (const Char_t *name) const
 
const KVHashListGetHistoList () const
 
TString GetOpt (const Char_t *option) const
 
virtual TListGetOutputList () const
 
TTreeGetTree (const Char_t *name) const
 
const KVHashListGetTreeList () const
 GetTreeList.
 
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
 
- Public Member Functions inherited from TSelector
 TSelector ()
 
 ~TSelector () override
 
virtual void Abort (const char *why, EAbort what=kAbortProcess)
 
virtual EAbort GetAbort () const
 
virtual TListGetInputList () const
 
const char * GetOption () const override
 
virtual Long64_t GetStatus () const
 
virtual void ImportOutput (TList *output)
 
TClassIsA () const override
 
Bool_t Notify () override
 
virtual Bool_t ProcessCut (Long64_t)
 
virtual void ProcessFill (Long64_t)
 
virtual void ResetAbort ()
 
virtual void SetOption (const char *option)
 
virtual void SetStatus (Long64_t status)
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 
void MayNotUse (const char *method) const
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *vp)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, void *vp)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual void Print (Option_t *option="") const
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from TSelector
enum  EAbort
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from KVReconEventSelector
static void Make (const Char_t *kvsname)
 
- Static Public Member Functions inherited from TSelector
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static TSelectorGetSelector (const char *filename)
 
static Bool_t IsStandardDraw (const char *selec)
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TSelector
 kAbortFile
 
 kAbortProcess
 
 kContinue
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TSelector
EAbort fAbort
 
TListfInput
 
TObjectfObject
 
TString fOption
 
TSelectorListfOutput
 
Long64_t fStatus
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

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_E789, and KVDataQualityAuditSelector_E818.

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.