SFrame 3.6
|
Class describing one input PROOF dataset for a cycle. More...
#include <core/include/SInputData.h>
Public Member Functions | |
SDataSet (const TString &n="", Double_t l=1.0) | |
Default constructor. | |
SDataSet & | operator= (const SDataSet &parent) |
Assignment operator. | |
Bool_t | operator== (const SDataSet &rh) const |
Equality operator. | |
Bool_t | operator!= (const SDataSet &rh) const |
Non-equality operator. | |
Public Attributes | |
TString | name |
Dataset name. | |
Double_t | lumi |
Luminosity of the dataset. | |
Long64_t | events |
Number of events in the dataset. |
Class describing one input PROOF dataset for a cycle.
This class is used internally to handle datasets as inputs to the analysis cycles. Use the "sframe_dset_*" functions to find out the exact names of the datasets.
Definition at line 45 of file SInputData.h.
SDataSet::SDataSet | ( | const TString & | n = "" , |
Double_t | l = 1.0 |
||
) | [inline] |
Default constructor.
Definition at line 49 of file SInputData.h.
Bool_t SDataSet::operator!= | ( | const SDataSet & | rh | ) | const |
Non-equality operator.
The non-equality operator is put in to make code such as
if( inputData1 != inputData2 ) ...
possible.
Definition at line 84 of file SInputData.cxx.
Assignment operator.
It is only necessary for some technical affairs.
Definition at line 50 of file SInputData.cxx.
References name.
Bool_t SDataSet::operator== | ( | const SDataSet & | rh | ) | const |
Equality operator.
The equality operator is put in to make code such as
if( inputData1 == inputData2 ) ...
possible.
Definition at line 66 of file SInputData.cxx.
References name.
Long64_t SDataSet::events |
Number of events in the dataset.
This property is calculated by the framework in SCycleBase::CheckInputFiles. It is used for calculating the correct weights when only a specified number of events should be processed from a dataset. (So the luminosity of the dataset has to be weighted.)
Definition at line 78 of file SInputData.h.
Double_t SDataSet::lumi |
Luminosity of the dataset.
Every dataset is assigned a luminosity. This is used to calculate the correct event weights for SCycleBase::ExecuteEvent to normalise the different Monte Carlos correctly to each other.
Definition at line 70 of file SInputData.h.
Referenced by SInputData::AddDataSet().
TString SDataSet::name |
Dataset name.
This should be the fully qualified name of the dataset.
Definition at line 63 of file SInputData.h.
Referenced by operator=(), and operator==().