1 #ifndef CONDCORE_RUNINFOPLUGINS_RUNINFOPAYLOADINSPECTORHELPER_H 2 #define CONDCORE_RUNINFOPLUGINS_RUNINFOPAYLOADINSPECTORHELPER_H 50 case m_run :
return "run number";
59 case m_fedIN :
return "n. FEDs";
60 case m_BField :
return "B-field intensity [T]";
61 default:
return "should never be here";
72 for(
int i=0;
i<20;
i++ ) {
74 rgb[
i][0] = 0.80+0.01*
i;
75 rgb[
i][1] = 0.00+0.03*
i;
77 }
else if (
i < 19 ) {
78 rgb[
i][0] = 0.80+0.01*
i;
79 rgb[
i][1] = 0.00+0.03*
i+0.15+0.10*(
i-17);
81 }
else if (
i == 19 ){
86 pcol[
i] = TColor::GetColor(rgb[
i][0], rgb[i][1], rgb[i][2]);
89 gStyle->SetPalette(20, pcol);
92 obj->SetMinimum(-1.
e-15);
93 obj->SetMaximum(+1.0);
94 obj->SetOption(
"colz");
void reportSummaryMapPalette(TH2 *obj)
std::array< float, 7 > nominalFields
std::string getStringFromTypeEnum(const parameters ¶meter)
std::array< int, 7 > nominalCurrents
float theBField(const float current)
def rgb(r, g, b, maximum=1.)