#include <CalibCompare.h>
Public Member Functions | |
CalibCompare (IO *options) | |
void | calibrateCalibratables (TChain &sourceTree, const std::string &exercisefile) |
void | evaluateCalibrations (TTree &tree, pftools::Calibratable *calibrated, const std::vector< pftools::Calibratable > &calibVec) |
void | setTarget (CalibrationTarget t) |
virtual | ~CalibCompare () |
Private Member Functions | |
CalibCompare (const CalibCompare &) | |
void | operator= (const CalibCompare &) |
Private Attributes | |
PFClusterCalibration | clusterCalibration_ |
unsigned | debug_ |
Erl_mlp | erlCalibration_ |
double | mlpOffset_ |
double | mlpSlope_ |
IO * | options_ |
CalibrationTarget | target_ |
bool | withOffset_ |
Definition at line 23 of file CalibCompare.h.
CalibCompare::CalibCompare | ( | IO * | options | ) |
Definition at line 28 of file CalibCompare.cc.
References clusterCalibration_, gather_cfg::cout, debug_, erlCalibration_, corrVsCorr::g0, diffTwoXMLs::g1, pftools::PFClusterCalibration::getKnownSectorNames(), pftools::IO::GetOpt(), i, mlpOffset_, mlpSlope_, cscdqm::h::names, options_, pftools::PFClusterCalibration::setAllowNegativeEnergy(), pftools::PFClusterCalibration::setBarrelBoundary(), pftools::PFClusterCalibration::setCorrections(), pftools::PFClusterCalibration::setDoCorrection(), pftools::PFClusterCalibration::setDoEtaCorrection(), pftools::PFClusterCalibration::setEcalHcalEnergyCuts(), pftools::PFClusterCalibration::setEtaCorrectionParameters(), pftools::PFClusterCalibration::setEvolutionParameters(), pftools::PFClusterCalibration::setMaxEToCorrect(), pftools::Erl_mlp::setOffsetAndSlope(), AlCaHLTBitMon_QueryRunRegistry::string, and withOffset_.
|
virtual |
Definition at line 25 of file CalibCompare.cc.
|
private |
void CalibCompare::calibrateCalibratables | ( | TChain & | sourceTree, |
const std::string & | exercisefile | ||
) |
Definition at line 93 of file CalibCompare.cc.
References gather_cfg::cout, debug_, evaluateCalibrations(), pftools::TreeUtility::getCalibratablesFromRootFile(), and MainPageGenerator::tree.
void CalibCompare::evaluateCalibrations | ( | TTree & | tree, |
pftools::Calibratable * | calibrated, | ||
const std::vector< pftools::Calibratable > & | calibVec | ||
) |
Definition at line 125 of file CalibCompare.cc.
References pftools::CalibrationResultWrapper::b_, pftools::BAYESIAN, pftools::CalibrationResultWrapper::c_, calib, pftools::Calibratable::calibrations_, pftools::Calibratable::cluster_energyEcal_, pftools::Calibratable::cluster_energyHcal_, pftools::Calibratable::cluster_meanEcal_, pftools::Calibratable::cluster_meanHcal_, pftools::Calibratable::cluster_numEcal_, pftools::Calibratable::cluster_numHcal_, clusterCalibration_, pftools::CalibrationResultWrapper::compute(), prof2calltree::count, pftools::CalibrationResultWrapper::ecalEnergy_, pftools::Erl_mlp::ecalFraction(), erlCalibration_, pftools::CalibratableElement::eta_, pftools::Erl_mlp::evaluate(), pftools::PFClusterCalibration::getCalibratedEcalEnergy(), pftools::PFClusterCalibration::getCalibratedEnergy(), pftools::PFClusterCalibration::getCalibratedHcalEnergy(), pftools::CalibrationResultWrapper::hcalEnergy_, pftools::LINEAR, pftools::CalibrationResultWrapper::particleEnergy_, pftools::CalibratableElement::phi_, pftools::CalibrationResultWrapper::provenance_, pftools::Calibratable::recompute(), pftools::Calibratable::reset(), pftools::Calibratable::sim_energyEvent_, pftools::Calibratable::sim_etaEcal_, pftools::Calibratable::sim_phiEcal_, target_, pftools::CalibrationResultWrapper::target_, pftools::CalibrationResultWrapper::targetFuncContrib_, pftools::CalibrationResultWrapper::truthEnergy_, and pftools::UNCALIBRATED.
Referenced by calibrateCalibratables().
|
private |
|
inline |
|
private |
Definition at line 54 of file CalibCompare.h.
Referenced by CalibCompare(), and evaluateCalibrations().
|
private |
Definition at line 50 of file CalibCompare.h.
Referenced by CalibCompare(), and calibrateCalibratables().
|
private |
Definition at line 55 of file CalibCompare.h.
Referenced by CalibCompare(), and evaluateCalibrations().
|
private |
Definition at line 52 of file CalibCompare.h.
Referenced by CalibCompare().
|
private |
Definition at line 53 of file CalibCompare.h.
Referenced by CalibCompare().
|
private |
Definition at line 49 of file CalibCompare.h.
Referenced by CalibCompare(), and valtools.webpage::parseArgs().
|
private |
Definition at line 48 of file CalibCompare.h.
Referenced by evaluateCalibrations(), and setTarget().
|
private |
Definition at line 47 of file CalibCompare.h.
Referenced by CalibCompare().