All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CreateTestShowerCalibrationFromPID.cxx File Reference

Creates a test calibration file for ShowerCalibrationGaloreFromPID. More...

#include "test/Services/ShowerCalibrationGalore/Providers/CreateTestShowerCalibrationFromPID.h"
#include "RtypesCore.h"
#include "TMath.h"
#include "TSystem.h"
#include "TClass.h"
#include "TFile.h"
#include "TDirectory.h"
#include "TGraphErrors.h"
#include <string>
#include <iostream>
#include <tuple>
#include <stdexcept>
#include <memory>

Go to the source code of this file.

Detailed Description

Creates a test calibration file for ShowerCalibrationGaloreFromPID.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
April 28, 2016
See Also
ShowerCalibrationGaloreFromPID.h

Command line arguments:

CreateTestCalibrationFromPID [OutputPath]

OutputPath is a full ROOT directory path made of a UNIX path and a ROOT directory path. For example, "data/calibrations.root:Showers/ByType" will create a directory "data" and a "calibrations.root" ROOT file in it (or update it if exists), create a structure of two nested ROOT directories, "Showers/ByType", and write all the calibration graphs in there.

Currently the following calibration objects are written:

Definition in file CreateTestShowerCalibrationFromPID.cxx.