SH::MetaFields Struct Reference

This class contains the known meta-data names. More...

#include <MetaFields.h>

List of all members.

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

Detailed Description

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.


Member Data Documentation

const std::string SH::MetaFields::cacheSize = "nc_cache_size" [static]

the size of the TTreeCache

warning: this has to be synchronized with EventLoop::Job


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1