This class contains the known meta-data names. More...
#include <MetaFields.h>
Static Public Attributes | |
static const std::string | gridName = "nc_grid" |
the field containing the name of the dataset on the grid | |
static const std::string | gridFilter = "nc_grid_filter" |
the field containing the file filter for the dataset on the grid | |
static const std::string | gridFilter_default = "*.root*" |
the default value for gridFilter | |
static const std::string | sourceSample = "nc_source" |
the original sample from which this sample was derived | |
static const std::string | treeName = "nc_tree" |
the name of the tree in the sample | |
static const std::string | treeName_default = "CollectionTree" |
the default value of treeName | |
static const std::string | crossSection = "nc_xs" |
the cross section field | |
static const std::string | crossSectionRelUncertainty = "nc_xs_rel_err" |
the relative uncertainty on the cross section | |
static const std::string | numEvents = "nc_nevt" |
the number of events | |
static const std::string | numEventsPerFile = "nc_nevtfile" |
the number of events in each file | |
static const std::string | sampleName = MetaNames::sampleName () |
the name of the sample | |
static const std::string | cacheSize = "nc_cache_size" |
the size of the TTreeCache | |
static const std::string | lumi = "lumi" |
the luminosity of the sample | |
static const std::string | isData = "is_data" |
whether the sample is data | |
static const std::string | kfactor = "kfactor" |
the k-factor of the sample | |
static const std::string | filterEfficiency = "filter_efficiency" |
the filter efficiency of the sample |
This class contains the known meta-data names.
These are all the meta-data fields known within SampleHandler and EventLoop. The main purpose of this is to avoid typos, or "magical numbers" inside the code. It's all collected inside a single class to make it easier to create a dictionary.
const std::string SH::MetaFields::cacheSize = "nc_cache_size" [static] |
the size of the TTreeCache
warning: this has to be synchronized with EventLoop::Job