#include <vector>
#include <string>
#include <utility>
Go to the source code of this file.
Classes | |
struct | SubDetParams |
Functions | |
float | combinedOccupancy (TFile *ff, const char *module, const int lowerbin, const int upperbin) |
TCanvas * | drawMap (const char *cname, const TH1 *hval, const TProfile *averadius, const TProfile *avez, const float mmin, const float mmax, std::pair< float, float >(*size)(int), float(*scale)(float), const int color, const char *ptitle="") |
float | linear (float x) |
float | logarithm (float x) |
std::pair< float, float > | phase2bin (int i) |
void | PlotDebugFPIX_XYMap (TFile *ff, const char *module, const unsigned int offset, const char *name) |
void | PlotOccupancyMap (TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color) |
void | PlotOccupancyMapGeneric (TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color, std::pair< float, float >(*size)(int), const std::vector< SubDetParams > &vsub) |
void | PlotOccupancyMapPhase1 (TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color) |
void | PlotOccupancyMapPhase2 (TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color) |
void | PlotOnTrackOccupancy (TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color) |
void | PlotOnTrackOccupancyGeneric (TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color, std::pair< float, float >(*size)(int), const std::vector< SubDetParams > &vsub) |
void | PlotOnTrackOccupancyPhase1 (TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color) |
void | PlotOnTrackOccupancyPhase2 (TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color) |
void | PlotTrackerXsect (TFile *ff, const char *module) |
void | printFrame (TCanvas *c, TH1D *h, const char *label, const int frame, const int min, const int max, const bool same=false) |
float combinedOccupancy | ( | TFile * | ff, |
const char * | module, | ||
const int | lowerbin, | ||
const int | upperbin | ||
) |
Definition at line 238 of file OccupancyPlotMacros.cc.
References gather_cfg::cout, i, and mathSSE::sqrt().
TCanvas* drawMap | ( | const char * | cname, |
const TH1 * | hval, | ||
const TProfile * | averadius, | ||
const TProfile * | avez, | ||
const float | mmin, | ||
const float | mmax, | ||
std::pair< float, float >(*)(int) | size, | ||
float(*)(float) | scale, | ||
const int | color, | ||
const char * | ptitle = "" |
||
) |
Definition at line 419 of file OccupancyPlotMacros.cc.
References gather_cfg::cout, eta, create_public_lumi_plots::exp, plotBeamSpotDB::first, cmsRelvalreport::green(), i, diffTwoXMLs::label, cmsRelvalreport::red(), pileupReCalc_HLTpaths::scale, and edm::second().
Referenced by PlotOccupancyMapGeneric(), PlotOnTrackOccupancyGeneric(), and PlotTrackerXsect().
float linear | ( | float | x | ) |
Definition at line 24 of file OccupancyPlotMacros.cc.
References x().
Referenced by npstat::LinInterpolatedTableND< Numeric, Axis >::operator()(), CastorPacker::pack(), CastorCtdcPacker::pack(), HcalPacker::pack(), PlotOnTrackOccupancyGeneric(), PlotTrackerXsect(), and HcalUnpacker::unpackVME().
float logarithm | ( | float | x | ) |
Definition at line 25 of file OccupancyPlotMacros.cc.
References create_public_lumi_plots::log.
Referenced by PlotOccupancyMapGeneric().
std::pair<float,float> phase2bin | ( | int | i | ) |
Definition at line 56 of file OccupancyPlotMacros.cc.
Referenced by PlotOccupancyMapPhase2(), and PlotOnTrackOccupancyPhase2().
void PlotDebugFPIX_XYMap | ( | TFile * | ff, |
const char * | module, | ||
const unsigned int | offset, | ||
const char * | name | ||
) |
Definition at line 605 of file OccupancyPlotMacros.cc.
References gather_cfg::cout, mod(), x(), and detailsBasic3DVector::y.
void PlotOccupancyMap | ( | TFile * | ff, |
const char * | module, | ||
const float | min, | ||
const float | max, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color | ||
) |
Definition at line 268 of file OccupancyPlotMacros.cc.
References PlotOccupancyMapGeneric(), presentbin(), and findQualityFiles::size.
void PlotOccupancyMapGeneric | ( | TFile * | ff, |
const char * | module, | ||
const float | min, | ||
const float | max, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color, | ||
std::pair< float, float >(*)(int) | size, | ||
const std::vector< SubDetParams > & | vsub | ||
) |
void PlotOccupancyMapPhase1 | ( | TFile * | ff, |
const char * | module, | ||
const float | min, | ||
const float | max, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color | ||
) |
Definition at line 284 of file OccupancyPlotMacros.cc.
References phase1bin(), PlotOccupancyMapGeneric(), and findQualityFiles::size.
void PlotOccupancyMapPhase2 | ( | TFile * | ff, |
const char * | module, | ||
const float | min, | ||
const float | max, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color | ||
) |
Definition at line 300 of file OccupancyPlotMacros.cc.
References phase2bin(), PlotOccupancyMapGeneric(), and findQualityFiles::size.
void PlotOnTrackOccupancy | ( | TFile * | ff, |
const char * | module, | ||
const char * | ontrkmod, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color | ||
) |
Definition at line 314 of file OccupancyPlotMacros.cc.
References PlotOnTrackOccupancyGeneric(), presentbin(), and findQualityFiles::size.
void PlotOnTrackOccupancyGeneric | ( | TFile * | ff, |
const char * | module, | ||
const char * | ontrkmod, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color, | ||
std::pair< float, float >(*)(int) | size, | ||
const std::vector< SubDetParams > & | vsub | ||
) |
Definition at line 360 of file OccupancyPlotMacros.cc.
References gather_cfg::cout, drawMap(), diffTwoXMLs::label, linear(), printFrame(), pileupReCalc_HLTpaths::scale, and findQualityFiles::size.
Referenced by PlotOnTrackOccupancy(), PlotOnTrackOccupancyPhase1(), and PlotOnTrackOccupancyPhase2().
void PlotOnTrackOccupancyPhase1 | ( | TFile * | ff, |
const char * | module, | ||
const char * | ontrkmod, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color | ||
) |
Definition at line 330 of file OccupancyPlotMacros.cc.
References phase1bin(), PlotOnTrackOccupancyGeneric(), and findQualityFiles::size.
void PlotOnTrackOccupancyPhase2 | ( | TFile * | ff, |
const char * | module, | ||
const char * | ontrkmod, | ||
const float | mmin, | ||
const float | mmax, | ||
const int | color | ||
) |
Definition at line 346 of file OccupancyPlotMacros.cc.
References phase2bin(), PlotOnTrackOccupancyGeneric(), and findQualityFiles::size.
void PlotTrackerXsect | ( | TFile * | ff, |
const char * | module | ||
) |
Definition at line 654 of file OccupancyPlotMacros.cc.
References gather_cfg::cout, drawMap(), linear(), presentbin(), pileupReCalc_HLTpaths::scale, and findQualityFiles::size.
void printFrame | ( | TCanvas * | c, |
TH1D * | h, | ||
const char * | label, | ||
const int | frame, | ||
const int | min, | ||
const int | max, | ||
const bool | same = false |
||
) |
Definition at line 111 of file OccupancyPlotMacros.cc.
References diffTwoXMLs::label, and tree::t.
Referenced by PlotOccupancyMapGeneric(), and PlotOnTrackOccupancyGeneric().