ATLAS Offline Software
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 
10 namespace 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:
40  int running;
41 
44  public:
45  float luminosity;
46 
49  public:
50  float crossSection;
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
SH::MetaDataSample::MetaDataSample
MetaDataSample(const std::string &val_name="")
standard constructor
SH::MetaDataSample::unknown
bool unknown
a flag that is set if the sample is unknown
Definition: MetaDataSample.h:31
SH::MetaDataSample::luminosity
float luminosity
the luminosity of the sample or -1 if the luminosity is unknown
Definition: MetaDataSample.h:45
SH::MetaDataSample::warning
std::string warning
any warning messages from the database query
Definition: MetaDataSample.h:27
SH::MetaDataSample::source
std::string source
the database we queried this information from or the empty string if we didn't yet query
Definition: MetaDataSample.h:23
SH::MetaDataSample::kfactor
float kfactor
the k-factor for the sample or -1 if the k-factor is not known
Definition: MetaDataSample.h:60
SH::MetaDataSample::filterEfficiency
float filterEfficiency
the filter efficiency or -1 if the filter efficiency is not known
Definition: MetaDataSample.h:65
SH::MetaDataSample::name
std::string name
the name of the sample/dataset
Definition: MetaDataSample.h:18
SH::MetaDataSample::ClassDef
ClassDef(MetaDataSample, 1)
SH::MetaDataSample
all the meta-data fields that we may try to read from AMI.
Definition: MetaDataSample.h:15
SH::MetaDataSample::running
int running
1 for samples that are still running, 0 for finished samples, or -1 if this is not known.
Definition: MetaDataSample.h:40
SH::MetaDataSample::isData
int isData
1 for data, 0 for MC, or -1 if this is not known.
Definition: MetaDataSample.h:35
SH::MetaDataSample::crossSection
float crossSection
the cross section of the sample or -1 if the cross section is unknown
Definition: MetaDataSample.h:50
SH
This module provides a lot of global definitions, forward declarations and includes that are used by ...
Definition: PrunDriver.h:15
SH::MetaDataSample::nevents
Long64_t nevents
the number of events for the sample or -1 if the number of events is unknown
Definition: MetaDataSample.h:55