#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 <cstring>
#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(), and mps_fire::i.
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(), and mps_fire::i.
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 MessageLogger_cfi::cerr, gather_cfg::cout, debug, dir, FrontierConditions_GlobalTag_cff::file, writedatasetfile::run, 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, mps_fire::i, mps_splice::line, ListOut(), eostools::ls(), nlumis(), numlumis, lumiCalc2::outfile, plotFactory::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, corrVsCorr::filename, and lsbs_cert().
int nlumis | ( | string | filename | ) |
Definition at line 288 of file lsbs_cert.cc.
References MessageLogger_cfi::cerr, data-class-funcs::classname, FrontierConditions_GlobalTag_cff::file, numlumis, writedatasetfile::run, and runnum_str().
Referenced by lsbs_cert().
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 mps_fire::i, and groupFilesInBlocks::temp.
Referenced by lsbs_cert().
bool debug = false |
Definition at line 26 of file lsbs_cert.cc.
Referenced by getplot().
int numlumis = -1 |
Definition at line 27 of file lsbs_cert.cc.
Referenced by lsbs_cert(), and nlumis().