19 "inner match #chi^{2};inner match #chi^{2};;Entries", 100, 0., 100.);
21 ELoss =
Book1D(
"ELoss",
"ELoss;ELoss [GeV];Entries", 100, 0, 20);
22 ELossSigma =
Book1D(
"ELossSigma",
"ELossSigma;ELossSgima [GeV];Entries", 50, 0, 5);
24 paramELoss =
Book1D(
"paramELoss",
"paramELoss;paramELoss [GeV];Entries", 50, 0, 10);
25 measELoss =
Book1D(
"measELoss",
"measELoss;measELoss [GeV];Entries", 100, 0, 20);
30 FillPlot(
ELoss, mu, xAOD::Muon::ParamDef::EnergyLoss, 0.001, weight);
37 const xAOD::Muon::ParamDef paramDef,
float scale,
39 if (mu.muonType() == xAOD::Muon::MuonType::CaloTagged) {
45 if (mu.parameter(fpar, paramDef)) {
46 hist->Fill(scale * fpar, weight);
Helper class to provide constant type-safe access to aux data.
MuonParamPlots(PlotBase *pParent, const std::string &sDir)
void fill(const xAOD::Muon &mu, float weight=1.0)
void FillPlot(TH1 *hist, const xAOD::Muon &mu, const xAOD::Muon::ParamDef paramDef, float scale=1, float weight=1.0)
TH1D * Book1D(std::string_view name, std::string_view labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
PlotBase(PlotBase *parent, std::string_view sDir)
Helper class to provide constant type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Muon_v1 Muon
Reference the current persistent version: