ATLAS Offline Software
Static Public Attributes | List of all members
SH::MetaFields Struct Reference

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

#include <MetaFields.h>

Collaboration diagram for SH::MetaFields:

Static Public Attributes

static const std::string gridName = "nc_grid"
 the field containing the name of the dataset on the grid More...
 
static const std::string gridFilter = "nc_grid_filter"
 the field containing the file filter for the dataset on the grid More...
 
static const std::string gridFilter_default = "*.root*"
 the default value for gridFilter More...
 
static const std::string gridSourceOptions = "nc_grid_source_options"
 the field containing the source options for datasets on the grid More...
 
static const std::string sourceSample = "nc_source"
 the original sample from which this sample was derived More...
 
static const std::string treeName = "nc_tree"
 the name of the tree in the sample More...
 
static const std::string treeName_default = "CollectionTree"
 the default value of treeName More...
 
static const std::string crossSection = "nc_xs"
 the cross section field More...
 
static const std::string crossSectionRelUncertainty = "nc_xs_rel_err"
 the relative uncertainty on the cross section More...
 
static const std::string numEvents = "nc_nevt"
 the number of events More...
 
static const std::string numEventsPerFile = "nc_nevtfile"
 the number of events in each file More...
 
static const std::string sampleName = MetaNames::sampleName ()
 the name of the sample More...
 
static const std::string cacheSize = "nc_cache_size"
 the size of the TTreeCache More...
 
static const std::string lumi = "lumi"
 the luminosity of the sample More...
 
static const std::string isData = "is_data"
 whether the sample is data More...
 
static const std::string kfactor = "kfactor"
 the k-factor of the sample More...
 
static const std::string filterEfficiency = "filter_efficiency"
 the filter efficiency of the sample More...
 

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.

Definition at line 30 of file MetaFields.h.

Member Data Documentation

◆ cacheSize

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

the size of the TTreeCache

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

Definition at line 73 of file MetaFields.h.

◆ crossSection

const std::string SH::MetaFields::crossSection = "nc_xs"
static

the cross section field

Definition at line 58 of file MetaFields.h.

◆ crossSectionRelUncertainty

const std::string SH::MetaFields::crossSectionRelUncertainty = "nc_xs_rel_err"
static

the relative uncertainty on the cross section

Definition at line 61 of file MetaFields.h.

◆ filterEfficiency

const std::string SH::MetaFields::filterEfficiency = "filter_efficiency"
static

the filter efficiency of the sample

Definition at line 85 of file MetaFields.h.

◆ gridFilter

const std::string SH::MetaFields::gridFilter = "nc_grid_filter"
static

the field containing the file filter for the dataset on the grid

Definition at line 38 of file MetaFields.h.

◆ gridFilter_default

const std::string SH::MetaFields::gridFilter_default = "*.root*"
static

the default value for gridFilter

Definition at line 41 of file MetaFields.h.

◆ gridName

const std::string SH::MetaFields::gridName = "nc_grid"
static

the field containing the name of the dataset on the grid

Definition at line 34 of file MetaFields.h.

◆ gridSourceOptions

const std::string SH::MetaFields::gridSourceOptions = "nc_grid_source_options"
static

the field containing the source options for datasets on the grid

Definition at line 45 of file MetaFields.h.

◆ isData

const std::string SH::MetaFields::isData = "is_data"
static

whether the sample is data

Definition at line 79 of file MetaFields.h.

◆ kfactor

const std::string SH::MetaFields::kfactor = "kfactor"
static

the k-factor of the sample

Definition at line 82 of file MetaFields.h.

◆ lumi

const std::string SH::MetaFields::lumi = "lumi"
static

the luminosity of the sample

Definition at line 76 of file MetaFields.h.

◆ numEvents

const std::string SH::MetaFields::numEvents = "nc_nevt"
static

the number of events

Definition at line 64 of file MetaFields.h.

◆ numEventsPerFile

const std::string SH::MetaFields::numEventsPerFile = "nc_nevtfile"
static

the number of events in each file

Definition at line 67 of file MetaFields.h.

◆ sampleName

const std::string SH::MetaFields::sampleName = MetaNames::sampleName ()
static

the name of the sample

Definition at line 70 of file MetaFields.h.

◆ sourceSample

const std::string SH::MetaFields::sourceSample = "nc_source"
static

the original sample from which this sample was derived

Definition at line 49 of file MetaFields.h.

◆ treeName

const std::string SH::MetaFields::treeName = "nc_tree"
static

the name of the tree in the sample

Definition at line 52 of file MetaFields.h.

◆ treeName_default

const std::string SH::MetaFields::treeName_default = "CollectionTree"
static

the default value of treeName

Definition at line 55 of file MetaFields.h.


The documentation for this struct was generated from the following files: