![]() |
ATLAS Offline Software
|
#include "InDetPhysValMonitoring/ResolutionHelper.h"
#include "TFile.h"
#include "TSystem.h"
#include "TH1.h"
#include "TH2.h"
#include "TObject.h"
#include <iostream>
#include <memory>
#include <string>
Go to the source code of this file.
Functions | |
bool | file_exists (const string &p_name) |
bool | isResolutionHelper (TObject *entry) |
std::pair< std::string, std::string > | getTypeAndVars (const TObject *resHelper) |
TH1 * | cloneExisting (const std::string &name) |
std::pair< std::string, std::string > | getPullAndResoNames (const std::string &type) |
int | postProcessHistos (TObject *resHelper, IDPVM::ResolutionHelper &theHelper, IDPVM::ResolutionHelper::methods &theMethod) |
int | postProcessDir (TDirectory *dir, IDPVM::ResolutionHelper &theHelper, IDPVM::ResolutionHelper::methods &theMethod) |
int | pproc_file (const std::string &p_infile, const std::string &methodStr) |
int | main (int argc, char *argv[]) |
Goal: Update resolutions extracted from 2D histograms after merging several output files (typically after grid running)
Definition in file postProcessIDTPMHistos.cxx.
TH1* cloneExisting | ( | const std::string & | name | ) |
Definition at line 53 of file postProcessIDTPMHistos.cxx.
bool file_exists | ( | const string & | p_name | ) |
Definition at line 31 of file postProcessIDTPMHistos.cxx.
std::pair<std::string, std::string> getPullAndResoNames | ( | const std::string & | type | ) |
Definition at line 67 of file postProcessIDTPMHistos.cxx.
std::pair< std::string, std::string > getTypeAndVars | ( | const TObject * | resHelper | ) |
Definition at line 44 of file postProcessIDTPMHistos.cxx.
bool isResolutionHelper | ( | TObject * | entry | ) |
Definition at line 36 of file postProcessIDTPMHistos.cxx.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Standard usage. The user passes a file they wish to update.
check if the input exists
and post-process if it does
Definition at line 174 of file postProcessIDTPMHistos.cxx.
int postProcessDir | ( | TDirectory * | dir, |
IDPVM::ResolutionHelper & | theHelper, | ||
IDPVM::ResolutionHelper::methods & | theMethod | ||
) |
Definition at line 109 of file postProcessIDTPMHistos.cxx.
int postProcessHistos | ( | TObject * | resHelper, |
IDPVM::ResolutionHelper & | theHelper, | ||
IDPVM::ResolutionHelper::methods & | theMethod | ||
) |
Definition at line 80 of file postProcessIDTPMHistos.cxx.
Defining map for resolution method
Definition at line 139 of file postProcessIDTPMHistos.cxx.