|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "TDirectory.h"
24 throw std::runtime_error(
25 Form(
"File: %s, Line: %d\nT0Fit::main() - Usage: %s <input file> <output file>!", __FILE__, __LINE__,
argv[0]));
28 TROOT wurscht(
"wurscht",
"wurscht");
36 throw std::runtime_error(
37 Form(
"File: %s, Line: %d\nT0Fit::main() - Cannot find TDirectory 'MT_t0_fitter' in file %s!", __FILE__, __LINE__,
argv[1]));
40 TIter nextkey(
dir->GetListOfKeys());
43 while ((
key = (TKey *)nextkey())) {
44 TObject *
obj =
key->ReadObj();
45 if (
obj->IsA()->InheritsFrom(
"TH1F")) {
47 if (
hist == NULL)
continue;
49 if (
hname ==
"t_spec_Summary")
continue;
50 hist->GetListOfFunctions()->Clear();
const ShapeFitter * fitter
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
const bool & AddFitfun() const
If set to true the fitted functions are added to the histograms.
const bool & DrawDebugGraphs() const
If set to true for every tube a TDirectory will be created.
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
int main(int argc, char *argv[])