![]() |
ATLAS Offline Software
|
#include <PUResidual3DCorrection.h>
Public Member Functions | |
| ~PU3DCorrectionHelper () | |
| float | correctedPt (float pt, float eta, float area, float rho, float mu, int NPV) const |
| Main function which returns the corrected pT. | |
| float | correctionFactor (float pt, float eta, float area, float rho, float mu, int NPV) const |
| same as above but returns the ration pT_corrected/pT_uncorrected | |
| float | correction3D (float pt, float eta, float mu, int NPV) const |
| calculate the mu,NPV dependent part of the correction. | |
| float | deltaPtCorrection (float pt, float eta) const |
| IMPORTANT : the pt must be given in GeV. | |
| void | loadParameters (const std::string &fileName, const std::string ¶m3D_name="param3D", const std::string ¶mDelta_name="paramDeltaPt", const std::string &etaBins_name="etaBins") |
| Loads the calib constants from histograms in TFile named fileName. | |
| void | setupClosestNonEmptyBins () |
| float | correction3D_noextrap (float pt, float eta, float mu, int NPV) const |
| calculate the mu,NPV dependent part of the correction (this is only used for tests and validation) IMPORTANT : the pt must be given in GeV | |
| float | correction3D_interp (float pt, float eta, float mu, int NPV) const |
Public Attributes | |
| std::unique_ptr< TAxis > | m_etaBins |
| std::vector< std::unique_ptr< TH2D > > | m_3Dp0_vs_muNPV |
| std::vector< std::unique_ptr< TH2D > > | m_3Dp1_vs_muNPV |
| std::vector< std::unique_ptr< TH2D > > | m_3Dp2_vs_muNPV |
| TH2D * | m_ref3DHisto = nullptr |
| bool | m_use3Dp2 =true |
| std::unique_ptr< TH1F > | m_Dptp0_vs_eta =nullptr |
| std::unique_ptr< TH1F > | m_Dptp1_vs_eta =nullptr |
| float | m_maxPt =170.0 |
| float | m_rhoEnergyScale = 0.001 |
| float | m_pTEnergyScale = 0.001 |
| bool | m_applyDeltaPtTerm = true |
| std::vector< std::vector< int > > | m_closestNonEmpty |
Definition at line 28 of file PUResidual3DCorrection.h.
|
inline |
Definition at line 30 of file PUResidual3DCorrection.h.
|
inline |
Main function which returns the corrected pT.
Definition at line 35 of file PUResidual3DCorrection.h.
|
inline |
calculate the mu,NPV dependent part of the correction.
IMPORTANT : the pt must be given in GeV
Definition at line 62 of file PUResidual3DCorrection.h.
|
inline |
Definition at line 246 of file PUResidual3DCorrection.h.
|
inline |
calculate the mu,NPV dependent part of the correction (this is only used for tests and validation)
IMPORTANT : the pt must be given in GeV
Definition at line 227 of file PUResidual3DCorrection.h.
|
inline |
same as above but returns the ration pT_corrected/pT_uncorrected
Definition at line 53 of file PUResidual3DCorrection.h.
|
inline |
IMPORTANT : the pt must be given in GeV.
Definition at line 84 of file PUResidual3DCorrection.h.
|
inline |
Loads the calib constants from histograms in TFile named fileName.
Definition at line 94 of file PUResidual3DCorrection.h.
|
inline |
Definition at line 138 of file PUResidual3DCorrection.h.
| std::vector<std::unique_ptr<TH2D> > PUCorrection::PU3DCorrectionHelper::m_3Dp0_vs_muNPV |
Definition at line 187 of file PUResidual3DCorrection.h.
| std::vector<std::unique_ptr<TH2D> > PUCorrection::PU3DCorrectionHelper::m_3Dp1_vs_muNPV |
Definition at line 188 of file PUResidual3DCorrection.h.
| std::vector<std::unique_ptr<TH2D> > PUCorrection::PU3DCorrectionHelper::m_3Dp2_vs_muNPV |
Definition at line 189 of file PUResidual3DCorrection.h.
| bool PUCorrection::PU3DCorrectionHelper::m_applyDeltaPtTerm = true |
Definition at line 203 of file PUResidual3DCorrection.h.
| std::vector< std::vector<int> > PUCorrection::PU3DCorrectionHelper::m_closestNonEmpty |
Definition at line 207 of file PUResidual3DCorrection.h.
| std::unique_ptr<TH1F> PUCorrection::PU3DCorrectionHelper::m_Dptp0_vs_eta =nullptr |
Definition at line 194 of file PUResidual3DCorrection.h.
| std::unique_ptr<TH1F> PUCorrection::PU3DCorrectionHelper::m_Dptp1_vs_eta =nullptr |
Definition at line 195 of file PUResidual3DCorrection.h.
| std::unique_ptr<TAxis> PUCorrection::PU3DCorrectionHelper::m_etaBins |
Definition at line 186 of file PUResidual3DCorrection.h.
| float PUCorrection::PU3DCorrectionHelper::m_maxPt =170.0 |
Definition at line 199 of file PUResidual3DCorrection.h.
| float PUCorrection::PU3DCorrectionHelper::m_pTEnergyScale = 0.001 |
Definition at line 201 of file PUResidual3DCorrection.h.
| TH2D* PUCorrection::PU3DCorrectionHelper::m_ref3DHisto = nullptr |
Definition at line 190 of file PUResidual3DCorrection.h.
| float PUCorrection::PU3DCorrectionHelper::m_rhoEnergyScale = 0.001 |
Definition at line 200 of file PUResidual3DCorrection.h.
| bool PUCorrection::PU3DCorrectionHelper::m_use3Dp2 =true |
Definition at line 191 of file PUResidual3DCorrection.h.