#include <TauSelectionCuts.h>
Definition at line 125 of file TauSelectionCuts.h.
◆ TauSelectionCutGNTauScoreSigTrans()
| TauSelectionCutGNTauScoreSigTrans::TauSelectionCutGNTauScoreSigTrans |
( |
TauSelectionTool * | tTST | ) |
|
◆ accept()
Implements TauAnalysisTools::TauSelectionCut.
Definition at line 319 of file TauSelectionCuts.cxx.
321{
322
323 static const SG::ConstAccessor<float>
acc (
"GNTauScoreSigTrans_v0prune");
324 float dGNTauScoreSigTrans =
acc(xTau);
325 unsigned int iNumGNTauSigTransRegion =
m_tTST->m_vGNTauSigTransRegion.size()/2;
326 for( unsigned int iGNTauSigTransRegion = 0; iGNTauSigTransRegion < iNumGNTauSigTransRegion; iGNTauSigTransRegion++ )
327 {
328 if ( dGNTauScoreSigTrans >=
m_tTST->m_vGNTauSigTransRegion.at(iGNTauSigTransRegion*2) and dGNTauScoreSigTrans <= m_tTST->m_vGNTauSigTransRegion.at(iGNTauSigTransRegion*2+1))
329 {
330 acceptData.setCutResult( "GNTauScoreSigTrans", true );
331 return true;
332 }
333 }
334 m_tTST->msg() << MSG::VERBOSE <<
"Tau failed GNTauScore requirement, tau GNTauScore: " << dGNTauScoreSigTrans <<
endmsg;
335 return false;
336}
◆ CreateControlPlot()
| TH1F * TauSelectionCut::CreateControlPlot |
( |
const char * | sName, |
|
|
const char * | sTitle, |
|
|
int | iBins, |
|
|
double | dXLow, |
|
|
double | dXUp ) |
|
inherited |
Definition at line 44 of file TauSelectionCuts.cxx.
45{
46 if (
m_tTST->m_bCreateControlPlots)
47 {
48 TH1F* hHist =
new TH1F(sName, sTitle, iBins, dXLow, dXUp);
49 hHist->SetDirectory(0);
50 return hHist;
51 }
52
53 return nullptr;
54}
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
◆ declareProperty()
| void TauSelectionCut::declareProperty |
( |
const std::string & | name, |
|
|
std::string & | loc ) |
|
protectedinherited |
◆ fillHistogram()
| void TauSelectionCutGNTauScoreSigTrans::fillHistogram |
( |
const xAOD::TauJet & | xTau, |
|
|
TH1F & | hHist ) const |
|
overrideprivatevirtual |
◆ fillHistogramCut()
| void TauSelectionCut::fillHistogramCut |
( |
const xAOD::TauJet & | xTau | ) |
|
|
inherited |
◆ fillHistogramCutPre()
| void TauSelectionCut::fillHistogramCutPre |
( |
const xAOD::TauJet & | xTau | ) |
|
|
inherited |
◆ getName()
| const std::string & TauAnalysisTools::TauSelectionCut::getName |
( |
| ) |
|
|
inlineinherited |
◆ getProperty()
| std::string TauSelectionCut::getProperty |
( |
const std::string & | name | ) |
|
|
protectedinherited |
Definition at line 86 of file TauSelectionCuts.cxx.
87{
88 std::map<std::string, std::string&>::iterator
it =
m_mProperties.find(name);
90 throw std::runtime_error (("Undeclared property: " + name + "\n").c_str());
91
93}
◆ setAcceptInfo()
| void TauSelectionCutGNTauScoreSigTrans::setAcceptInfo |
( |
asg::AcceptInfo & | info | ) |
const |
|
overridevirtual |
◆ setProperty()
| void TauSelectionCut::setProperty |
( |
const std::string & | name, |
|
|
const std::string & | value ) |
|
inherited |
Definition at line 70 of file TauSelectionCuts.cxx.
71{
72 std::map<std::string, std::string&>::iterator
it =
m_mProperties.find(name);
74 throw std::runtime_error (("Undeclared property: " + name + "\n").c_str());
76}
◆ writeControlHistograms()
| void TauSelectionCut::writeControlHistograms |
( |
| ) |
|
|
inherited |
◆ m_hHistCut
| TH1F* TauAnalysisTools::TauSelectionCut::m_hHistCut |
|
protectedinherited |
◆ m_hHistCutPre
| TH1F* TauAnalysisTools::TauSelectionCut::m_hHistCutPre |
|
protectedinherited |
◆ m_mProperties
| std::map<std::string, std::string&> TauAnalysisTools::TauSelectionCut::m_mProperties |
|
protectedinherited |
◆ m_sName
| std::string TauAnalysisTools::TauSelectionCut::m_sName |
|
protectedinherited |
◆ m_tTST
The documentation for this class was generated from the following files: