template<class PayloadType>
class simBeamSpotPI::DisplayParameters< PayloadType >
Definition at line 809 of file BeamSpotPayloadInspectorHelper.h.
template<class PayloadType >
Implements cond::payloadInspector::PlotImpl< IOV_M, 0 >.
Definition at line 815 of file BeamSpotPayloadInspectorHelper.h.
References simBeamSpotPI::alpha, simBeamSpotPI::betaStar, svgfig::canvas(), simBeamSpotPI::DisplayParameters< PayloadType >::cmToUm, simBeamSpotPI::emittance, simBeamSpotPI::END_OF_TYPES, simBeamSpotPI::expTransWidth, cond::payloadInspector::PlotImage< PayloadType, cond::payloadInspector::SINGLE_IOV >::fetchPayload(), MillePedeFileConverter_cfg::fileName, custom_jme_cff::foo, simBeamSpotPI::getStringFromParamEnum(), cond::payloadInspector::PlotImage< PayloadType, cond::payloadInspector::SINGLE_IOV >::m_imageFileName, simBeamSpotPI::DisplayParameters< PayloadType >::m_payload, simBeamSpotPI::phi, runTheMatrix::ret, simBeamSpotPI::sigmaZ, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, createPayload::tagname, simBeamSpotPI::timeOffset, to_string(), beamSpotPI::unpack(), X, simBeamSpotPI::X, simBeamSpotPI::Y, photonAnalyzer_cfi::yBin, and simBeamSpotPI::Z.
816 auto tag = cond::payloadInspector::PlotBase::getTag<0>();
818 auto iov =
tag.iovs.front();
820 gStyle->SetHistMinimumZero(kTRUE);
824 TCanvas
canvas(
"Sim Beam Spot Parameters Summary",
"Sim BeamSpot Parameters summary", 1000, 1000);
826 canvas.cd(1)->SetTopMargin(0.05);
827 canvas.cd(1)->SetBottomMargin(0.06);
828 canvas.cd(1)->SetLeftMargin(0.25);
829 canvas.cd(1)->SetRightMargin(0.01);
834 h2_SimBSParameters->SetStats(
false);
836 std::function<double(parameters)> cutFunctor = [
this](
parameters my_param) {
866 h2_SimBSParameters->GetXaxis()->SetBinLabel(1,
"Value");
872 h2_SimBSParameters->GetYaxis()->SetBinLabel(
yBin, theLabel.c_str());
873 h2_SimBSParameters->SetBinContent(1,
yBin, cutFunctor(param));
877 h2_SimBSParameters->GetXaxis()->LabelsOption(
"h");
878 h2_SimBSParameters->GetYaxis()->SetLabelSize(0.05);
879 h2_SimBSParameters->GetXaxis()->SetLabelSize(0.05);
880 h2_SimBSParameters->SetMarkerSize(1.5);
881 h2_SimBSParameters->Draw(
"TEXT");
885 ltx.SetTextSize(0.025);
890 ltx.SetTextAlign(32);
891 ltx.DrawLatexNDC(1 - gPad->GetRightMargin(),
892 1 - gPad->GetTopMargin() + 0.01,
std::string m_imageFileName
static constexpr double cmToUm
ret
prodAgent to be discontinued
static std::string to_string(const XMLCh *ch)
std::pair< unsigned int, unsigned int > unpack(cond::Time_t since)
std::shared_ptr< PayloadType > m_payload
std::string getStringFromParamEnum(const parameters ¶meter, const bool addUnits=false)
std::shared_ptr< PayloadType > fetchPayload(const cond::Hash &payloadHash)