#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 | |
void | cert_plot (float threshold_pixel, float threshold, string filename, vector< string > &cert_strip, vector< string > &cert_track, vector< string > &cert_pixel, vector< pair< string, vector< float > > > &LS_strip, vector< pair< string, vector< float > > > &LS_track, vector< pair< string, vector< float > > > &LS_pixel) |
void | Cleaning (vector< int > &LSlist) |
string | ListOut (vector< int > &LSlist) |
void | ls_cert (float threshold_pixel, float threshold, string filename) |
void | ls_cert_type (string iDir, float threshold, string filename, vector< string > &cert, vector< pair< string, vector< float > > > &gLS, vector< pair< string, vector< float > > > &bLS, vector< pair< string, vector< float > > > &mLS) |
int | main (int argc, char *argv[]) |
int | nlumis (string filename) |
string | runnum_str (string filename) |
Variables | |
int | numlumis = -1 |
void cert_plot | ( | float | threshold_pixel, |
float | threshold, | ||
string | filename, | ||
vector< string > & | cert_strip, | ||
vector< string > & | cert_track, | ||
vector< string > & | cert_pixel, | ||
vector< pair< string, vector< float > > > & | LS_strip, | ||
vector< pair< string, vector< float > > > & | LS_track, | ||
vector< pair< string, vector< float > > > & | LS_pixel | ||
) |
Definition at line 318 of file ls_cert.cc.
References create_public_lumi_plots::color, mps_fire::i, training_settings::idx, diffTwoXMLs::label, nlumis(), svgfig::rgb(), runnum_str(), edm::second(), and electronIdCutBased_cfi::threshold.
Referenced by ls_cert().
void Cleaning | ( | vector< int > & | LSlist | ) |
string ListOut | ( | vector< int > & | LSlist | ) |
void ls_cert | ( | float | threshold_pixel, |
float | threshold, | ||
string | filename | ||
) |
Definition at line 56 of file ls_cert.cc.
References cert_plot(), gather_cfg::cout, plotBeamSpotDB::first, geometryCSVtoXML::line, ls_cert_type(), numlumis, lumiCalc2::outfile, and runnum_str().
Referenced by main().
void ls_cert_type | ( | string | iDir, |
float | threshold, | ||
string | filename, | ||
vector< string > & | cert, | ||
vector< pair< string, vector< float > > > & | gLS, | ||
vector< pair< string, vector< float > > > & | bLS, | ||
vector< pair< string, vector< float > > > & | mLS | ||
) |
Definition at line 152 of file ls_cert.cc.
References MessageLogger_cfi::cerr, data-class-funcs::classname, Cleaning(), gather_cfg::cout, debug, dir, FrontierConditions_GlobalTag_cff::file, mps_fire::i, gen::k, crabWrapper::key, ListOut(), eostools::ls(), dataset::name, GetRecoTauVFromDQM_MC_cff::next, nlumis(), findQualityFiles::run, runnum_str(), and findQualityFiles::v.
Referenced by ls_cert().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 32 of file ls_cert.cc.
References gather_cfg::cout, corrVsCorr::filename, ls_cert(), and electronIdCutBased_cfi::threshold.
int nlumis | ( | string | filename | ) |
Definition at line 433 of file ls_cert.cc.
References MessageLogger_cfi::cerr, data-class-funcs::classname, FrontierConditions_GlobalTag_cff::file, eostools::ls(), numlumis, findQualityFiles::run, and runnum_str().
Referenced by cert_plot(), and ls_cert_type().
string runnum_str | ( | string | filename | ) |
Definition at line 493 of file ls_cert.cc.
Referenced by cert_plot(), ls_cert(), ls_cert_type(), and nlumis().
int numlumis = -1 |
Definition at line 26 of file ls_cert.cc.