|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TAURECTOOLS_TAUWPDECORATOR_H
6 #define TAURECTOOLS_TAUWPDECORATOR_H
73 double transformScore(
double score,
double cutLow,
double effLow,
double cutHigh,
double effHigh)
const;
100 "averageInteractionsPerCrossingKey",
101 "EventInfo.averageInteractionsPerCrossing",
102 "Decoration for Average Interaction Per Crossing"};
104 typedef std::pair<double, std::shared_ptr<TH2> >
m_pair_t;
117 #endif // TAURECTOOLS_TAUWPDECORATOR_H
Implementation of tool to decorate flattened BDT score and working points.
std::map< int, double > m_yMax
Map of n-prong and the maximum value of y variables.
std::map< int, double > m_xMax
Map of n-prong and the maximum value of x variables.
~TauWPDecorator()
Destructor.
double transformScore(double score, double cutLow, double effLow, double cutHigh, double effHigh) const
Obtain the flattened score.
virtual StatusCode initialize() override
Initialization of this tool.
std::string m_file3p
Calibration file name of 3-prong taus.
std::vector< float > m_EDMWPEffs3p
Efficiency of each WP in EDM for 3-prong taus.
std::shared_ptr< std::vector< m_pair_t > > m_hists1p
Efficiency and corresponding score distributions of 1-prong taus.
bool m_useAbsEta
Whether we are flatterning electron veto WP.
SG::ReadDecorHandleKey< xAOD::EventInfo > m_aveIntPerXKey
std::string m_scoreName
Name of the original score.
TauWPDecorator(const std::string &name="TauWPDecorator")
Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< float > m_EDMWPEffs1p
Efficiency of each WP in EDM for 1-prong taus.
std::shared_ptr< std::vector< m_pair_t > > m_hists0p
Efficiency and corresponding score distributions of 0-prong taus.
Class describing a tau jet.
std::vector< SG::Accessor< char > > m_charDecors
std::map< int, double > m_xMin
Map of n-prong and the minimum value of x variables.
StatusCode storeLimits(int nProng)
Obtain the limit of the dependent variables.
std::shared_ptr< std::vector< m_pair_t > > m_hists2p
Efficiency and corresponding score distributions of 2-prong taus.
std::vector< float > m_EDMWPEffs2p
Efficiency of each WP in EDM for 2-prong taus.
std::vector< float > m_decorWPEffs0p
Efficiency of each WP to be docorated for 0-prong taus.
std::string m_scoreNameTrans
Name of the transformed score.
std::vector< std::string > m_decorWPs
Vector of WPs not in the EDM (to be decorated)
virtual StatusCode execute(xAOD::TauJet &tau) const override
Executation of this tool.
std::vector< float > m_decorWPEffs3p
Efficiency of each WP to be docorated for 3-prong taus.
std::map< int, double > m_yMin
Map of n-prong and the minimum value of y variables.
std::vector< int > m_EDMWPs
Vector of WPs in the EDM.
std::vector< float > m_EDMWPEffs0p
Efficiency of each WP in EDM for 0-prong taus.
std::vector< float > m_decorWPEffs1p
Efficiency of each WP to be docorated for 1-prong taus.
bool m_defineWPs
Whether to decorate the WPs.
std::string m_file0p
Calibration file name of 0-prong taus.
std::string m_file1p
Calibration file name of 1-prong taus.
std::string m_file2p
Calibration file name of 2-prong taus.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
std::shared_ptr< std::vector< m_pair_t > > m_hists3p
Efficiency and corresponding score distributions of 3-prong taus.
StatusCode retrieveHistos(int nProng)
Retrieve the histograms containing BDT/RNN score distributions as a function of dependent variables.
std::vector< float > m_decorWPEffs2p
Efficiency of each WP to be docorated for 2-prong taus.
std::pair< double, std::shared_ptr< TH2 > > m_pair_t