Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TAURECTOOLS_TAUWPDECORATOR_H
6 #define TAURECTOOLS_TAUWPDECORATOR_H
74 double transformScore(
double score,
double cutLow,
double effLow,
double cutHigh,
double effHigh)
const;
79 Gaudi::Property<std::string>
m_scoreName{
this,
"ScoreName",
""};
81 Gaudi::Property<std::string>
m_file0p{
this,
"flatteningFile0Prong",
""};
82 Gaudi::Property<std::string>
m_file1p{
this,
"flatteningFile1Prong",
""};
83 Gaudi::Property<std::string>
m_file2p{
this,
"flatteningFile2Prong",
""};
84 Gaudi::Property<std::string>
m_file3p{
this,
"flatteningFile3Prong",
""};
85 Gaudi::Property<std::vector<int>>
m_EDMWPs{
this,
"CutEnumVals", {}};
86 Gaudi::Property<std::vector<float>>
m_EDMWPEffs0p{
this,
"SigEff0P", {}};
87 Gaudi::Property<std::vector<float>>
m_EDMWPEffs1p{
this,
"SigEff1P", {}};
88 Gaudi::Property<std::vector<float>>
m_EDMWPEffs2p{
this,
"SigEff2P", {}};
89 Gaudi::Property<std::vector<float>>
m_EDMWPEffs3p{
this,
"SigEff3P", {}};
90 Gaudi::Property<std::vector<std::string>>
m_decorWPs{
this,
"DecorWPNames", {}};
91 Gaudi::Property<std::vector<float>>
m_decorWPEffs0p{
this,
"DecorWPCutEffs0P", {}};
92 Gaudi::Property<std::vector<float>>
m_decorWPEffs1p{
this,
"DecorWPCutEffs1P", {}};
93 Gaudi::Property<std::vector<float>>
m_decorWPEffs2p{
this,
"DecorWPCutEffs2P", {}};
94 Gaudi::Property<std::vector<float>>
m_decorWPEffs3p{
this,
"DecorWPCutEffs3P", {}};
99 "averageInteractionsPerCrossingKey",
100 "EventInfo.averageInteractionsPerCrossing",
101 "Decoration for Average Interaction Per Crossing"};
103 typedef std::pair<double, std::shared_ptr<TH2> >
m_pair_t;
116 #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.
Gaudi::Property< std::vector< float > > m_EDMWPEffs2p
Gaudi::Property< std::vector< std::string > > m_decorWPs
Gaudi::Property< std::vector< float > > m_EDMWPEffs3p
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.
Gaudi::Property< std::vector< float > > m_decorWPEffs0p
Gaudi::Property< std::vector< float > > m_EDMWPEffs0p
std::shared_ptr< std::vector< m_pair_t > > m_hists1p
Efficiency and corresponding score distributions of 1-prong taus.
Gaudi::Property< std::vector< int > > m_EDMWPs
Gaudi::Property< std::vector< float > > m_decorWPEffs1p
SG::ReadDecorHandleKey< xAOD::EventInfo > m_aveIntPerXKey
Gaudi::Property< std::string > m_scoreName
TauWPDecorator(const std::string &name="TauWPDecorator")
Constructor.
::StatusCode StatusCode
StatusCode definition for legacy code.
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.
Gaudi::Property< std::vector< float > > m_EDMWPEffs1p
std::shared_ptr< std::vector< m_pair_t > > m_hists2p
Efficiency and corresponding score distributions of 2-prong taus.
Gaudi::Property< std::string > m_file3p
Gaudi::Property< std::string > m_file2p
Gaudi::Property< std::string > m_file0p
Gaudi::Property< std::string > m_file1p
virtual StatusCode execute(xAOD::TauJet &tau) const override
Executation of this tool.
std::map< int, double > m_yMin
Map of n-prong and the minimum value of y variables.
Gaudi::Property< bool > m_useAbsEta
Gaudi::Property< std::string > m_scoreNameTrans
Gaudi::Property< std::vector< float > > m_decorWPEffs3p
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Gaudi::Property< bool > m_defineWPs
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.
Gaudi::Property< std::vector< float > > m_decorWPEffs2p
std::pair< double, std::shared_ptr< TH2 > > m_pair_t