#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 | ||
) |
Definition at line 251 of file lsbs_cert.cc.
References mps_fire::i, and relval_nano::ls.
Referenced by lsbs_cert().
void check_offset | ( | string | filename, |
string | iDir, | ||
string | plot, | ||
float | limit_min, | ||
float | limit_max, | ||
vector< int > & | badLS | ||
) |
Definition at line 223 of file lsbs_cert.cc.
References corrVsCorr::filename, getplot(), mps_fire::i, and plotFactory::plot.
Referenced by lsbs_cert().
void check_sigma | ( | string | filename, |
string | iDir, | ||
string | plot, | ||
float | limit_err, | ||
vector< int > & | badLS | ||
) |
Definition at line 237 of file lsbs_cert.cc.
References corrVsCorr::filename, getplot(), mps_fire::i, and plotFactory::plot.
Referenced by lsbs_cert().
void Cleaning | ( | vector< int > & | LSlist | ) |
int getplot | ( | string | filename, |
string | iDir, | ||
string | strplot, | ||
TH1F & | plot | ||
) |
Definition at line 297 of file lsbs_cert.cc.
References DMR_cfg::cerr, gather_cfg::cout, debug, DeadROC_duringRun::dir, geometryDiff::file, corrVsCorr::filename, plotFactory::plot, 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, corrVsCorr::filename, mps_fire::i, mps_splice::line, ListOut(), relval_nano::ls, nlumis(), numlumis, PixelBaryCentreAnalyzer_cfg::outfile, plotFactory::plot, runnum_str(), and vector_AND().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
===============================================================================================================================================================================================
variant2: for each run define phi-averaged A for normalization channel (Dref,16) and then, divide Rijk on it, i.e. get RRijk
eta=27
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=19
eta=17
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=20
eta=19
eta=18
eta=27 L1=1
eta=25 L1=1
eta=23 L1=1
eta=22 L1=1
eta=21 L1=1
eta=29 L1=1
eta=26 L1=1
eta=24 L1=1
eta=20 L1=1
eta=19 L1=1
eta=18 L1=1
eta=17 L1=1
eta=28 L7=1
eta=27 L7=1
eta=25 L7=1
eta=23 L7=1
eta=22 L7=1
eta=21 L7=1
eta=26 L7=1
eta=24 L7=1
eta=20 L7=1
eta=19 L7=1
eta=18 L7=1
eta=17 L7=1
eta=27
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=19
eta=17
eta=25
eta=23
eta=22
eta=21
eta=26
eta=24
eta=20
eta=19
eta=18
eta=27 L1=1
eta=25 L1=1
eta=23 L1=1
eta=22 L1=1
eta=21 L1=1
eta=26 L1=1
eta=24 L1=1
eta=20 L1=1
eta=19 L1=1
eta=18 L1=1
eta=17 L1=1
eta=28 L7=1
eta=27 L7=1
eta=25 L7=1
eta=23 L7=1
eta=22 L7=1
eta=21 L7=1
eta=26 L7=1
eta=24 L7=1
eta=20 L7=1
eta=19 L7=1
eta=18 L7=1
eta=17 L7=1
eta=27
eta=28
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Sticking ADC counts in neughbouring TS for HB:
Sticking ADC counts in neughbouring TS for HE:
RBX:
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
RBX:
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
errA with average Amplitudes
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
Summed Amplitude Plots:
RBX:
Prepare maps of good/bad channels:
Prepare maps of good/bad channels:
Prepare maps of good/bad channels:
Prepare maps of good/bad channels:
Definition at line 37 of file lsbs_cert.cc.
References dir2webdir::argc, GCPpyPlots::argv, gather_cfg::cout, corrVsCorr::filename, and lsbs_cert().
int nlumis | ( | string | filename | ) |
Definition at line 260 of file lsbs_cert.cc.
References DMR_cfg::cerr, make_classfiles::classname, geometryDiff::file, corrVsCorr::filename, numlumis, writedatasetfile::run, and runnum_str().
Referenced by lsbs_cert().
string runnum_str | ( | string | filename | ) |
Definition at line 295 of file lsbs_cert.cc.
References corrVsCorr::filename.
Referenced by getplot(), lsbs_cert(), and nlumis().
void vector_AND | ( | vector< int > & | bad_def, |
vector< int > | bad_sc | ||
) |
Definition at line 368 of file lsbs_cert.cc.
References mps_fire::i, dqmiolumiharvest::j, 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().