#include <DiTauSelectionCuts.h>
Definition at line 78 of file DiTauSelectionCuts.h.
◆ DiTauSelectionCutAbsEta()
◆ accept()
Implements TauAnalysisTools::DiTauSelectionCut.
Definition at line 159 of file DiTauSelectionCuts.cxx.
161{
162
163 unsigned int iNumEtaRegion =
m_tDTST->m_vAbsEtaRegion.size()/2;
164 for( unsigned int iEtaRegion = 0; iEtaRegion < iNumEtaRegion; iEtaRegion++ )
165 {
166 if ( std::abs( xDiTau.eta() ) >=
m_tDTST->m_vAbsEtaRegion.at(iEtaRegion*2) and std::abs( xDiTau.eta() ) <=
m_tDTST->m_vAbsEtaRegion.at(iEtaRegion*2+1))
167 {
168 acceptData.setCutResult( "AbsEta", true );
169 return true;
170 }
171 }
172 m_tDTST->msg() << MSG::VERBOSE <<
"DiTau failed eta requirement, ditau eta: " << xDiTau.eta() <<
endmsg;
173 return false;
174}
◆ CreateControlPlot()
| TH1F * DiTauSelectionCut::CreateControlPlot |
( |
const char * | sName, |
|
|
const char * | sTitle, |
|
|
int | iBins, |
|
|
double | dXLow, |
|
|
double | dXUp ) |
|
inherited |
Definition at line 36 of file DiTauSelectionCuts.cxx.
37{
38 if (
m_tDTST->m_bCreateControlPlots)
39 {
40 TH1F* hHist =
new TH1F(sName, sTitle, iBins, dXLow, dXUp);
41 hHist->SetDirectory(0);
42 return hHist;
43 }
44
45 return nullptr;
46}
TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
◆ declareProperty()
| void DiTauSelectionCut::declareProperty |
( |
const std::string & | name, |
|
|
std::string & | loc ) |
|
protectedinherited |
◆ fillHistogram()
| void DiTauSelectionCutAbsEta::fillHistogram |
( |
const xAOD::DiTauJet & | xTau, |
|
|
TH1F & | hHist ) const |
|
overrideprivatevirtual |
◆ fillHistogramCut()
| void DiTauSelectionCut::fillHistogramCut |
( |
const xAOD::DiTauJet & | xTau | ) |
|
|
inherited |
◆ fillHistogramCutPre()
| void DiTauSelectionCut::fillHistogramCutPre |
( |
const xAOD::DiTauJet & | xTau | ) |
|
|
inherited |
◆ getName()
| const std::string & TauAnalysisTools::DiTauSelectionCut::getName |
( |
| ) |
|
|
inlineinherited |
◆ getProperty()
| std::string DiTauSelectionCut::getProperty |
( |
const std::string & | name | ) |
|
|
protectedinherited |
Definition at line 78 of file DiTauSelectionCuts.cxx.
79{
80 std::map<std::string, std::string&>::iterator
it =
m_mProperties.find(name);
82 throw std::runtime_error (("Undeclared property: " + name + "\n").c_str());
83
85}
◆ setAcceptInfo()
| void DiTauSelectionCutAbsEta::setAcceptInfo |
( |
asg::AcceptInfo & | info | ) |
const |
|
overridevirtual |
◆ setProperty()
| void DiTauSelectionCut::setProperty |
( |
const std::string & | name, |
|
|
const std::string & | value ) |
|
inherited |
Definition at line 62 of file DiTauSelectionCuts.cxx.
63{
64 std::map<std::string, std::string&>::iterator
it =
m_mProperties.find(name);
66 throw std::runtime_error (("Undeclared property: " + name + "\n").c_str());
68}
◆ writeControlHistograms()
| void DiTauSelectionCut::writeControlHistograms |
( |
| ) |
|
|
inherited |
◆ m_hHistCut
| TH1F* TauAnalysisTools::DiTauSelectionCut::m_hHistCut |
|
protectedinherited |
◆ m_hHistCutPre
| TH1F* TauAnalysisTools::DiTauSelectionCut::m_hHistCutPre |
|
protectedinherited |
◆ m_mProperties
| std::map<std::string, std::string&> TauAnalysisTools::DiTauSelectionCut::m_mProperties |
|
protectedinherited |
◆ m_sName
| std::string TauAnalysisTools::DiTauSelectionCut::m_sName |
|
protectedinherited |
◆ m_tDTST
The documentation for this class was generated from the following files: