24 int main(
int argc,
char **argv)
35 JParser<> zap(
"Example program to histogram energy corrections.");
43 catch(
const exception& error) {
44 FATAL(error.what() << endl);
56 for (
int i = 1; i <= zmap->GetNbinsX(); ++i) {
58 const double x = zmap->GetBinCenter (i);
59 const double E =
pow(10.0,
x);
60 const double y = fcn(E) / E;
Dynamic ROOT object management.
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary class for correction of energy determined by JEnergy.cc.
Utility class to parse command line options.
void Write(TDirectory &out, const bool wm=false)
Write objects to file.
int main(int argc, char **argv)
const JPolynome f1(1.0, 2.0, 3.0)
Function.
std::string getFilename(const std::string &file_name)
Get file name part, i.e. part after last JEEP::PATHNAME_SEPARATOR if any.
T pow(const T &x, const double y)
Power .
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).