KaliVeda
Toolkit for HIC analysis
|
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>
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 | |
KVDataSet * | fDataSet |
dataset chosen by user | |
KVNumberList | fFullRunList |
list of all runs for the analysis task | |
KVDBRun * | fRun |
currently analysed run | |
KVNumberList | fRunList |
list of runs to analyse | |
KVDBSystem * | fSystem |
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 KVDataAnalyser * | GetAnalyser (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 TClass * | Class () |
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 | |
KVDataSetAnalyser::KVDataSetAnalyser | ( | ) |
Default constructor.
Definition at line 22 of file KVDataSetAnalyser.cpp.
|
virtual |
Destructor.
Definition at line 40 of file KVDataSetAnalyser.cpp.
Definition at line 39 of file KVDataSetAnalyser.h.
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.
|
privatevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 124 of file KVDataSetAnalyser.cpp.
|
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.
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.
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.
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.
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.
|
privatevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 92 of file KVDataSetAnalyser.cpp.
|
privatevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 108 of file KVDataSetAnalyser.cpp.
|
inline |
Definition at line 106 of file KVDataSetAnalyser.h.
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.
|
inlinevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 155 of file KVDataSetAnalyser.h.
|
inlinevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 151 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 87 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 83 of file KVDataSetAnalyser.h.
|
virtual |
Reimplemented from KVDataAnalyser.
Definition at line 831 of file KVDataSetAnalyser.cpp.
|
inlinevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 79 of file KVDataSetAnalyser.h.
|
virtual |
Reimplemented from KVDataAnalyser.
Definition at line 819 of file KVDataSetAnalyser.cpp.
|
virtual |
Returns path to data to be analysed.
Reimplemented from KVDataAnalyser.
Definition at line 882 of file KVDataSetAnalyser.cpp.
|
inline |
Definition at line 75 of file KVDataSetAnalyser.h.
Get the run number from the filename.
Definition at line 844 of file KVDataSetAnalyser.cpp.
|
inline |
Definition at line 71 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 115 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 139 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 131 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 123 of file KVDataSetAnalyser.h.
|
inlineprivatevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 50 of file KVDataSetAnalyser.h.
|
inlineprivatevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 46 of file KVDataSetAnalyser.h.
|
privatevirtual |
Called at end of Run() after execution of analysis task.
Reimplemented from KVDataAnalyser.
Definition at line 81 of file KVDataSetAnalyser.cpp.
|
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.
|
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.
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.
|
virtual |
Reimplemented from KVDataAnalyser.
Reimplemented in KVINDRAReconDataAnalyser, and KVReconDataAnalyser.
Definition at line 50 of file KVDataSetAnalyser.cpp.
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 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.
|
privatevirtual |
Reimplemented from KVDataAnalyser.
Definition at line 768 of file KVDataSetAnalyser.cpp.
Definition at line 111 of file KVDataSetAnalyser.h.
Definition at line 135 of file KVDataSetAnalyser.h.
Definition at line 127 of file KVDataSetAnalyser.h.
Definition at line 119 of file KVDataSetAnalyser.h.
Definition at line 31 of file KVDataSetAnalyser.h.
Definition at line 95 of file KVDataSetAnalyser.h.
Definition at line 91 of file KVDataSetAnalyser.h.
|
inline |
Definition at line 101 of file KVDataSetAnalyser.h.
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.
void KVDataSetAnalyser::SetSystem | ( | KVDBSystem * | syst | ) |
Set the System used in the analysis.
Definition at line 608 of file KVDataSetAnalyser.cpp.
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.
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.
|
private |
set to kTRUE when user wants to choose a dataset
Definition at line 25 of file KVDataSetAnalyser.h.
|
private |
set to kTRUE when user wants to choose runs
Definition at line 28 of file KVDataSetAnalyser.h.
|
private |
set to kTRUE when user wants to choose a system
Definition at line 27 of file KVDataSetAnalyser.h.
|
private |
set to kTRUE when user wants to choose analysis task
Definition at line 26 of file KVDataSetAnalyser.h.
|
private |
dataset chosen by user
Definition at line 23 of file KVDataSetAnalyser.h.
|
private |
list of all runs for the analysis task
Definition at line 22 of file KVDataSetAnalyser.h.
|
private |
currently analysed run
Definition at line 20 of file KVDataSetAnalyser.h.
|
private |
list of runs to analyse
Definition at line 21 of file KVDataSetAnalyser.h.
|
private |
system chosen by user
Definition at line 19 of file KVDataSetAnalyser.h.