Skip to content
Snippets Groups Projects
Commit e09ce67c authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'weidth1p' into 'main'

Allow calculation of trkWidth2 variable also for 1 prong tau

See merge request atlas/athena!69644
parents ca935139 ca6cc470
No related branches found
No related tags found
No related merge requests found
......@@ -78,11 +78,7 @@ StatusCode TauCommonCalcVars::execute(xAOD::TauJet& pTau) const {
pTau.setDetail( xAOD::TauJetParameters::massTrkSys, static_cast<float>( sumOfTrackVector.M() ) );
}
if (!tauTracks.empty() && pTau.nTracks()>1) {
// BUG?
// this is equivalent to: if (pTau.nTracks()>1)
// shouldn't it be: if (tauTracks.size()> 1 && pTau.nTracks()>0) ?
// currently, 1-prong taus are skipped
if (tauTracks.size()> 1 && pTau.nTracks()>0) {
double ptSum = 0.;
double sumWeightedDR = 0.;
......
......@@ -23,10 +23,10 @@ references_map = {
"d1759": "v12",
"d1912": "v1",
# Reco
"q442": "v44",
"q449": "v68",
"q452": "v1",
"q454": "v1",
"q442": "v45",
"q449": "v69",
"q452": "v3",
"q454": "v3",
# Derivations
"data_PHYS_Run2": "v17",
"data_PHYS_Run3": "v16",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment