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.
Creates a test calibration file for ShowerCalibrationGaloreFromPID.
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:
"Pi0" (TGraphErrors): neutral pion calibration vs. reconstructed energy, [ 0; 2 ] GeV range"Photon" (TGraphErrors): photon calibration vs. reconstructed energy, [ 0; 2 ] GeV range"Electron" (TGraphErrors): electron/positron calibration vs. reconstructed energy, [ 0; 2 ] GeV range"Muon" (TGraphErrors): muon/antimuon calibration vs. reconstructed energy, [ 0; 2 ] GeV range"Default" (TGraphErrors): other particle calibration vs. reconstructed energy, [ 0; 5 ] GeV range Definition in file CreateTestShowerCalibrationFromPID.cxx.
1.8.5