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
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)
const edm::EventSetup & c
void PlotOccupancyMapPhase1(TFile *ff, const char *module, const float min, const float max, const float mmin, const float mmax, const int color)
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)
uint16_t const *__restrict__ x
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)
std::pair< float, float > phase2bin(int i)
void PlotOnTrackOccupancyPhase1(TFile *ff, const char *module, const char *ontrkmod, const float mmin, const float mmax, const int color)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
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)