Namespaces | Functions
ShowerCalibrationGaloreTests.h File Reference

Test functions for ShowerCalibrationGalore service providers. More...

#include "larexamples/Services/ShowerCalibrationGalore/Providers/ShowerCalibrationGalore.h"
#include "lardataobj/RecoBase/Shower.h"
#include <string>
#include <algorithm>
#include <tuple>
#include <vector>
#include <iomanip>

Go to the source code of this file.

Namespaces

 lar
 LArSoft-specific namespace.
 
 lar::example
 LArSoft examples.
 
 lar::example::tests
 Tests for LArSoft examples.
 

Functions

std::string lar::example::tests::centerString (std::string const &s, unsigned int width, char pad= ' ')
 Returns a string padding s to be centered in a width w. More...
 
recob::Shower lar::example::tests::MakeShower (float E, int bestPlane=2, int ID=1)
 
template<typename Stream >
unsigned int lar::example::tests::ShowerCalibrationTableTest (Stream &&out, lar::example::ShowerCalibrationGalore const *calibration, float Emin=0.0, float Emax=2.5, float Estep=0.1, std::vector< lar::example::ShowerCalibrationGalore::PDGID_t > const &pids={11, 13, 111, 2212, 22})
 Synthetic test: prints corrections for showers in a energy range. More...
 

Detailed Description

Test functions for ShowerCalibrationGalore service providers.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
May 4th, 2016

This is a template only header. It provides:

It requires linking with:

Definition in file ShowerCalibrationGaloreTests.h.