#include <Riostream.h>
#include <TDirectory.h>
#include <TFile.h>
#include <TROOT.h>
#include <TStyle.h>
#include <TKey.h>
#include <TH1.h>
#include <TH2.h>
#include <TH2D.h>
#include <TCanvas.h>
#include <TGraph.h>
#include <TPaveStats.h>
#include <TText.h>
#include <TLegend.h>
#include <string.h>
#include <utility>
#include <vector>
#include <sstream>
#include <algorithm>
#include <TString.h>
#include <TColor.h>
Go to the source code of this file.
Functions | |
bool | check_isgood (vector< int > &ls_badlist, int ls) |
void | check_offset (string filename, string iDir, string plot, float limit_min, float limit_max, vector< int > &badLS) |
void | check_sigma (string filename, string iDir, string plot, float limit_err, vector< int > &badLS) |
void | Cleaning (vector< int > &) |
int | getplot (string filename, string iDir, string strplot, TH1F &plot) |
string | ListOut (vector< int > &) |
void | lsbs_cert (string filename) |
int | main (int argc, char *argv[]) |
int | nlumis (string filename) |
string | runnum_str (string filename) |
void | vector_AND (vector< int > &, vector< int >) |
Variables | |
bool | debug = false |
int | numlumis = -1 |
bool check_isgood | ( | vector< int > & | ls_badlist, |
int | ls | ||
) |
void check_offset | ( | string | filename, |
string | iDir, | ||
string | plot, | ||
float | limit_min, | ||
float | limit_max, | ||
vector< int > & | badLS | ||
) |
Definition at line 243 of file lsbs_cert.cc.
References getplot(), i, and relativeConstraints::value.
Referenced by lsbs_cert().
void check_sigma | ( | string | filename, |
string | iDir, | ||
string | plot, | ||
float | limit_err, | ||
vector< int > & | badLS | ||
) |
Definition at line 261 of file lsbs_cert.cc.
References getplot(), i, and relativeConstraints::value.
Referenced by lsbs_cert().
void Cleaning | ( | vector< int > & | LSlist | ) |
int getplot | ( | string | filename, |
string | iDir, | ||
string | strplot, | ||
TH1F & | plot | ||
) |
Definition at line 332 of file lsbs_cert.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, debug, dir, NULL, and runnum_str().
Referenced by check_offset(), and check_sigma().
string ListOut | ( | vector< int > & | LSlist | ) |
void lsbs_cert | ( | string | filename | ) |
Definition at line 52 of file lsbs_cert.cc.
References check_isgood(), check_offset(), check_sigma(), gather_cfg::cout, i, geometryCSVtoXML::line, ListOut(), python.rootplot.utilities::ls(), prof2calltree::namefile, nlumis(), numlumis, getDQMSummary::outfile, plotResiduals::plot(), runnum_str(), and vector_AND().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 37 of file lsbs_cert.cc.
References gather_cfg::cout, lut2db_cfg::filename, and lsbs_cert().
int nlumis | ( | string | filename | ) |
string runnum_str | ( | string | filename | ) |
void vector_AND | ( | vector< int > & | bad_def, |
vector< int > | bad_sc | ||
) |
Definition at line 412 of file lsbs_cert.cc.
References i, j, and groupFilesInBlocks::temp.
Referenced by lsbs_cert().
bool debug = false |
Definition at line 26 of file lsbs_cert.cc.
int numlumis = -1 |
Definition at line 27 of file lsbs_cert.cc.