17 truthType =
Book1D(
"truthType",
"truthType;truthType;Entries", 50, -0.5, 49.5);
18 origin =
Book1D(
"truthOrigin",
"truthOrigin;truthOrigin;Entries", 40, -0.5, 39.5);
25 truthType->Fill(truthTypeAcc (truthprt), weight);
29 origin->Fill(truthOriginAcc (truthprt), weight);
Helper class to provide constant type-safe access to aux data.
TH1D * Book1D(const std::string &name, const std::string &labels, int nBins, float start, float end, bool prependDir=true)
Book a TH1D histogram.
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.
void fill(const xAOD::TruthParticle &truthprt, float weight=1.0)
Ensure that the ATLAS eigen extensions are properly loaded.
TruthParticle_v1 TruthParticle
Typedef to implementation.