#include <ZeeRescaleFactorPlots.h>
Public Member Functions | |
void | writeHistograms (ZIterativeAlgorithmWithFit *) |
ZeeRescaleFactorPlots (char *) | |
~ZeeRescaleFactorPlots () | |
Private Attributes | |
TFile * | file_ |
char * | fileName_ |
Definition at line 54 of file ZeeRescaleFactorPlots.h.
ZeeRescaleFactorPlots::ZeeRescaleFactorPlots | ( | char * | fileName | ) |
Definition at line 33 of file ZeeRescaleFactorPlots.cc.
References file_, convertXMLtoSQLite_cfg::fileName, and fileName_.
ZeeRescaleFactorPlots::~ZeeRescaleFactorPlots | ( | ) |
Definition at line 41 of file ZeeRescaleFactorPlots.cc.
References file_.
void ZeeRescaleFactorPlots::writeHistograms | ( | ZIterativeAlgorithmWithFit * | theAlgorithm_ | ) |
Definition at line 52 of file ZeeRescaleFactorPlots.cc.
References file_, ZIterativeAlgorithmWithFit::getHistos(), ZIterativeAlgorithmWithFit::getNumberOfChannels(), ZIterativeAlgorithmWithFit::getNumberOfIterations(), ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFitPlots::unweightedRescaleFactor, ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFitPlots::weight, and ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFitPlots::weightedRescaleFactor.
{ file_ -> cd(); const ZIterativeAlgorithmWithFit::ZIterativeAlgorithmWithFitPlots* algoHistos = theAlgorithm_->getHistos(); for (int iIteration=0;iIteration<theAlgorithm_->getNumberOfIterations();iIteration++) for (int iChannel=0;iChannel<theAlgorithm_->getNumberOfChannels();iChannel++) { if(iChannel%20==0){ file_ -> cd(); algoHistos->weightedRescaleFactor[iIteration][iChannel]->Write(); algoHistos->unweightedRescaleFactor[iIteration][iChannel]->Write(); algoHistos->weight[iIteration][iChannel]->Write(); } } }
TFile* ZeeRescaleFactorPlots::file_ [private] |
Definition at line 64 of file ZeeRescaleFactorPlots.h.
Referenced by writeHistograms(), ZeeRescaleFactorPlots(), and ~ZeeRescaleFactorPlots().
char* ZeeRescaleFactorPlots::fileName_ [private] |
Definition at line 65 of file ZeeRescaleFactorPlots.h.
Referenced by ZeeRescaleFactorPlots().