|
|
Go to the documentation of this file. 1 #ifndef DPGAnalysis_SiStripTools_OccupancyPlotMacros_h
2 #define DPGAnalysis_SiStripTools_OccupancyPlotMacros_h
52 std::pair<float, float> (*
size)(
int),
53 const std::vector<SubDetParams>& vsub);
55 TCanvas*
c, TH1D*
h,
const char*
label,
const int frame,
const int min,
const int max,
const bool same =
false);
56 float combinedOccupancy(TFile*
ff,
const char* module,
const int lowerbin,
const int upperbin);
58 TFile*
ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color);
60 TFile*
ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color);
62 TFile*
ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color);
69 std::pair<float, float> (*
size)(
int),
70 const std::vector<SubDetParams>& vsub);
73 TCanvas*
drawMap(
const char* cname,
75 const TProfile* averadius,
79 std::pair<float, float> (*
size)(
int),
80 float (*
scale)(
float),
82 const char* ptitle =
"");
85 #endif // DPGAnalysis_SiStripTools_OccupancyPlotMacros_h
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="")
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 PlotTrackerXsect(TFile *ff, const char *module)
void PlotOnTrackOccupancyPhase2(TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color)
void PlotOnTrackOccupancyPhase1(TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color)
std::pair< float, float > phase2bin(int i)
void PlotOccupancyMapPhase2(TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color)
TH1D * TrendPlotSingleBin(TFile *ff, const char *module, const char *hname, const int bin)
float combinedOccupancy(TFile *ff, const char *module, const int lowerbin, const int upperbin)
void PlotDebugFPIX_XYMap(TFile *ff, const char *module, const unsigned int offset, const char *name)
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 printFrame(TCanvas *c, TH1D *h, const char *label, const int frame, const int min, const int max, const bool same=false)
void PlotOccupancyMapPhase1(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)