|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef JETCALIBTOOLS_JETPILEUP1DRESIDUALCALIBSTEP_H
6 #define JETCALIBTOOLS_JETPILEUP1DRESIDUALCALIBSTEP_H 1
50 double getResidualOffset (
double abseta,
double mu,
double NPV,
int nJet,
bool MuOnly,
bool NOnly )
const;
58 const std::vector<double>& OffsetNjet,
59 const TAxis *OffsetBins)
const;
67 Gaudi::Property<bool>
m_isData{
this,
"IsData",
false,
""};
68 Gaudi::Property<bool>
m_doJetArea{
this,
"DoJetArea",
false,
"doc"};
71 "EventInfo.averageInteractionsPerCrossing",
"Decoration for Average Interaction Per Crossing"};
78 Gaudi::Property<bool>
m_doMuOnly{
this,
"ApplyOnlyMuResidual",
false,
"doc"};
79 Gaudi::Property<bool>
m_doNPVOnly{
this,
"ApplyOnlyNPVResidual",
false,
"doc"};
80 Gaudi::Property<bool>
m_doNJetOnly{
this,
"ApplyOnlyNJetResidual",
false,
"doc"};
82 Gaudi::Property<float>
m_NPV_ref{this ,
"DefaultNPVRef", -99.,
""};
83 Gaudi::Property<float>
m_mu_ref{this ,
"DefaultMuRef", -99.,
""};
84 Gaudi::Property<float>
m_nJet_ref{this ,
"DefaultNjetRef", -99.,
""};
85 Gaudi::Property<float>
m_muSF{this ,
"MuScaleFactor", 1.,
""};
88 "",
"a jet container such as HLT_xAOD__JetContainer_a4tcemsubjesISFS"};
90 Gaudi::Property<bool>
m_useNjet{this ,
"UseNjet",
false,
""};
94 Gaudi::Property<std::string>
m_calibFile {
this,
"CalibFile",
"none",
"residual offset calib file"};
96 Gaudi::Property<std::string>
m_corrName {
this,
"CorrectionName",
"none",
""};
97 Gaudi::Property<std::string>
m_corrDesc {
this,
"CorrectionDesc",
"none",
""};
99 Gaudi::Property<std::vector<double> >
m_offsetEtaBins{
this,
"AbsEtaBins", {} ,
""};
100 Gaudi::Property<std::vector<double> >
m_resOffsetMu{
this,
"MuTerm", {} ,
""};
113 Gaudi::Property<std::string>
m_originScale {
this,
"OriginScale",
"",
"scale from which correction is applied" };
virtual StatusCode calibrate(xAOD::JetContainer &jetCont) const override
Apply calibration to a jet container.
Gaudi::Property< std::string > m_originScale
Gaudi::Property< bool > m_applyNPVBeamspotCorrection
Gaudi::Property< bool > m_doOnlyResidual
double getNPVBeamspotCorrection(double NPV) const
Gaudi::Property< std::string > m_corrDesc
Gaudi::Property< bool > m_doMuOnly
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< bool > m_isData
NPVBeamspotCorrection * m_npvBeamspotCorr
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Gaudi::Property< std::vector< double > > m_offsetEtaBins
SG::ReadHandleKey< xAOD::JetContainer > m_nJetContainerKey
Gaudi::Property< std::vector< double > > m_resOffsetNjet
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadDecorHandleKey< xAOD::EventInfo > m_muKey
Gaudi::Property< float > m_nJet_ref
Gaudi::Property< std::string > m_calibFile
Gaudi::Property< bool > m_useNjet
Gaudi::Property< float > m_mu_ref
Gaudi::Property< bool > m_doSequentialResidual
double getResidualOffset(double abseta, double mu, double NPV, int nJet, bool MuOnly, bool NOnly) const
Pileup1DResidualCalibStep(const std::string &name="Pileup1DResidualCalibStep")
Gaudi::Property< float > m_NPV_ref
Gaudi::Property< std::string > m_corrName
Gaudi::Property< bool > m_doNJetOnly
Gaudi::Property< bool > m_doNPVOnly
Gaudi::Property< int > m_njetThreshold
Gaudi::Property< std::vector< double > > m_resOffsetNPV
SG::ReadHandleKey< xAOD::EventShape > m_rhoKey
SG::ReadHandleKey< xAOD::VertexContainer > m_pvKey
Gaudi::Property< float > m_muSF
Gaudi::Property< bool > m_doJetArea
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Gaudi::Property< std::vector< double > > m_resOffsetMu
double getResidualOffsetET(double abseta, double mu, double NPV, int nJet, bool MuOnly, bool NOnly, const std::vector< double > &OffsetMu, const std::vector< double > &OffsetNPV, const std::vector< double > &OffsetNjet, const TAxis *OffsetBins) const