ATLAS Offline Software
Loading...
Searching...
No Matches
RunInput.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
13
14#ifndef RUN_INPUT_H
15#define RUN_INPUT_H
16
17#include <string>
18#include <vector>
19#include "TH1.h"
20#include "TFile.h"
21#include "TDirectoryFile.h"
22#include "ConfigurationLoader.h"
23
24using namespace std;
25
27{
28 public:
31 RunInput( vector< vector<string> >, vector< TH1* >, vector<string> );
33
34 vector< vector<string> > GetHistogramPaths();
35 vector< TH1* > GetHistograms();
36 vector<string> GetHistogramTypes();
37
38 private:
39 void ExploreDirectory( TDirectoryFile*, vector<string>, int );
41 bool QuickSearchCheck( string, int );
42 bool FullSearchCheck( vector<string>& );
43
44 vector< TH1* > storedHistograms;
45 vector< vector<string> > storedPaths, searchStrings, quickSearchStrings;
46 vector<string> storedTypes;
47 TFile * inputFile;
48};
49
50#endif
An object to load and parse the configuration file.
bool QuickSearchCheck(string, int)
RunInput(string, ConfigurationLoader *)
TFile * inputFile
Definition RunInput.h:47
vector< TH1 * > GetHistograms()
vector< vector< string > > quickSearchStrings
Definition RunInput.h:45
void LoadConfiguration(ConfigurationLoader *)
vector< vector< string > > GetHistogramPaths()
void ExploreDirectory(TDirectoryFile *, vector< string >, int)
vector< TH1 * > storedHistograms
Definition RunInput.h:44
RunInput(vector< vector< string > >, vector< TH1 * >, vector< string >)
vector< vector< string > > searchStrings
Definition RunInput.h:45
vector< string > GetHistogramTypes()
bool FullSearchCheck(vector< string > &)
vector< string > storedTypes
Definition RunInput.h:46
vector< vector< string > > storedPaths
Definition RunInput.h:45
STL namespace.