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
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="")
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void PlotTrackerXsect(TFile *ff, const char *module)
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 PlotOnTrackOccupancyPhase2(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 PlotOnTrackOccupancyPhase1(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)
TH1D * TrendPlotSingleBin(TFile *ff, const char *module, const char *hname, const int bin)
bin
set the eta bin as selection string.
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 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)