ATLAS Offline Software
Loading...
Searching...
No Matches
MetaDataSample.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SAMPLE_HANDLER__META_DATA_SAMPLE_H
6#define SAMPLE_HANDLER__META_DATA_SAMPLE_H
7
8#include <TObject.h>
9
10namespace SH
11{
14 struct MetaDataSample : public TObject
15 {
17 public:
18 std::string name;
19
22 public:
23 std::string source;
24
26 public:
27 std::string warning;
28
30 public:
31 bool unknown;
32
34 public:
35 int isData;
36
39 public:
41
44 public:
46
49 public:
51
54 public:
55 Long64_t nevents;
56
59 public:
60 float kfactor;
61
64 public:
66
67
74 MetaDataSample (const std::string& val_name = "");
75
77 };
78}
79
80#endif
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition PrunDriver.h:15
std::string name
the name of the sample/dataset
float luminosity
the luminosity of the sample or -1 if the luminosity is unknown
ClassDef(MetaDataSample, 1)
std::string source
the database we queried this information from or the empty string if we didn't yet query
int running
1 for samples that are still running, 0 for finished samples, or -1 if this is not known.
float crossSection
the cross section of the sample or -1 if the cross section is unknown
float filterEfficiency
the filter efficiency or -1 if the filter efficiency is not known
float kfactor
the k-factor for the sample or -1 if the k-factor is not known
Long64_t nevents
the number of events for the sample or -1 if the number of events is unknown
int isData
1 for data, 0 for MC, or -1 if this is not known.
bool unknown
a flag that is set if the sample is unknown
std::string warning
any warning messages from the database query
MetaDataSample(const std::string &val_name="")
standard constructor