#include <cTauMultiplicity.h>
|
static unsigned int | convertIsoToBit (const std::map< std::string, int > &isoFW_CTAU, const std::map< std::string, int > &isoFW_CTAU_jTAUCoreScale, const float jTauCoreEt, const float jTauIso, const float eTauEt) |
|
◆ cTauMultiplicity()
GlobalSim::cTauMultiplicity::cTauMultiplicity |
( |
const std::string & |
name, |
|
|
unsigned int |
nbits, |
|
|
const TrigConf::L1Threshold_cTAU & |
threshold, |
|
|
const std::map< std::string, int > & |
isoFW_CTAU, |
|
|
const std::map< std::string, int > & |
isoFW_CTAU_jTAUCoreScale |
|
) |
| |
◆ ~cTauMultiplicity()
virtual GlobalSim::cTauMultiplicity::~cTauMultiplicity |
( |
| ) |
|
|
virtualdefault |
◆ accept_et()
const std::vector< double > & GlobalSim::cTauMultiplicity::accept_et |
( |
| ) |
const |
◆ accept_eta()
const std::vector< double > & GlobalSim::cTauMultiplicity::accept_eta |
( |
| ) |
const |
◆ convertIsoToBit() [1/2]
unsigned int GlobalSim::cTauMultiplicity::convertIsoToBit |
( |
const std::map< std::string, int > & |
isoFW_CTAU, |
|
|
const std::map< std::string, int > & |
isoFW_CTAU_jTAUCoreScale, |
|
|
const float |
jTauCoreEt, |
|
|
const float |
jTauIso, |
|
|
const float |
eTauEt |
|
) |
| |
|
static |
Definition at line 240 of file Global/GlobalSimulation/src/L1TopoAlgs/cTauMultiplicity.cxx.
245 unsigned int bit = 0;
247 if( jTauIso*1024 + jTauCore*isoFW_CTAU_jTAUCoreScale.at(
"Loose") <
248 eTauEt*isoFW_CTAU.at(
"Loose") ) bit = 1;
250 if( jTauIso*1024 + jTauCore*isoFW_CTAU_jTAUCoreScale.at(
"Medium") <
251 eTauEt*isoFW_CTAU.at(
"Medium") ) bit = 2;
253 if( jTauIso*1024 + jTauCore*isoFW_CTAU_jTAUCoreScale.at(
"Tight") <
254 eTauEt*isoFW_CTAU.at(
"Tight") ) bit = 3;
◆ convertIsoToBit() [2/2]
◆ counts()
const std::vector< double > & GlobalSim::cTauMultiplicity::counts |
( |
| ) |
const |
◆ cTauMatching()
Definition at line 201 of file Global/GlobalSimulation/src/L1TopoAlgs/cTauMultiplicity.cxx.
204 bool matching =
false;
212 if (etauCand->
eta()%4 >= 0 ) {
213 eTauEtaTower = etauCand->
eta() - etauCand->
eta()%4;
215 eTauEtaTower = etauCand->
eta() - etauCand->
eta()%4 - 4;
219 if (jtauCand->
eta()%4 >= 0 ) {
220 jTauEtaTower = jtauCand->
eta() - jtauCand->
eta()%4;
222 jTauEtaTower = jtauCand->
eta() - jtauCand->
eta()%4 - 4;
229 unsigned int eTauPhiTower = etauCand->
phi() >> 1;
230 unsigned int jTauPhiTower = jtauCand->
phi() >> 1;
233 matching = (eTauEtaTower == jTauEtaTower) && (eTauPhiTower == jTauPhiTower);
◆ run()
Definition at line 40 of file Global/GlobalSimulation/src/L1TopoAlgs/cTauMultiplicity.cxx.
48 for (
const auto& etauCand : cTaus) {
49 if(etauCand->tobType() !=
TCS::ETAU)
continue;
59 bool isIsolated =
false;
62 float isolation_partial_loose = 0;
65 float isolation_partial_medium = 0;
68 float isolation_partial_tight = 0;
71 unsigned int isoScore = 0;
74 for (
const auto& jtauCand : cTaus) {
76 if(jtauCand->tobType() !=
TCS::JTAU)
continue;
88 float denominator =
static_cast<float>(etauCand->Et());
91 float numerator =
static_cast<float>(jtauCand->EtIso()) +
93 static_cast<float>(jtauCand->Et());
98 numerator =
static_cast<float>(jtauCand->EtIso()) +
100 static_cast<float>(jtauCand->Et());
104 numerator =
static_cast<float>(jtauCand->EtIso()) +
106 static_cast<float>(jtauCand->Et());
125 m_TOB_et.push_back(etauCand->EtDouble());
150 if ( etauCand->eta()%4 >= 0 ) {
151 eta_thr = etauCand->eta() - etauCand->eta()%4;
153 eta_thr = etauCand->eta() - etauCand->eta()%4 - 4;
172 count.setSizeCount(counting);
174 return StatusCode::SUCCESS;
◆ TOB_et()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_et |
( |
| ) |
const |
◆ TOB_eta()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_eta |
( |
| ) |
const |
◆ TOB_isolation_partial_loose()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_isolation_partial_loose |
( |
| ) |
const |
◆ TOB_isolation_partial_medium()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_isolation_partial_medium |
( |
| ) |
const |
◆ TOB_isolation_partial_tight()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_isolation_partial_tight |
( |
| ) |
const |
◆ TOB_isoScore()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_isoScore |
( |
| ) |
const |
◆ TOB_phi()
const std::vector< double > & GlobalSim::cTauMultiplicity::TOB_phi |
( |
| ) |
const |
◆ toString()
std::string GlobalSim::cTauMultiplicity::toString |
( |
| ) |
const |
◆ m_accept_et
std::vector<double> GlobalSim::cTauMultiplicity::m_accept_et {} |
|
private |
◆ m_accept_eta
std::vector<double> GlobalSim::cTauMultiplicity::m_accept_eta {} |
|
private |
◆ m_counts
std::vector<double> GlobalSim::cTauMultiplicity::m_counts {} |
|
private |
◆ m_isoFW_CTAU
std::map<std::string, int> GlobalSim::cTauMultiplicity::m_isoFW_CTAU |
|
private |
◆ m_isoFW_CTAU_jTAUCoreScale
std::map<std::string, int> GlobalSim::cTauMultiplicity::m_isoFW_CTAU_jTAUCoreScale |
|
private |
◆ m_name
std::string GlobalSim::cTauMultiplicity::m_name {} |
|
private |
◆ m_nbits
unsigned int GlobalSim::cTauMultiplicity::m_nbits {0} |
|
private |
◆ m_numberOutputBits
unsigned int GlobalSim::cTauMultiplicity::m_numberOutputBits {0} |
|
private |
◆ m_threshold
◆ m_TOB_et
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_et {} |
|
private |
◆ m_TOB_eta
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_eta {} |
|
private |
◆ m_TOB_isolation_partial_loose
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_isolation_partial_loose {} |
|
private |
◆ m_TOB_isolation_partial_medium
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_isolation_partial_medium {} |
|
private |
◆ m_TOB_isolation_partial_tight
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_isolation_partial_tight {} |
|
private |
◆ m_TOB_isoScore
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_isoScore {} |
|
private |
◆ m_TOB_phi
std::vector<double> GlobalSim::cTauMultiplicity::m_TOB_phi {} |
|
private |
The documentation for this class was generated from the following files:
static unsigned int convertIsoToBit(const std::map< std::string, int > &isoFW_CTAU, const std::map< std::string, int > &isoFW_CTAU_jTAUCoreScale, const float jTauCoreEt, const float jTauIso, const float eTauEt)