36 double g0,
g1, e0, e1;
43 double ecalECut, hcalECut;
49 options_->
GetOpt(
"correction",
"allowNegativeEnergy", allowNegative);
56 int doEtaCorrection(0);
57 options_->
GetOpt(
"correction",
"doEtaCorrection", doEtaCorrection);
64 double maxEToCorrect(100.0);
69 for (std::vector<std::string>::iterator
i = names->begin();
i 70 != names->end(); ++
i) {
72 std::vector<double> params;
77 std::vector<double> etaParams;
89 std::cout << __PRETTY_FUNCTION__ <<
": finished.\n";
97 std::cout <<
"Welcome to " << __PRETTY_FUNCTION__ <<
"\n";
102 std::vector<Calibratable> calibVec;
106 std::cout <<
"Moving on... " << std::endl;
107 TFile* exercises =
new TFile(exercisefile.c_str(),
"recreate");
108 TTree
tree(
"CalibratedParticles",
"");
110 tree.Branch(
"Calibratable",
"pftools::Calibratable", &calibrated, 32000, 2);
126 const std::vector<Calibratable>& calibVec) {
129 for (std::vector<Calibratable>::const_iterator zit = calibVec.begin(); zit
130 != calibVec.end(); ++zit) {
const std::string names[nVars_]