#include "OOTMultiplicityPlotMacros.h"
#include "DPGAnalysis/SiStripTools/interface/CommonAnalyzer.h"
#include "TFile.h"
#include "TCanvas.h"
#include "TH1F.h"
#include "TF1.h"
#include "TProfile.h"
#include <iostream>
#include <algorithm>
#include <cmath>
Go to the source code of this file.
Functions | |
OOTResult * | ComputeOOTFraction (TFile *ff, const char *itmodule, const char *ootmodule, const char *etmodule, const int run, const char *hname, const bool &perFill) |
OOTSummary * | ComputeOOTFractionvsFill (TFile *ff, const char *itmodule, const char *ootmodule, const char *etmodule, const char *hname, OOTSummary *ootsumm) |
OOTSummary * | ComputeOOTFractionvsRun (TFile *ff, const char *itmodule, const char *ootmodule, const char *etmodule, const char *hname, OOTSummary *ootsumm) |
std::vector< int > | FillingScheme (TFile *ff, const char *path, const float thr) |
std::vector< int > | FillingSchemeFromProfile (TFile *ff, const char *path, const char *hname, const float thr) |
OOTResult* ComputeOOTFraction | ( | TFile * | ff, |
const char * | itmodule, | ||
const char * | ootmodule, | ||
const char * | etmodule, | ||
const int | run, | ||
const char * | hname, | ||
const bool & | perFill | ||
) |
Definition at line 75 of file OOTMultiplicityPlotMacros.cc.
References gather_cfg::cout, FillingScheme(), FillingSchemeFromProfile(), OOTResult::hratio, OOTResult::nfilledbx, OOTResult::ngoodbx, OOTResult::ootfrac, OOTResult::ootfracerr, OOTResult::ootfracsum, OOTResult::ootfracsumerr, and mathSSE::sqrt().
Referenced by ComputeOOTFractionvsFill(), and ComputeOOTFractionvsRun().
OOTSummary* ComputeOOTFractionvsFill | ( | TFile * | ff, |
const char * | itmodule, | ||
const char * | ootmodule, | ||
const char * | etmodule, | ||
const char * | hname, | ||
OOTSummary * | ootsumm | ||
) |
Definition at line 12 of file OOTMultiplicityPlotMacros.cc.
References newFWLiteAna::bin, ComputeOOTFraction(), gather_cfg::cout, CommonAnalyzer::getFillList(), OOTSummary::hngoodbx, OOTSummary::hootfrac, OOTSummary::hootfracsum, OOTResult::hratio, i, OOTResult::ngoodbx, OOTResult::ootfrac, OOTResult::ootfracerr, OOTResult::ootfracsum, OOTResult::ootfracsumerr, and gather_cfg::runs.
OOTSummary* ComputeOOTFractionvsRun | ( | TFile * | ff, |
const char * | itmodule, | ||
const char * | ootmodule, | ||
const char * | etmodule, | ||
const char * | hname, | ||
OOTSummary * | ootsumm | ||
) |
Definition at line 43 of file OOTMultiplicityPlotMacros.cc.
References newFWLiteAna::bin, ComputeOOTFraction(), gather_cfg::cout, CommonAnalyzer::getRunList(), OOTSummary::hngoodbx, OOTSummary::hootfrac, OOTSummary::hootfracsum, OOTResult::hratio, i, OOTResult::ngoodbx, OOTResult::ootfrac, OOTResult::ootfracerr, OOTResult::ootfracsum, OOTResult::ootfracsumerr, and gather_cfg::runs.
std::vector<int> FillingScheme | ( | TFile * | ff, |
const char * | path, | ||
const float | thr | ||
) |
Definition at line 171 of file OOTMultiplicityPlotMacros.cc.
References gather_cfg::cout, and i.
Referenced by ComputeOOTFraction().
std::vector<int> FillingSchemeFromProfile | ( | TFile * | ff, |
const char * | path, | ||
const char * | hname, | ||
const float | thr | ||
) |
Definition at line 202 of file OOTMultiplicityPlotMacros.cc.
References gather_cfg::cout, and i.
Referenced by ComputeOOTFraction().