1 #ifndef DPGAnalysis_SiStripTools_OccupancyPlotMacros_h
2 #define DPGAnalysis_SiStripTools_OccupancyPlotMacros_h
28 std::pair<float,float>(*
size)(
int),
const std::vector<SubDetParams>& vsub);
29 void printFrame(TCanvas*
c, TH1D*
h,
const char*
label,
const int frame,
const int min,
const int max,
const bool same=
false);
30 float combinedOccupancy(TFile* ff,
const char* module,
const int lowerbin,
const int upperbin);
31 void PlotOnTrackOccupancy(TFile* ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color);
32 void PlotOnTrackOccupancyPhase1(TFile* ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color);
33 void PlotOnTrackOccupancyPhase2(TFile* ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color);
34 void PlotOnTrackOccupancyGeneric(TFile* ff,
const char* module,
const char* ontrkmod,
const float mmin,
const float mmax,
const int color,
35 std::pair<float,float>(*
size)(
int),
const std::vector<SubDetParams>& vsub);
38 TCanvas*
drawMap(
const char* cname,
const TH1* hval,
const TProfile* averadius,
const TProfile* avez,
const float mmin,
const float mmax,
39 std::pair<float,float>(*
size)(
int),
float(*
scale)(
float),
const int color,
const char* ptitle=
"");
42 #endif // DPGAnalysis_SiStripTools_OccupancyPlotMacros_h
void PlotDebugFPIX_XYMap(TFile *ff, const char *module, const unsigned int ioffset, const char *name)
void PlotOnTrackOccupancy(TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color)
void PlotOccupancyMapPhase1(TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color)
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::pair< float, float > phase2bin(int i)
void PlotOccupancyMap(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)
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), 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)
void PlotTrackerXsect(TFile *ff, const char *module)
T x() const
Cartesian x coordinate.
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)
void PlotOnTrackOccupancyPhase2(TFile *ff, const char *module, const char *ontrkmod, 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 PlotOnTrackOccupancyPhase1(TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color)
tuple size
Write out results.
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)