|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/SystemOfUnits.h"
10 using namespace IDPVM;
32 size_t dotPos = bin_low.find(
'.');
33 bin_low.resize(dotPos+2);
34 bin_low.replace(dotPos, 1, 1,
'p');
36 dotPos = bin_up.find(
'.');
37 bin_up.resize(dotPos+2);
38 bin_up.replace(dotPos, 1, 1,
'p');
41 "efficiency_vs_truthMu_absEta_"+bin_low+
"_"+bin_up);
43 "efficiency_vs_actualMu_absEta_"+bin_low+
"_"+bin_up);
91 int nbins =
h->GetNbinsX();
126 double d0 = d0Acc(truth);
127 double z0 = z0Acc(truth);
128 double R = prodRAcc(truth);
129 double Z = prodZAcc(truth);
155 double prod_rad = vtx->
perp();
156 double prod_z = vtx->
z();
180 double d0 = d0Acc(truth);
181 double z0 = z0Acc(truth);
TEfficiency * m_technical_efficiency_vs_actualMu
Class to retrieve associated truth from a track, implementing a cached response.
TEfficiency * m_efficiency_vs_pt_log
std::vector< TEfficiency * > m_efficiency_vs_actualMu_eta_bin
TEfficiency * m_efficiency_vs_prodR
TEfficiency * m_efficiency_vs_ptTruthMu
TEfficiency * m_extended_efficiency_vs_z0
TEfficiency * m_TrkRec_pT
Scalar phi() const
phi method
void book(Htype *&pHisto, const std::string &histoIdentifier, const std::string &nameOverride="", const std::string &folder="default")
Helper method to book histograms using an identifier string.
TEfficiency * m_efficiency_vs_eta
TEfficiency * m_efficiency_vs_truthMu
TEfficiency * m_efficiency_vs_prodZ
TEfficiency * m_efficiency_vs_etaActualMu
InDetPerfPlot_Efficiency(InDetPlotBase *pParent, const std::string &dirName)
TEfficiency * m_technical_efficiency_vs_eta
Scalar eta() const
pseudorapidity method
TEfficiency * m_efficiency_vs_z0
TEfficiency * m_TrkRec_eta
TEfficiency * m_TrkRec_actualMu
TEfficiency * m_technical_efficiency_vs_z0
TEfficiency * m_extended_efficiency_vs_d0
TEfficiency * m_efficiency_vs_prodZ_extended
TEfficiency * m_technical_efficiency_vs_pteta
TEfficiency * m_TrkRec_truthMu
TEfficiency * m_extended_efficiency_vs_d0_abs
TEfficiency * m_efficiency_vs_pt_high
TEfficiency * m_efficiency_vs_pteta
std::vector< double > logLinearBinning(const unsigned int nBins, const double absXmin, const double absXmax, const bool symmetriseAroundZero)
TEfficiency * m_efficiency_vs_R
TEfficiency * m_efficiency_vs_ptActualMu
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
TEfficiency * m_TrkRec_prodR
void fillTechnicalEfficiency(const xAOD::TruthParticle &truth, const bool isGood, unsigned int truthMu, float actualMu, float weight)
Class describing a truth particle in the MC record.
float perp() const
Vertex transverse distance from the beam line.
bool hasProdVtx() const
Check for a production vertex on this particle.
std::vector< float > m_eta_bins
std::vector< TEfficiency * > m_efficiency_vs_truthMu_eta_bin
double R(const INavigable4Momentum *p1, const double v_eta, const double v_phi)
TEfficiency * m_TrkRec_d0
TEfficiency * m_efficiency_vs_z0_abs
void fill(const xAOD::TruthParticle &truth, const bool isGood, unsigned int truthMu, float actualMu, float weight)
const TruthVertex_v1 * prodVtx() const
The production vertex of this particle.
TEfficiency * m_TrkRec_eta_d0
Class describing a truth vertex in the MC record.
TEfficiency * m_TrkRec_eta_prodR
std::string to_string(const DetectorType &type)
TEfficiency * m_efficiency_vs_d0
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
TEfficiency * m_efficiency_vs_Z
TEfficiency * m_efficiency_vs_etaTruthMu
TEfficiency * m_efficiency_vs_d0_abs
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
TEfficiency * m_technical_efficiency_vs_pt
TEfficiency * m_TrkRec_eta_pT
TEfficiency * m_efficiency_vs_prodR_extended
float z() const
Vertex longitudinal distance along the beam line form the origin.
TEfficiency * m_efficiency_vs_pt_low
TEfficiency * m_technical_efficiency_vs_truthMu
virtual double pt() const override final
The transverse momentum ( ) of the particle.
TEfficiency * m_technical_efficiency_vs_d0
TEfficiency * m_extended_efficiency_vs_z0_abs
Helper class to provide constant type-safe access to aux data.
static void fillHisto(TProfile *pTprofile, const float bin, const float weight, const float weight2=1.0)
TEfficiency * m_technical_efficiency_vs_phi
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
TEfficiency * m_efficiency_vs_phi
TEfficiency * m_efficiency_vs_actualMu
TEfficiency * m_efficiency_vs_lowpt
TEfficiency * m_efficiency_vs_pt