template<class PayloadType>
class simBeamSpotPI::DisplayParameters< PayloadType >
Definition at line 824 of file BeamSpotPayloadInspectorHelper.h.
template<class PayloadType >
Implements cond::payloadInspector::PlotImpl< IOV_M, 0 >.
Definition at line 830 of file BeamSpotPayloadInspectorHelper.h.
References simBeamSpotPI::alpha, simBeamSpotPI::betaStar, svgfig::canvas(), simBeamSpotPI::DisplayParameters< PayloadType >::cmToUm, simBeamSpotPI::emittance, simBeamSpotPI::END_OF_TYPES, 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::meanX, simBeamSpotPI::meanY, simBeamSpotPI::meanZ, simBeamSpotPI::phi, runTheMatrix::ret, simBeamSpotPI::sigmaX, simBeamSpotPI::sigmaY, simBeamSpotPI::sigmaZ, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, createPayload::tagname, simBeamSpotPI::timeOffset, simBeamSpotHLLHCPI::timeOffset, to_string(), beamSpotPI::unpack(), X, simBeamSpotPI::X, simBeamSpotPI::Y, photonAnalyzer_cfi::yBin, and simBeamSpotPI::Z.
831 auto tag = cond::payloadInspector::PlotBase::getTag<0>();
833 auto iov =
tag.iovs.front();
835 gStyle->SetHistMinimumZero(kTRUE);
839 TCanvas
canvas(
"Sim Beam Spot Parameters Summary",
"Sim BeamSpot Parameters summary", 1000, 1000);
841 canvas.cd(1)->SetTopMargin(0.05);
842 canvas.cd(1)->SetBottomMargin(0.06);
843 canvas.cd(1)->SetLeftMargin(0.25);
844 canvas.cd(1)->SetRightMargin(0.01);
849 h2_SimBSParameters->SetStats(
false);
851 std::function<double(parameters)> cutFunctor = [
this](
parameters my_param) {
889 h2_SimBSParameters->GetXaxis()->SetBinLabel(1,
"Value");
895 h2_SimBSParameters->GetYaxis()->SetBinLabel(
yBin, theLabel.c_str());
896 h2_SimBSParameters->SetBinContent(1,
yBin, cutFunctor(param));
900 h2_SimBSParameters->GetXaxis()->LabelsOption(
"h");
901 h2_SimBSParameters->GetYaxis()->SetLabelSize(0.05);
902 h2_SimBSParameters->GetXaxis()->SetLabelSize(0.05);
903 h2_SimBSParameters->SetMarkerSize(1.5);
904 h2_SimBSParameters->Draw(
"TEXT");
908 ltx.SetTextSize(0.025);
913 ltx.SetTextAlign(32);
914 ltx.DrawLatexNDC(1 - gPad->GetRightMargin(),
915 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)