Skip to content
Snippets Groups Projects
Commit 39332b85 authored by Arnaud Duperrin's avatar Arnaud Duperrin
Browse files

Comment part of the code to avoid the attempt to retrieve nonexistent aux data item SMT_mu_link

parent 1b97caf7
No related branches found
No related tags found
5 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45355Fix FTAG physics validation code to avoid the attempt to retrieve nonexistent aux data item SMT_mu_link
......@@ -12,7 +12,7 @@ from __future__ import print_function
import getopt,os,sys,glob,argparse,ROOT,time
from ROOT import gDirectory
start = time.clock()
start = time.process_time()
# define the categories (= sub-folders)
categories = ['jet',
......@@ -271,5 +271,5 @@ if len(errors)>0:
for phrase in errors:
print(phrase)
end = time.clock()
end = time.process_time()
print("Wall time used: %s sec" % (end - start))
......@@ -873,6 +873,8 @@ namespace JetTagDQA{
// check if there is a muon and store the relative muon pT
bool has_muon = false;
//temporary fix to avoid the validation code to crash (SoftMu is turned off in FTAG code at the moment)
/*
ElementLink<xAOD::MuonContainer> muonLink;
// muon link doesn't work on the VR track jets atm (it will be structured differently in r22 anyways. Properly update it later for all collections.)
if(m_sParticleType != "antiKtVR30Rmax4Rmin02PV0TrackJets"){
......@@ -886,6 +888,7 @@ namespace JetTagDQA{
m_muon_pT_frac->Fill(muon_pT_frac, event->beamSpotWeight());
}
}
*/
// fill contains_muon for the caller of this function
contains_muon = has_muon;
}
......
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