#include <MyDatasetInfo.h>
Public Member Functions | |
void | set_AtlFastFlag (const bool &flag) |
set the AtlFastFlag to flag | |
bool | get_AtlFastFlag (void) const |
get the AtlFastFlag | |
void | set_scale (const double &scale) |
set the scale to scale | |
double | get_scale (void) const |
get the scale | |
void | set_trackjet_flag (const bool &flag) |
set the trackjet flag | |
bool | get_trackjet_flag (void) const |
get the trackjet flag | |
void | set_vertex_flag (const bool &flag) |
set the vertex flag | |
bool | get_vertex_flag (void) const |
get the vertex flag | |
void | set_release (const int &release) |
set the release | |
int | get_release (void) const |
get the release | |
void | set_svnversion (const int &svnversion) |
set the svnversion | |
int | get_svnversion (void) const |
get the svnversion | |
void | set_TFile (TFile *aan_file) |
set the first aan.root file | |
TFile * | get_aan_file (void) const |
get a pointer to the first aan.root file | |
TTree * | get_tree (std::string tree_name) |
std::string | get_generator () |
Static Public Member Functions | |
static MyDatasetInfo & | Instance () |
return an Instance of MyDatasetInfo | |
Private Member Functions | |
MyDatasetInfo () | |
MyDatasetInfo (MyDatasetInfo const &) | |
MyDatasetInfo & | operator= (MyDatasetInfo const &) |
~MyDatasetInfo () | |
Private Attributes | |
bool | m_atlfastflag |
bool | m_trackjetflag |
bool | m_vertexflag |
int | m_release |
int | m_svnversion |
double | m_scale |
TFile * | m_aan_file |
first aan.root file that is used in the Analysis -> from this file one can get the trees that contain the info about all used AOD files or the name of all the containers used to create the aan file. the MC-generator (retrieved from the AOD filename) AtlFastFlag scale, i.e. the value which scales the units, e.g. of pt, E, .. (e.g. 0.001 to work with GeV in the whole analysis)
Get an Instance with:
MyDatasetInfo &dataset_info = MyDatasetInfo::Instance(); or MyDatasetInfo *dataset_info; m_dataset_info = &MyDatasetInfo::Instance();
Definition at line 47 of file MyDatasetInfo.h.
TTree* MyDatasetInfo::get_tree | ( | std::string | tree_name | ) |
get a pointer to the tree with name tree_name in the first aan file returns NULL if tree does not exist
string MyDatasetInfo::get_generator | ( | ) |
returns the genarator as a string determined from the first AOD file name: "Herwig", "Alpgen", "McAtNlo", "Pythia", "Sherpa" returns "unknown" if the tree with the AOD filenames does not exist returns "unknown" if the generator could not be determined
Definition at line 186 of file MyDatasetInfo.cxx.