|
ATLAS Offline Software
|
Go to the documentation of this file.
18 , m_hHistCutPre(nullptr)
44 TH1F* hHist =
new TH1F(sName, sTitle, iBins, dXLow, dXUp);
45 hHist->SetDirectory(0);
70 throw std::runtime_error ((
"Undeclared property: " +
name +
"\n").c_str());
77 std::pair<std::string, std::string&>
p(
name, loc);
86 throw std::runtime_error ((
"Undeclared property: " +
name +
"\n").c_str());
104 hHist.Fill(xDiTau.
pt()/1000.);
111 "Selection of ditaus according to their transverse momentum" );
118 double pt = xDiTau.
pt() / 1000.;
129 for(
unsigned int iPtRegion = 0; iPtRegion < iNumPtRegion; iPtRegion++ )
131 if (
pt >=
m_tDTST->
m_vPtRegion.at(iPtRegion*2) and pt <= m_tDTST->m_vPtRegion.at(iPtRegion*2+1))
153 hHist.Fill(xDiTau.
eta());
159 info.addCut(
"AbsEta",
160 "Selection of ditaus according to their absolute pseudorapidity" );
168 for(
unsigned int iEtaRegion = 0; iEtaRegion < iNumEtaRegion; iEtaRegion++ )
198 info.addCut(
"NSubjets",
199 "Selection of ditaus according to their number of subjets" );
216 for(
unsigned int iNSubjetsRegion = 0; iNSubjetsRegion < iNumNSubjetsRegion; iNSubjetsRegion++ )
218 if ( nsubjets >=
m_tDTST->
m_vNSubjetsRegion.at(iNSubjetsRegion*2) and nsubjets <= m_tDTST->m_vNSubjetsRegion.at(iNSubjetsRegion*2+1))
JetConstituentVector::iterator iterator
virtual double pt() const
The transverse momentum ( ) of the particle.
virtual double eta() const
The pseudorapidity ( ) of the particle.
void setCutResult(const std::string &cutName, bool cutResult)
Set the result of a cut, based on the cut name (safer)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)