KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDataSetAnalyser Class Reference

Detailed Description

Pilots user analysis of experimental data.

Created by KVClassFactory on Tue Feb 14 12:32:06 2017 Author: John Frankland,,,

Definition at line 17 of file KVDataSetAnalyser.h.

#include <KVDataSetAnalyser.h>

Inheritance diagram for KVDataSetAnalyser:

Public Member Functions

 KVDataSetAnalyser ()
 Default constructor.
 
virtual ~KVDataSetAnalyser ()
 Destructor.
 
virtual void AddJobDescriptionList (TList *)
 
virtual void ChooseAnalysisTask ()
 
void ChooseDataSet ()
 
void ChooseDataType ()
 
void ChooseRuns (KVDBSystem *system=nullptr, const Char_t *data_type="")
 
void ChooseSystem (const Char_t *data_type="")
 
void ClearRunList ()
 
TString ExpandAutoBatchName (const Char_t *format) const
 
KVDBRunGetAnalysedRun () const
 
KVDBSystemGetAnalysedSystem () const
 
const KVDataSetGetDataSet () const
 
const KVNumberListGetFullRunList () const
 
const KV2BodyGetKinematics () const
 
Int_t GetNumberOfFilesToAnalyse () const
 
const Char_tGetRecognisedAutoBatchNameKeywords () const
 
KVString GetRootDirectoryOfDataToAnalyse () const
 Returns path to data to be analysed.
 
const KVNumberListGetRunList () const
 
Int_t GetRunNumberFromFileName (const Char_t *)
 Get the run number from the filename.
 
const KVDBSystemGetSystem () const
 
Bool_t IsChooseDataSet () const
 
Bool_t IsChooseRuns () const
 
Bool_t IsChooseSystem () const
 
Bool_t IsChooseTask () const
 
Bool_t ReadBatchEnvFile (const TString &filename)
 
void Reset ()
 
void SetChooseDataSet (Bool_t yes=kTRUE)
 
void SetChooseRuns (Bool_t yes=kTRUE)
 
void SetChooseSystem (Bool_t yes=kTRUE)
 
void SetChooseTask (Bool_t yes=kTRUE)
 
void SetDataSet (const Char_t *name)
 
void SetDataSet (KVDataSet *ds)
 
void SetFullRunList (const KVNumberList &nl)
 
void SetRuns (const KVNumberList &nl, Bool_t check=kTRUE)
 
void SetSystem (KVDBSystem *syst)
 Set the System used in the analysis.
 
TString SystemBatchName () const
 
void WriteBatchEnvFile (const TString &jobname, Bool_t save=kTRUE)
 
- Public Member Functions inherited from KVDataAnalyser
 KVDataAnalyser ()
 Default constructor.
 
virtual ~KVDataAnalyser ()
 Default destructor.
 
Bool_t BatchMode () const
 
virtual Bool_t CheckStatusUpdateInterval (Long64_t nevents) const
 
virtual Bool_t CheckTaskVariables ()
 
void ChooseNbEventToRead ()
 Ask user to set number of events to read.
 
void ChooseRunningMode ()
 
void ChooseUserClass ()
 Choose the user's analysis class.
 
void DeleteBatchStatusFile () const
 Delete batch status file (and backup - '.bak') for batch job.
 
void DoStatusUpdate (Long64_t nevents) const
 Print infos on events treated, disk usage, memory usage.
 
Bool_t DoUserClassFilesExist ()
 
virtual TTreeGetAnalysedTree () const
 
KVDataAnalysisTaskGetAnalysisTask () const
 
const Char_tGetBatchName ()
 
const Char_tGetBatchStatusFileName () const
 Returns full path to file used to store status of running batch jobs.
 
virtual const KVBatchSystemGetBatchSystem ()
 
const KVStringGetDataType () const
 
const Char_tGetLaunchDirectory () const
 
Long64_t GetNbEventToRead (void) const
 
KVDataAnalyserGetParent () const
 
TString GetPathToFileInLaunchDirectory (const TString &) const
 
EProofMode GetProofMode () const
 
Double_t GetStatusUpdateInterval () const
 
virtual Long64_t GetTotalEntriesToRead () const
 
const Char_tGetUserClass ()
 
const KVStringGetUserClassDec () const
 
const KVStringGetUserClassImp () const
 
const KVStringGetUserClassOptions () const
 
const KVStringGetUserIncludes () const
 
const KVStringGetUserLibraries () const
 
Bool_t IsMenus () const
 
Bool_t IsQuit () const
 
Bool_t IsSubmit () const
 
Bool_t IsUserClassValid () const
 
virtual void postAnalysis ()
 
virtual void postEndAnalysis ()
 
virtual void postEndRun ()
 
virtual void postInitAnalysis ()
 
virtual void postInitRun ()
 
virtual void preAnalysis ()
 
virtual void preEndAnalysis ()
 
virtual void preEndRun ()
 
virtual void preInitAnalysis ()
 
virtual void preInitRun ()
 
virtual void RegisterUserClass (TObject *)
 
virtual void Run ()
 Check all task variables, then run analyser.
 
virtual void RunMenus ()
 Run data analyser in menu-driven mode.
 
Bool_t RunningInLaunchDirectory ()
 
virtual void SetAnalysedTree (TTree *)
 
void SetAnalysisTask (KVDataAnalysisTask *at)
 
virtual void SetAuxFileList (TList *)
 
void SetBatchMode (Bool_t on=kTRUE)
 
void SetBatchName (const Char_t *batchname)
 
void SetBatchSystem (KVBatchSystem *bs)
 
void SetDataType (const Char_t *name)
 
virtual void SetFileList (TList *)
 
void SetMenus (Bool_t on=kTRUE)
 
void SetNbEventToRead (Long64_t nb=0)
 
void SetParent (KVDataAnalyser *da)
 
void SetProofMode (EProofMode e)
 
void SetQuit (Bool_t yes=kTRUE)
 
void SetStatusUpdateInterval (double t)
 
void SetSubmit (Bool_t yes=kTRUE)
 
virtual void SetTriggerConditionsForRun (int)
 
void SetUserClass (const Char_t *kvs, Bool_t check=kTRUE)
 
void SetUserClassOptions (const Char_t *o="")
 
void SetUserIncludes (const Char_t *incDirs=0)
 
void SetUserLibraries (const Char_t *libs=0)
 
virtual void SubmitTask ()
 
void UpdateBatchStatusFile (Int_t totev, Int_t evread, TString disk) const
 Update infos in batch status file.
 
void UseBaseClassSubmitTask ()
 
void WriteBatchInfo (TTree *)
 
- 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 Option_tGetOption () 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)
 
virtual TClassIsA () const
 
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
 
virtual Bool_t Notify ()
 
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)
 
virtual void Streamer (TBuffer &)
 
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 Member Functions

void _set_dataset_pointer (KVDataSet *ds)
 
Bool_t CheckWhatToAnalyseAndHow ()
 
void ChooseWhatToAnalyse ()
 
void ChooseWhatToDo ()
 
Bool_t NeedToChooseWhatToAnalyse () const
 
Bool_t NeedToChooseWhatToDo () const
 
virtual void PostRunReset ()
 Called at end of Run() after execution of analysis task.
 
virtual Bool_t PreSubmitCheck ()
 
virtual KVNumberList PrintAvailableRuns (KVString &datatype)
 
virtual void set_dataset_name (const Char_t *name)
 
virtual void set_dataset_pointer (KVDataSet *ds)
 
virtual void set_up_analyser_for_task (KVDataAnalyser *the_analyser)
 
void SetCurrentRun (KVDBRun *r)
 

Private Attributes

Bool_t fChoozDataSet
 set to kTRUE when user wants to choose a dataset
 
Bool_t fChoozRuns
 set to kTRUE when user wants to choose runs
 
Bool_t fChoozSystem
 set to kTRUE when user wants to choose a system
 
Bool_t fChoozTask
 set to kTRUE when user wants to choose analysis task
 
KVDataSetfDataSet
 dataset chosen by user
 
KVNumberList fFullRunList
 list of all runs for the analysis task
 
KVDBRunfRun
 currently analysed run
 
KVNumberList fRunList
 list of runs to analyse
 
KVDBSystemfSystem
 system chosen by user
 

Additional Inherited Members

- Public Types inherited from KVDataAnalyser
enum  EProofMode { None , Lite , Proof }
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from KVDataAnalyser
static Bool_t AbortProcessingLoop ()
 
static KVDataAnalyserGetAnalyser (const Char_t *plugin)
 
static Bool_t IsRunningBatchAnalysis ()
 
static void RunAnalyser (const Char_t *plugin="")
 
static void SetAbortProcessingLoop (Bool_t now=kTRUE)
 
- 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 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 TObject
 kOnlyPrepStep
 

Constructor & Destructor Documentation

◆ KVDataSetAnalyser()

KVDataSetAnalyser::KVDataSetAnalyser ( )

Default constructor.

Definition at line 22 of file KVDataSetAnalyser.cpp.

◆ ~KVDataSetAnalyser()

KVDataSetAnalyser::~KVDataSetAnalyser ( )
virtual

Destructor.

Definition at line 40 of file KVDataSetAnalyser.cpp.

Member Function Documentation

◆ _set_dataset_pointer()

void KVDataSetAnalyser::_set_dataset_pointer ( KVDataSet ds)
inlineprivate

Definition at line 39 of file KVDataSetAnalyser.h.

◆ AddJobDescriptionList()

void KVDataSetAnalyser::AddJobDescriptionList ( TList l)
virtual

Retrieve a KVNameValueList called "JobDescriptionList" from the TList created with KVDataAnalyser::AddJobDescriptionList(l). The parameters in the list describe the properties of the current job. The TList pointer could be, for example, the address of the TSelector::fInput list used by PROOF.

Reimplemented from KVDataAnalyser.

Definition at line 862 of file KVDataSetAnalyser.cpp.

◆ CheckWhatToAnalyseAndHow()

Bool_t KVDataSetAnalyser::CheckWhatToAnalyseAndHow ( )
privatevirtual

Reimplemented from KVDataAnalyser.

Definition at line 124 of file KVDataSetAnalyser.cpp.

◆ ChooseAnalysisTask()

void KVDataSetAnalyser::ChooseAnalysisTask ( )
virtual

Print list of all possible data analysis tasks for the chosen data set and invite the user to choose one of them. If only one task available, it is automatically selected not possible in batch mode

Reimplemented in KVDataTransfer.

Definition at line 253 of file KVDataSetAnalyser.cpp.

◆ ChooseDataSet()

void KVDataSetAnalyser::ChooseDataSet ( )

Print list of available datasets and get user to choose one A pointer to the chosen dataset can be retrieved with GetDataSet() not possible in batch mode

Definition at line 156 of file KVDataSetAnalyser.cpp.

◆ ChooseDataType()

void KVDataSetAnalyser::ChooseDataType ( )

Print list of available types of data for the chosen dataset and get user to choose one. not possible in batch mode

Definition at line 212 of file KVDataSetAnalyser.cpp.

◆ ChooseRuns()

void KVDataSetAnalyser::ChooseRuns ( KVDBSystem system = nullptr,
const Char_t data_type = "" 
)

Print out list of available runs for chosen dataset, task/data type and system and invite user to choose from among them If 'data_type' is not given, we assume that ChooseAnalysisTask was previously called and we use the prerequisite data type for the chosen task (fTask->GetPrereq()). If 'system' is not given, we assume ChooseSystem was previously called and use the internally-stored value of that choice (fSystem). not possible in batch mode

Definition at line 419 of file KVDataSetAnalyser.cpp.

◆ ChooseSystem()

void KVDataSetAnalyser::ChooseSystem ( const Char_t data_type = "")

Print out list of all available systems for the given data type of the chosen dataset and invite the user to choose one. Return pointer to chosen system. If 'data_type' is not given, we assume that ChooseAnalysisTask was previously called and we use the prerequisite data type for the chosen task (fTask->GetPrereq()). The available system list is deduced from the 'availableruns' file corresponding to the chosen dataset repository subdirectory and the chosen data type (="raw", "recon", "ident", "root"). not possible in batch mode

Definition at line 314 of file KVDataSetAnalyser.cpp.

◆ ChooseWhatToAnalyse()

void KVDataSetAnalyser::ChooseWhatToAnalyse ( )
privatevirtual

Reimplemented from KVDataAnalyser.

Definition at line 92 of file KVDataSetAnalyser.cpp.

◆ ChooseWhatToDo()

void KVDataSetAnalyser::ChooseWhatToDo ( )
privatevirtual

Reimplemented from KVDataAnalyser.

Definition at line 108 of file KVDataSetAnalyser.cpp.

◆ ClearRunList()

void KVDataSetAnalyser::ClearRunList ( )
inline

Definition at line 106 of file KVDataSetAnalyser.h.

◆ ExpandAutoBatchName()

TString KVDataSetAnalyser::ExpandAutoBatchName ( const Char_t format) const
virtual

Replace any 'special' symbols in "format" with their current values

$System : name of system to be analysed

Reimplemented from KVDataAnalyser.

Definition at line 804 of file KVDataSetAnalyser.cpp.

◆ GetAnalysedRun()

KVDBRun * KVDataSetAnalyser::GetAnalysedRun ( ) const
inlinevirtual

Reimplemented from KVDataAnalyser.

Definition at line 155 of file KVDataSetAnalyser.h.

◆ GetAnalysedSystem()

KVDBSystem * KVDataSetAnalyser::GetAnalysedSystem ( ) const
inlinevirtual

Reimplemented from KVDataAnalyser.

Definition at line 151 of file KVDataSetAnalyser.h.

◆ GetDataSet()

const KVDataSet * KVDataSetAnalyser::GetDataSet ( ) const
inline

Definition at line 87 of file KVDataSetAnalyser.h.

◆ GetFullRunList()

const KVNumberList & KVDataSetAnalyser::GetFullRunList ( ) const
inline

Definition at line 83 of file KVDataSetAnalyser.h.

◆ GetKinematics()

const KV2Body * KVDataSetAnalyser::GetKinematics ( ) const
virtual
Returns
pointer to KV2Body object describing kinematics of analysed system if defined

Reimplemented from KVDataAnalyser.

Definition at line 831 of file KVDataSetAnalyser.cpp.

◆ GetNumberOfFilesToAnalyse()

Int_t KVDataSetAnalyser::GetNumberOfFilesToAnalyse ( ) const
inlinevirtual

Reimplemented from KVDataAnalyser.

Definition at line 79 of file KVDataSetAnalyser.h.

◆ GetRecognisedAutoBatchNameKeywords()

const Char_t * KVDataSetAnalyser::GetRecognisedAutoBatchNameKeywords ( ) const
virtual

Reimplemented from KVDataAnalyser.

Definition at line 819 of file KVDataSetAnalyser.cpp.

◆ GetRootDirectoryOfDataToAnalyse()

KVString KVDataSetAnalyser::GetRootDirectoryOfDataToAnalyse ( ) const
virtual

Returns path to data to be analysed.

Reimplemented from KVDataAnalyser.

Definition at line 882 of file KVDataSetAnalyser.cpp.

◆ GetRunList()

const KVNumberList & KVDataSetAnalyser::GetRunList ( ) const
inline

Definition at line 75 of file KVDataSetAnalyser.h.

◆ GetRunNumberFromFileName()

Int_t KVDataSetAnalyser::GetRunNumberFromFileName ( const Char_t fileName)

Get the run number from the filename.

Definition at line 844 of file KVDataSetAnalyser.cpp.

◆ GetSystem()

const KVDBSystem * KVDataSetAnalyser::GetSystem ( ) const
inline

Definition at line 71 of file KVDataSetAnalyser.h.

◆ IsChooseDataSet()

Bool_t KVDataSetAnalyser::IsChooseDataSet ( ) const
inline

Definition at line 115 of file KVDataSetAnalyser.h.

◆ IsChooseRuns()

Bool_t KVDataSetAnalyser::IsChooseRuns ( ) const
inline

Definition at line 139 of file KVDataSetAnalyser.h.

◆ IsChooseSystem()

Bool_t KVDataSetAnalyser::IsChooseSystem ( ) const
inline

Definition at line 131 of file KVDataSetAnalyser.h.

◆ IsChooseTask()

Bool_t KVDataSetAnalyser::IsChooseTask ( ) const
inline

Definition at line 123 of file KVDataSetAnalyser.h.

◆ NeedToChooseWhatToAnalyse()

Bool_t KVDataSetAnalyser::NeedToChooseWhatToAnalyse ( ) const
inlineprivatevirtual

Reimplemented from KVDataAnalyser.

Definition at line 50 of file KVDataSetAnalyser.h.

◆ NeedToChooseWhatToDo()

Bool_t KVDataSetAnalyser::NeedToChooseWhatToDo ( ) const
inlineprivatevirtual

Reimplemented from KVDataAnalyser.

Definition at line 46 of file KVDataSetAnalyser.h.

◆ PostRunReset()

void KVDataSetAnalyser::PostRunReset ( )
privatevirtual

Called at end of Run() after execution of analysis task.

Reimplemented from KVDataAnalyser.

Definition at line 81 of file KVDataSetAnalyser.cpp.

◆ PreSubmitCheck()

Bool_t KVDataSetAnalyser::PreSubmitCheck ( )
privatevirtual

Called just before SubmitTask() in Run() Checks if remote repository is connected if necessary

Reimplemented from KVDataAnalyser.

Definition at line 68 of file KVDataSetAnalyser.cpp.

◆ PrintAvailableRuns()

KVNumberList KVDataSetAnalyser::PrintAvailableRuns ( KVString datatype)
privatevirtual

Prints list of available runs for selected dataset, data type/analysis task, and system Returns list containing all run numbers

Reimplemented in KVINDRADstToRootTransfert, KVINDRAGeneDataAnalyser, and KVINDRAReconDataAnalyser.

Definition at line 578 of file KVDataSetAnalyser.cpp.

◆ ReadBatchEnvFile()

Bool_t KVDataSetAnalyser::ReadBatchEnvFile ( const TString filename)
virtual

Read the batch env file "filename" and initialise the analysis task using the informations in the file Returns kTRUE if all goes well

Reimplemented from KVDataAnalyser.

Definition at line 705 of file KVDataSetAnalyser.cpp.

◆ Reset()

void KVDataSetAnalyser::Reset ( )
virtual

Reimplemented from KVDataAnalyser.

Reimplemented in KVINDRAReconDataAnalyser, and KVReconDataAnalyser.

Definition at line 50 of file KVDataSetAnalyser.cpp.

◆ set_dataset_name()

void KVDataSetAnalyser::set_dataset_name ( const Char_t name)
privatevirtual

Set dataset to be analysed. If 'name' is not the name of a valid and available dataset in the currently active data repository, gDataRepository, an error message is printed.

Reimplemented in KVDataTransfer.

Definition at line 556 of file KVDataSetAnalyser.cpp.

◆ set_dataset_pointer()

void KVDataSetAnalyser::set_dataset_pointer ( KVDataSet ds)
privatevirtual

Set dataset to be used for analysis. If the chosen dataset is not available, an error message is printed Only available datasets can be analysed Moreover, only datasets in the currently active data repository, gDataRepository, can be analysed. This is also checked. allow user to reset dataset pointer to 0

Reimplemented in KVDataTransfer.

Definition at line 518 of file KVDataSetAnalyser.cpp.

◆ set_up_analyser_for_task()

void KVDataSetAnalyser::set_up_analyser_for_task ( KVDataAnalyser the_analyser)
privatevirtual

Reimplemented from KVDataAnalyser.

Definition at line 768 of file KVDataSetAnalyser.cpp.

◆ SetChooseDataSet()

void KVDataSetAnalyser::SetChooseDataSet ( Bool_t  yes = kTRUE)
inline

Definition at line 111 of file KVDataSetAnalyser.h.

◆ SetChooseRuns()

void KVDataSetAnalyser::SetChooseRuns ( Bool_t  yes = kTRUE)
inline

Definition at line 135 of file KVDataSetAnalyser.h.

◆ SetChooseSystem()

void KVDataSetAnalyser::SetChooseSystem ( Bool_t  yes = kTRUE)
inline

Definition at line 127 of file KVDataSetAnalyser.h.

◆ SetChooseTask()

void KVDataSetAnalyser::SetChooseTask ( Bool_t  yes = kTRUE)
inline

Definition at line 119 of file KVDataSetAnalyser.h.

◆ SetCurrentRun()

void KVDataSetAnalyser::SetCurrentRun ( KVDBRun r)
inlineprivate

Definition at line 31 of file KVDataSetAnalyser.h.

◆ SetDataSet() [1/2]

void KVDataSetAnalyser::SetDataSet ( const Char_t name)
inline

Definition at line 95 of file KVDataSetAnalyser.h.

◆ SetDataSet() [2/2]

void KVDataSetAnalyser::SetDataSet ( KVDataSet ds)
inline

Definition at line 91 of file KVDataSetAnalyser.h.

◆ SetFullRunList()

void KVDataSetAnalyser::SetFullRunList ( const KVNumberList nl)
inline

Definition at line 101 of file KVDataSetAnalyser.h.

◆ SetRuns()

void KVDataSetAnalyser::SetRuns ( const KVNumberList nl,
Bool_t  check = kTRUE 
)

Sets the run list If check=kTRUE (default), we check that the runs are available, and if they belong to different systems we print a warning message

Definition at line 623 of file KVDataSetAnalyser.cpp.

◆ SetSystem()

void KVDataSetAnalyser::SetSystem ( KVDBSystem syst)

Set the System used in the analysis.

Definition at line 608 of file KVDataSetAnalyser.cpp.

◆ SystemBatchName()

TString KVDataSetAnalyser::SystemBatchName ( ) const

Private method used by ExpandAutoBatchName to build name for current system to be used in batch job name Also used by KVDataAnalysisLauncher::SystemBatchName for batch job names and for writing resources in .KVDataAnalysisGUIrc file

Definition at line 785 of file KVDataSetAnalyser.cpp.

◆ WriteBatchEnvFile()

void KVDataSetAnalyser::WriteBatchEnvFile ( const TString jobname,
Bool_t  save = kTRUE 
)
virtual

Save (in the TEnv fBatchEnv) all necessary information on analysis task which can be used to execute it later (i.e. when batch processing system executes the job). If save=kTRUE (default), write the information in a file whose name is given by ".jobname" where 'jobname' is the name of the job as given to the batch system.

Reimplemented from KVDataAnalyser.

Reimplemented in KVINDRAReconDataAnalyser, and KVOnlineReconDataAnalyser.

Definition at line 681 of file KVDataSetAnalyser.cpp.

Member Data Documentation

◆ fChoozDataSet

Bool_t KVDataSetAnalyser::fChoozDataSet
private

set to kTRUE when user wants to choose a dataset

Definition at line 25 of file KVDataSetAnalyser.h.

◆ fChoozRuns

Bool_t KVDataSetAnalyser::fChoozRuns
private

set to kTRUE when user wants to choose runs

Definition at line 28 of file KVDataSetAnalyser.h.

◆ fChoozSystem

Bool_t KVDataSetAnalyser::fChoozSystem
private

set to kTRUE when user wants to choose a system

Definition at line 27 of file KVDataSetAnalyser.h.

◆ fChoozTask

Bool_t KVDataSetAnalyser::fChoozTask
private

set to kTRUE when user wants to choose analysis task

Definition at line 26 of file KVDataSetAnalyser.h.

◆ fDataSet

KVDataSet* KVDataSetAnalyser::fDataSet
private

dataset chosen by user

Definition at line 23 of file KVDataSetAnalyser.h.

◆ fFullRunList

KVNumberList KVDataSetAnalyser::fFullRunList
private

list of all runs for the analysis task

Definition at line 22 of file KVDataSetAnalyser.h.

◆ fRun

KVDBRun* KVDataSetAnalyser::fRun
private

currently analysed run

Definition at line 20 of file KVDataSetAnalyser.h.

◆ fRunList

KVNumberList KVDataSetAnalyser::fRunList
private

list of runs to analyse

Definition at line 21 of file KVDataSetAnalyser.h.

◆ fSystem

KVDBSystem* KVDataSetAnalyser::fSystem
private

system chosen by user

Definition at line 19 of file KVDataSetAnalyser.h.