15 __doc__ =
"""python library to dump various EDM classes"""
16 __version__ =
"$Revision: 1.32 $"
17 __author__ =
"Scott Snyder, Sebastien Binet"
20 from contextlib
import contextmanager
22 from io
import StringIO
23 from functools
import cmp_to_key
27 hypot
as math_hypot, \
30 from AthenaPython
import PyAthena
31 from PyUtils.fprint
import fprint, fprintln, fwrite
32 from PyDumper
import PDG
37 return (x > y) - (x < y)
44 ROOT.gROOT.ProcessLine (
'#pragma clang diagnostic ignored "-Wdeprecated-declarations"')
47 getattr (ROOT.xAOD,
'TrackParticleContainer_v1',
None)
48 getattr (ROOT.xAOD,
'Jet_v1',
None)
51 JetAssociationBase = getattr (cppyy.gbl,
'JetAssociationBase',
None)
52 Analysis = getattr (cppyy.gbl,
'Analysis',
None)
53 Muon = getattr (Analysis,
'Muon',
None)
if Analysis
else None
54 jetAssocNull = cppyy.bind_object(cppyy.nullptr, JetAssociationBase)
if JetAssociationBase
else None
55 muonNull = cppyy.bind_object(cppyy.nullptr, Muon)
if Muon
else None
57 InDet = getattr (cppyy.gbl,
'InDet',
None)
58 InDetLowBetaCandidate = getattr (InDet,
'InDetLowBetaCandidate',
None)
59 InDetLowBetaCandidateNull = cppyy.bind_object(cppyy.nullptr, InDetLowBetaCandidate)
if InDetLowBetaCandidate
else None
61 Trk = getattr (cppyy.gbl,
'Trk',
None)
62 FitQuality = getattr (Trk,
'FitQuality',
None)
63 fitQualityNull = cppyy.bind_object(cppyy.nullptr, FitQuality)
if FitQuality
else None
67 if hasattr(ROOT,
'TrackParticleTruthCollection'):
68 ROOT.TrackParticleTruthCollection()[ROOT.Rec.TrackParticleTruthKey()]
69 if hasattr(ROOT,
'Jet'):
70 ROOT.Jet().jetTagInfoVector()
71 getattr(ROOT,
'ElementLinkVector<CaloClusterContainer>')
72 if hasattr(ROOT,
'Analysis::MuonContainer'):
73 getattr(ROOT,
'ElementLink<Analysis::MuonContainer>')().
isValid()
74 getattr(ROOT,
'vector<xAOD::CaloClusterBadChannelData_v1>')().__assign__(getattr(ROOT,
'vector<xAOD::CaloClusterBadChannelData_v1>')())
75 if hasattr (ROOT,
'TrigInDetParticleTruth'):
76 ROOT.TrigInDetTrackTruth().getFamilyTree()
77 getattr(ROOT,
'ElementLinkVector<TrigInDetTrackCollection>')
78 getattr(ROOT,
'std::vector<Trig3Momentum>')
79 ROOT.TrigSpacePointCounts().droppedSctModules()
80 hasattr (ROOT,
'xAOD::TruthParticle_v1')
81 ROOT.TClass.GetClass(
'ElementLink<DataVector<xAOD::TruthParticle_v1> >')
82 if hasattr (ROOT,
'xAOD::Muon_v1'):
83 ROOT.gROOT.ProcessLine (
'#include "xAODMuon/MuonContainer.h"')
84 ROOT.TClass.GetClass(
'ElementLink<DataVector<xAOD::Muon_v1> >')
89 arg = math_sqrt (x*x+1) - x
92 return - math_log (arg)
101 return toiter (c.begin(), c.end())
114 if not x:
return None
130 sa = ROOT.PyDumper.SafeFloatAccess(v)
131 return [sa[i]
for i
in range(len(v))]
135 if hasattr(o,
'setSignalState'):
136 old = o.signalState()
137 o.setSignalState (state)
139 o.setSignalState (old)
141 sh = PyAthena.SignalStateHelper (o)
142 sh.setSignalState (state)
160 """Helper for doing formatting compatibly with py2.
162 Convert X to a string, but add a `L' to the ends of integers.
163 Can be used for formatting expressions that using longs in py2.
165 if isinstance (x, list):
166 sl = [formatItemUsingLong (xx)
for xx
in x]
167 return '[' +
', '.join (sl) +
']'
168 if isinstance (x, tuple):
169 sl = [formatItemUsingLong (xx)
for xx
in x]
170 return '(' +
', '.join (sl) +
')'
171 if isinstance (x, int):
173 if isinstance (x, forceInt):
175 if isinstance(x, ROOT.std.string):
194 return getattr (t,
'__cpp_name__', t.__name__)
200 return 0
if x == 0
or abs(x) < thresh
else x
204 fprint (f,
"(%f %f %f)" %
205 (v.perp(),v.eta(),v.phi()))
209 m2 = v.e()**2 - v.px()**2 - v.py()**2 - v.pz()**2
211 m2 = fix_neg0 (m2, 1e-3)
213 m = - math_sqrt (-m2)
219 pt = math_hypot (v.px(), v.py())
226 eta = asinh (v.pz() / pt)
228 fprint (f,
"(%f %f %f %f)" %
229 (v.perp(),eta,v.phi(), m))
234 ParticleImpl_EEtaPhiM = getattr(PyAthena,
'ParticleImpl<NavigableTerminalNode,P4ImplEEtaPhiM,ParticleEvent::Base>')
238 if isinstance(v, (PyAthena.P4EEtaPhiMBase, ParticleImpl_EEtaPhiM, PyAthena.xAOD.IParticle))
or \
239 isinstance(vmom, PyAthena.P4BaseEEtaPhiM):
246 elif isinstance (v, PyAthena.P4PtEtaPhiMBase)
or \
247 isinstance (vmom, PyAthena.P4BasePtEtaPhiM):
251 elif isinstance (v, PyAthena.P4IPtCotThPhiMBase)
or \
252 isinstance (vmom, PyAthena.P4BaseIPtCotThPhiM):
258 if ipt == 0
and m == 0
and cotth == 0
and v.phi() == 0:
262 aux = math_hypot(1, cotth)
263 eta = math_log ((aux-cotth) / (aux+cotth))
272 m2 = v.e()**2 - v.px()**2 - v.py()**2 - v.pz()**2
274 m = - math_sqrt (-m2)
279 pt = math_hypot (v.px(), v.py())
286 eta = asinh (v.pz() / pt)
289 if parens: fprint (f,
'(')
290 fprint (f,
"%f %f %f %f" % (pt, eta, v.phi(), m))
291 if parens: fprint (f,
')')
295 fprint (f,
"(%f %f %f)" % (
fix_neg0(v.x(), thresh=1e-8),
301 fprint (f,
"(%f %f)" % (v.x(), v.y()))
306 for r
in range(m.rows()):
308 for c
in range(m.cols()):
310 if abs(v) < thresh: v = 0
311 fprint (f,
'%#6.3g' % v)
318 fprint (f,
'(null vector)')
321 for r
in range(m.rows()):
323 if abs(v) < thresh: v = 0
324 fprint (f,
'%#6.*g' % (prec, v))
332 pos2 = nm.rfind (
'>')
333 nm = nm[pos1+1:pos2].strip()
337 nm = nm +
'/%s[%d]' % (l.dataID(), l.index())
343 dump_Fourvec (e, f, 0)
344 orig = e.originLink()
346 charge =
"%f" % e.charge()
349 fprint (f,
" %1d %1d %4d %s" %
350 (e.dataType(), e.hasPdgId(),
asint32(e.pdgId()), charge))
352 fprint (f,
"%1d"%orig.index())
353 dump_Threevec (e.origin().position(), f)
355 fprint (f,
"(no orig)")
360 dump_Fourvec (p, f, 0)
366 fprint (f,
' %d %s %5d ' %
367 (p.dataType(), c,
asint32(p.pdgId())))
369 dump_Threevec (p.origin().position(), f)
371 fprint (f,
"(no orig)")
376 fprint (f, d.convTrackMatch(), d.convAngleMatch())
381 iperr = d.bremInvpTerr()
383 if iperr==-999: iperr = 0
386 if br == -999: br = 0
387 if bx == -999: bx = 0
390 if nt == -999: nt = 0
391 if nr == -999: nr = 0
394 if d0 == -999: d0 = 0
395 if phi0 == -999: phi0 = 0
396 fprint (f,
"%f %f %f %f %f %2d %2d %2d %2d %f %f" %
397 (ip*1e6, br, bx, iperr*1e6,
398 d.bremClusterRadius(), d.bremFitStatus(), d.bremErrorFlag(),
400 fprint (f, d.bremZ0(), d.bremDzDr(), d.bremNZ(), d.bremFitChi2())
404 fprint (f,
"%f %f %4d %4d" %
405 (d.deltaEta(2), d.deltaPhi(2),
406 d.trackNumber(), d.tracksInBroadWindow()))
407 fprint (f, d.trackRefit(), d.isPrimary())
412 if weta1 < -10: weta1 = 0
414 if pos7 < -10: pos7 = 0
416 if not hasattr(d,
'etconoisedR04Sig2'):
417 d.etconoisedR04Sig2 = d.etconoise20
418 d.etconoisedR04Sig3 = d.etconoise30
419 fprint (f, d.e011(), d.e033(), d.ethad1(),
420 d.ethad(), d.ehad1(), d.f1(), d.f3(), d.f1core(), d.f3core(),
421 d.e233(), d.e235(), d.e255(), d.e237(), d.e277(), d.e333(),
422 d.e335(), d.e337(), d.e377(), weta1, d.weta2(), d.e2ts1(),
423 d.e2tsts1(), d.fracs1(), d.widths1(), d.widths2(),
424 d.poscs1(), d.poscs2(), d.asy1(), d.pos(), pos7, d.barys1(),
425 d.wtots1(), d.emins1(), d.emaxs1(), d.etcone(), d.etcone20(),
426 d.etcone30(), d.etcone40(),
427 d.etconoisedR04Sig2(), d.etconoisedR04Sig3(),
429 if hasattr (d,
'e131'):
430 fprint (f, d.e131(), d.e1153(), d.iso())
432 fprint (f, d.e132(), d.e1152(), d.r33over37allcalo())
439 if abs(x) < 1e-38:
return 0
443 fprint (f, d.linkIndex())
445 uf(d.EMconvertedphoton_perigee_d0()),
446 uf(d.EMconvertedphoton_perigee_z0()),
447 uf(d.EMconvertedphoton_perigee_phi0()),
448 uf(d.EMconvertedphoton_perigee_theta()),
449 uf(d.EMconvertedphoton_perigee_eta()),
450 uf(d.EMconvertedphoton_perigee_momentum()),
451 uf(d.EMconvertedphoton_perigee_Covd0d0 ()),
452 uf(d.EMconvertedphoton_perigee_Covd0z0 ()),
453 uf(d.EMconvertedphoton_perigee_Covd0phi ()),
454 uf(d.EMconvertedphoton_perigee_Covd0theta ()),
455 uf(d.EMconvertedphoton_perigee_Covz0z0 ()),
456 uf(d.EMconvertedphoton_perigee_Covz0phi ()),
457 uf(d.EMconvertedphoton_perigee_Covz0theta ()),
458 uf(d.EMconvertedphoton_perigee_Covphiphi ()),
459 uf(d.EMconvertedphoton_perigee_Covphitheta ()),
460 uf(d.EMconvertedphoton_perigee_Covthetatheta ()))
462 uf(d.EMtrack_perigee_d0 ()),
463 uf(d.EMtrack_perigee_phi0 ()),
464 uf(d.EMtrack_perigee_z0 ()),
465 uf(d.EMtrack_perigee_theta ()),
466 uf(d.EMtrack_perigee_eta ()),
467 uf(d.EMtrack_perigee_momentum ()),
468 uf(d.EMtrack_perigee_Covd0d0 ()),
469 uf(d.EMtrack_perigee_Covd0z0 ()),
470 uf(d.EMtrack_perigee_Covd0phi ()),
471 uf(d.EMtrack_perigee_Covd0theta ()),
472 uf(d.EMtrack_perigee_Covz0z0 ()),
473 uf(d.EMtrack_perigee_Covz0phi ()),
474 uf(d.EMtrack_perigee_Covz0theta ()),
475 uf(d.EMtrack_perigee_Covphiphi ()),
476 uf(d.EMtrack_perigee_Covphitheta ()),
477 uf(d.EMtrack_perigee_Covthetatheta ()))
479 uf(d.EMphoton_eta ()),
480 uf(d.EMphoton_phi0 ()),
481 uf(d.EMphoton_Eclus ()),
482 uf(d.EMphoton_Covetaeta ()),
483 uf(d.EMphoton_Covetaphi ()),
484 uf(d.EMphoton_CovetaEclus ()),
485 uf(d.EMphoton_Covphiphi ()),
486 uf(d.EMphoton_CovphiEclus ()),
487 uf(d.EMphoton_CovEclusEclus ()))
489 uf(d.EMtrack_comb_Covd0d0 ()),
490 uf(d.EMtrack_comb_Covd0z0 ()),
491 uf(d.EMtrack_comb_Covd0phi ()),
492 uf(d.EMtrack_comb_Covd0eta ()),
493 uf(d.EMtrack_comb_Covd0P ()),
494 uf(d.EMtrack_comb_Covz0z0 ()),
495 uf(d.EMtrack_comb_Covz0phi ()),
496 uf(d.EMtrack_comb_Covz0eta ()),
497 uf(d.EMtrack_comb_Covz0P ()),
498 uf(d.EMtrack_comb_Covphiphi ()),
499 uf(d.EMtrack_comb_Covphieta ()),
500 uf(d.EMtrack_comb_CovphiP ()),
501 uf(d.EMtrack_comb_Covetaeta ()),
502 uf(d.EMtrack_comb_CovetaP ()),
503 uf(d.EMtrack_comb_CovPP ()))
509 d.track_perigee_d0 (),
510 d.track_perigee_phi0 (),
511 d.track_perigee_qOverP(),
512 d.track_perigee_z0 (),
513 d.track_perigee_theta (),
514 d.track_perigee_Covd0d0 (),
515 d.track_perigee_Covd0z0 (),
516 d.track_perigee_Covd0phi (),
517 d.track_perigee_Covd0theta (),
518 d.track_perigee_Covd0qOverP (),
519 d.track_perigee_Covz0z0 (),
520 d.track_perigee_Covz0phi (),
521 d.track_perigee_Covz0theta (),
522 d.track_perigee_Covz0qOverP (),
523 d.track_perigee_Covphiphi (),
524 d.track_perigee_Covphitheta (),
525 d.track_perigee_CovphiqOverP (),
526 d.track_perigee_Covthetatheta (),
527 d.track_perigee_CovthetaqOverP (),
528 d.track_perigee_CovqOverPqOverP ())
530 d.track_LastM_loc1 (),
531 d.track_LastM_loc2 (),
532 d.track_LastM_phi (),
533 d.track_LastM_theta (),
534 d.track_LastM_qOverP (),
535 d.bremTrackAuthor (),
541 d.bremMaterialTraversed (),
549 dump_ParticleImpl (e, f)
550 fprint (f,
"\n %d %d %d" % (e.author(), e.isem(), e.isemse()))
551 if e.clusterElementLink().
isValid():
552 fprint (f,
'\n cl: %2d:' % e.clusterElementLink().
index())
553 dump_Fourvec (e.cluster(), f)
554 for i
in range(e.nTrackParticles()):
555 tp = e.trackParticleElementLink(i)
557 fprint (f,
'\n tp: %2d:' %tp.index())
558 dump_Fourvec (e.trackParticle(i), f)
559 for i
in range(e.nConversions()):
560 cv = e.conversionElementLink(i)
562 fprint (f,
'\n cv: %2d:' % cv.index())
563 dump_Threevec (e.conversion(i).recVertex().position(), f)
564 for i
in range (e.nDetails()):
565 if e.detailElementLink(i).
isValid():
567 fprint (f,
'\n %s: ' % d.className())
568 if isinstance (d, PyAthena.EMConvert):
569 dump_EMConvert (d, f)
570 elif isinstance (d, PyAthena.EMBremFit):
571 dump_EMBremFit (d, f)
572 elif isinstance (d, PyAthena.EMTrackMatch):
573 dump_EMTrackMatch (d, f)
574 elif isinstance (d, PyAthena.EMShower):
576 elif isinstance (d, PyAthena.EMErrorDetail):
577 dump_EMErrorDetail (d, f)
578 elif isinstance (d, PyAthena.EMTrackFit):
579 dump_EMTrackFit (d, f)
583 fprint (f,
'\n Detail link %d not valid; skipped.' % i)
585 pid = PyAthena.egammaPIDObs
587 pid = PyAthena.egammaPID
588 fprint (f,
'\n pid: %g %g %f %g %f %f' %
589 (e.egammaID(pid.ElectronWeight), e.egammaID(pid.BgWeight),
590 e.egammaID(pid.NeuralNet), e.egammaID(pid.Hmatrix),
591 e.egammaID(pid.IsolationLikelihood_jets),
592 e.egammaID(pid.IsolationLikelihood_HQDelectrons)))
608 fprint (f, p.deltaE(), p.sigmaDeltaE(), p.sigmaMinusDeltaE(), p.sigmaPlusDeltaE())
609 fprint (f, p.meanIoni(), p.sigmaIoni(), p.meanRad(), p.sigmaRad(), p.length())
614 dump_EnergyLoss (p, f)
615 fprint (f,
'%d %f %f %f %f' %
618 p.caloLRLikelihood(),
619 p.fsrCandidateEnergy(),
621 fprint (f, p.deltaEParam(), p.sigmaMinusDeltaEParam(), p.sigmaPlusDeltaEParam(), p.deltaEMeas(), p.sigmaDeltaEMeas())
622 fprint (f,
'\n deposits:')
623 for d
in p.depositInCalo():
624 fprint (f,
" (%d %f %f)" %
625 (d.subCaloId(), d.energyDeposited(), d.muonEnergyLoss()))
630 dump_ParticleImpl (m, f)
631 fprint (f,
' %1d' % m.author())
632 if m.inDetTrackLink().
isValid():
633 fprint (f,
'\n idtp: %2d:' % m.inDetTrackLink().
index())
634 dump_Fourvec (m.inDetTrackParticle(), f)
636 if hasattr(m,
'muonSpTrackLink')
and m.muonSpTrackLink().
isValid():
637 fprint (f,
'\n sptp: %2d:' % m.muonSpTrackLink().
index())
638 dump_Fourvec (m.muonSpectrometerTrackParticle(), f)
639 if m.muonExtrapTrackLink().
isValid():
640 fprint (f,
'\n mxtp: %2d:' % m.muonExtrapTrackLink().
index())
641 dump_Fourvec (m.muonExtrapolatedTrackParticle(), f)
642 if m.innerExtrapTrackLink().
isValid():
643 fprint (f,
'\n ixtp: %2d:' % m.innerExtrapTrackLink().
index())
644 dump_Fourvec (m.innerExtrapolatedTrackParticle(), f)
645 if m.combinedTrackLink().
isValid():
646 fprint (f,
'\n cmtp: %2d:' % m.combinedTrackLink().
index())
647 dump_Fourvec (m.combinedMuonTrackParticle(), f)
649 fprint (f,
'\n cl: %2d:' % m.clusterLink().
index())
650 dump_Fourvec (m.cluster(), f)
651 fprint (f,
'\n a: %f %f %d %f %d %f %d' %
652 (m.matchChi2(), m.matchChi2OverDoF(), m.matchNumberDoF(),
653 m.fitChi2(), m.fitNumberDoF(), m.fitChi2OverDoF(),
655 fprint (f,
'\n b: %d %d %d %d %d %d %d %d %d %d %d %d' %
656 (m.numberOfInnermostPixelLayerHits(),
657 m.numberOfPixelHits(),
660 m.numberOfTRTHighThresholdHits(),
661 m.numberOfInnermostPixelLayerSharedHits(),
662 m.numberOfPixelSharedHits(),
663 m.numberOfPixelHoles(),
664 m.numberOfSCTSharedHits(),
665 m.numberOfSCTHoles(),
666 m.numberOfTRTOutliers(),
667 m.numberOfTRTHighThresholdOutliers()))
668 fprint (f,
'\n c: %d %d %d %d %d %d %d %d %d %d %d %d %d %d' %
669 (m.numberOfMDTHits(),
670 m.numberOfMDTHoles(),
671 m.numberOfCSCEtaHits(),
672 m.numberOfCSCEtaHoles(),
673 m.numberOfCSCPhiHits(),
674 m.numberOfCSCPhiHoles(),
675 m.numberOfRPCEtaHits(),
676 m.numberOfRPCEtaHoles(),
677 m.numberOfRPCPhiHits(),
678 m.numberOfRPCPhiHoles(),
679 m.numberOfTGCEtaHits(),
680 m.numberOfTGCEtaHoles(),
681 m.numberOfTGCPhiHits(),
682 m.numberOfTGCPhiHoles()))
683 fprint (f,
'\n d: %d %d %f %f %f %f %f %f' %
684 (m.numberOfGangedPixels(),
685 m.numberOfOutliersOnTrack(),
687 m.segmentChi2OverDoF(),
692 fprint (f,
'\n e: %f %f %d %d' %
693 (m.parameter(etcone10),
694 m.parameter(nucone10),
695 m.alsoFoundByLowPt(),
696 m.alsoFoundByCaloMuonId()))
697 fprint (f,
'\n f:', [i
for i
in m.associatedEtaDigits()])
698 fprint (f,
'\n h:', [i
for i
in m.associatedPhiDigits()])
699 fprint (f,
'\n i:', [i
for i
in m.segmentEtaDigits()])
700 fprint (f,
'\n j:', [i
for i
in m.segmentPhiDigits()])
701 caloe = m.caloEnergyLoss()
704 dump_CaloEnergy (caloe, f)
709 dump_EL (t.clusterLink(), f)
711 dump_EL (t.seedLink(), f)
712 fprint (f,
' %d %d %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f' %
719 t.sdevEta5_WRTmean(),
720 t.sdevEta5_WRTmode(),
738 if nm.startswith(
'Analysis::'):
740 fprint (f,
'%s:' % nm)
744 dump_TauDetail (t, f)
745 fprint (f,
' %f %1d %f %f %1d %1d %f %f %f %f' %
750 t.nAssocTracksCore(),
751 t.nAssocTracksIsol(),
757 fprint (f,
' %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f' %
758 (t.isolationFraction(),
765 t.etChrgHADoverPttot(),
772 t.etResChrgEMTrk(0)))
774 dump_HLV (t.sumEM(), f)
776 dump_Threevec (t.secVertex().position(), f)
777 if t.cellEM012Cluster():
778 dump_Fourvec (t.cellEM012Cluster(), f)
779 for i
in range(t.numPi0()):
780 fprint (f,
'\n pi: ')
781 dump_Fourvec (t.pi0 (i), f)
786 dump_TauDetail (t, f)
788 fprint (f,
'%f %f %f %f %2d %f %f %f' %
790 t.isolationFraction(),
791 t.centralityFraction(),
798 for i
in range(t.numTrack()):
799 fprint (f,
'(%f %f) ' % (t.trackCaloEta(i), t.trackCaloPhi(i)))
801 dump_HLV (t.sumEM(), f)
803 dump_Threevec (t.secVertex().position(), f)
808 dump_TauDetail (t, f)
809 fprint (f, t.sumPTTracks())
814 for tr
in range(t.ntrack()):
815 for s
in range(t.nsamp()):
816 fprint (f,
'\n ', tr, s,
817 t.etaTrackCaloSamp(tr,s), t.phiTrackCaloSamp(tr,s))
822 dump_TauDetail (t, f)
823 fprint (f, t.numEMCells(), t.stripET(), t.emCentralityFraction(),
824 t.etHadAtEMScale(), t.etEMAtEMScale(), t.energy(), t.emEnergy(),
825 t.sumPTTracks(), t.seedType(),
tonone(t.analysisHelper()))
830 dump_HLV (t.hlv(), f)
832 for c
in t.pi0ClusterVec():
833 fprint (f, c.clusterLink().
index(),
', ')
839 fprint (f, t.clusterLink().
index(),
849 t.asymmetryInEM1WRTTrk(),
854 t.firstEtaWRTClusterPosition_EM1(),
855 t.firstEtaWRTClusterPosition_EM2(),
856 t.secondEtaWRTClusterPosition_EM1(),
857 t.secondEtaWRTClusterPosition_EM2(),
859 for s
in t.tauShotVec():
860 fprint (f,
'\n shot ')
867 dump_TauDetail (t, f)
868 dump_HLV (t.visTauhlv(), f)
869 fprint (f,
' candidates')
870 for c
in t.pi0CandidateVector():
872 dump_TauPi0Candidate (c, f)
873 fprint (f,
' clusters')
874 for c
in t.pi0ClusterVector():
876 dump_TauPi0Cluster (c, f)
877 for s
in t.shotVector():
878 fprint (f,
'\n shot ')
884 dump_TauDetail (t, f)
885 fprint (f, t.ipZ0SinThetaSigLeadTrk(), t.etOverPtLeadTrk(),
886 t.leadTrkPt(), t.ipSigLeadTrk(), t.ipSigLeadLooseTrk(),
887 t.etOverPtLeadLooseTrk(), t.leadLooseTrkPt(), t.chrgLooseTrk(),
888 t.massTrkSys(), t.trkWidth2())
890 fprint (f, t.trFlightPathSig(), t.etEflow(), t.seedCalo_EMRadius(),
891 t.seedCalo_hadRadius(), t.seedCalo_etEMAtEMScale(),
892 t.seedCalo_etHadAtEMScale(), t.seedCalo_isolFrac(),
893 t.seedCalo_centFrac(), t.seedCalo_stripWidth2(), t.seedCalo_nStrip())
895 fprint (f, t.seedCalo_etEMCalib(), t.seedCalo_etHadCalib(),
896 t.seedCalo_eta(), t.seedCalo_phi(), t.seedCalo_nIsolLooseTrk(),
897 t.seedTrk_EMRadius(), t.seedTrk_isolFrac(),
898 t.seedTrk_etChrgHadOverSumTrkPt(), t.seedTrk_isolFracWide(),
899 t.seedTrk_etHadAtEMScale())
901 fprint (f, t.seedTrk_etEMAtEMScale(), t.seedTrk_etEMCL(),
902 t.seedTrk_etChrgEM(), t.seedTrk_etNeuEM(),
903 t.seedTrk_etResNeuEM(), t.seedTrk_hadLeakEt(),
904 t.seedTrk_sumEMCellEtOverLeadTrkPt(), t.seedTrk_secMaxStripEt(),
905 t.seedTrk_stripWidth2(), t.seedTrk_nStrip())
907 fprint (f, t.seedTrk_etChrgHad(), t.seedTrk_nOtherCoreTrk(),
908 t.seedTrk_nIsolTrk(), t.seedTrk_etIsolEM(), t.seedTrk_etIsolHad())
909 fprint (f,
'\n %d loose tracks' % t.nLooseTrk())
910 looseTrks = t.looseTrk()
911 for i
in range(looseTrks.size()):
913 fprint (f,
'\n ', el.index(), el.dataID(),
914 t.seedTrk_etChrgEM01Trk(i), t.seedTrk_etResChrgEMTrk(i))
915 fprint (f,
'\n %d pi0s' % t.nPi0())
917 for i
in range(vec.size()):
920 fprint (f,
'\n ', el.dataID(), el.e())
921 fprint (f,
'\n pi0 sum:')
922 dump_HLV (t.sumPi0Vec(), f)
923 cl = t.cellEM012ClusterLink()
924 fprint (f,
'\n cluster:')
926 fprint (f, cl.index(), cl.dataID())
928 fprintln (f,
'(invalid)')
929 fprint (f,
'\n secvertex:')
931 dump_RecVertex (t.secVtx(), f)
943 fprint (f,
'(', el.dataID(), el.index(),
') ')
945 fprint (f,
'(invEL) ')
963 dump_TauDetail (t, f)
964 fprint (f, t.sumPtLooseTrk(), t.sumPtTrk(), t.seedCalo_nEMCell(),
965 t.seedCalo_stripEt(), t.seedCalo_EMCentFrac(),
966 t.seedCalo_sumCellEnergy(), t.seedCalo_sumEMCellEnergy())
968 dump_vvelccell (t.closestEtaTrkVertCell(), f)
970 dump_vvelccell (t.closestPhiTrkVertCell(), f)
972 dump_vvelccell (t.closestEtaTrkCell(), f)
974 dump_vvelccell (t.closestPhiTrkCell(), f)
976 dump_vvdouble (t.etaTrkCaloSamp(), f)
978 dump_vvdouble (t.phiTrkCaloSamp(), f)
980 dump_vvdouble (t.etaLooseTrkCaloSamp(), f)
982 dump_vvdouble (t.phiLooseTrkCaloSamp(), f)
987 dump_ParticleImpl (t, f)
988 fprint (f,
' %1d' % (t.author(),))
991 fprint (f,
'\n cl: %2d:' % t.clusterLink().
index())
992 dump_Fourvec (t.cluster(), f)
993 if t.cellClusterLink().
isValid():
996 fprint (f,
'\n ce: ')
997 dump_Fourvec (t.cellCluster(), f)
999 fprint (f,
'\n je: %2d:' % t.jetLink().
index())
1001 if j.e() == 0
and j.phi() == 0
and j.eta() == 0:
1002 with signalstate (j, PyAthena.P4SignalState.JETEMSCALE):
1006 for i
in range (t.numTrack()):
1007 el = t.trackLinkVector()[i]
1009 fprint (f,
'\n t%d: %2d:' % (i,el.index()))
1010 dump_Fourvec (t.track(i), f)
1012 TJP = PyAthena.TauJetParameters
1014 fprint (f,
'\n pid: %f %f %f %d %d %d' %
1015 (pid.discriminant(0),
1016 pid.discriminant(1),
1017 pid.discriminant(2),
1018 pid.flag (TJP.ElectronFlag),
1019 pid.flag (TJP.EgammaFlag),
1020 pid.flag (TJP.MuonFlag)))
1021 if hasattr (TJP,
'TauCutLoose'):
1022 flags = [TJP.TauCutLoose,
1031 if hasattr (TJP,
'TauRecOld'):
1032 flags.append (TJP.TauRecOld)
1033 if hasattr (TJP,
'Tau1P3POld'):
1034 flags.append (TJP.Tau1P3POld)
1035 fprint (f,
'\n ', [pid.isTau(ff)
for ff
in flags])
1037 fprint (f,
'\n ', pid.isTau())
1038 for i
in range (t.nDetails()):
1040 if t.detailElementLink(i).
isValid():
1042 if (hasattr (PyAthena.Analysis,
'Tau1P3PDetails')
and
1043 isinstance (d, PyAthena.Analysis.Tau1P3PDetails)):
1044 dump_Tau1P3PDetails (d, f)
1045 elif (hasattr (PyAthena.Analysis,
'TauRecDetails')
and
1046 isinstance (d, PyAthena.Analysis.TauRecDetails)):
1047 dump_TauRecDetails (d, f)
1048 elif (hasattr (PyAthena.Analysis,
'Tau1P3PExtraDetails')
and
1049 isinstance (d, PyAthena.Analysis.Tau1P3PExtraDetails)):
1050 dump_Tau1P3PExtraDetails (d, f)
1051 elif (hasattr (PyAthena.Analysis,
'TauRecExtraDetails')
and
1052 isinstance (d, PyAthena.Analysis.TauRecExtraDetails)):
1053 dump_TauRecExtraDetails (d, f)
1054 elif (hasattr (PyAthena.Analysis,
'TauPi0Details')
and
1055 isinstance (d, PyAthena.Analysis.TauPi0Details)):
1056 dump_TauPi0Details (d, f)
1057 elif isinstance (d, PyAthena.Analysis.TauCommonDetails):
1058 dump_TauCommonDetails (d, f)
1059 elif isinstance (d, PyAthena.Analysis.TauCommonExtraDetails):
1060 dump_TauCommonExtraDetails (d, f)
1062 fprint (f, t.detailName(i), d,
'(not dumped)')
1063 fprint (f,
'\n p: %f %f %f' %
1071 fprint (f,
' '.join ([
'%f'%x
for x
in info.tagLikelihood()]),
1072 info.weight(), info.isValid())
1077 dump_BaseTagInfo (info, f)
1078 fprint (f,
' %s %f %d ' %
1079 (info.jetTruthLabel(),
1080 info.deltaRMinTo (
'b'),
1082 dump_Threevec (info.BDecayVertex(), f)
1087 fprint (f,
'%d %d %d %d %d %d ' %
1094 dump_H3V (info.momentum(), f)
1096 dump_H3V (info.prodvtx(), f)
1100 dump_BaseTagInfo (info, f)
1101 for i
in range (info.numSLTrueInfo()):
1103 dump_SLTrueInfo (info.getSLTrueInfo(i), f)
1108 dump_BaseTagInfo (info, f)
1109 fprint (f,
'\n %d %d %d %d %f %f %f %f %f' %
1111 info.numSelTracksForFit(),
1113 info.NumberOfG2TrackVertices(),
1115 info.rphidistance(),
1118 info.energyFraction()))
1119 return dump_Threevec (info.secVertexPos().position(), f)
1123 dump_Fourvec (info.track(), f)
1124 fprint (f,
' %d %s %d %f %f %f %f %f %f %f' %
1125 (info.trackGrade().gradeNumber(),
1126 info.trackGrade().gradeString(),
1129 info.d0Significance(),
1131 info.z0Significance(),
1132 info.trackWeight2D(),
1133 info.trackWeight3D(),
1134 info.trackProbJP()))
1138 dump_BaseTagInfo (info, f)
1139 fprint (f,
' %d' % info.numTrackInfo())
1140 for i
in range(info.numTrackInfo()):
1142 dump_IPTrackInfo (info.getTrackInfo(i), f)
1147 dump_BaseTagInfo (info, f)
1148 fprint (f, info.nbTracks())
1153 dump_BaseTagInfo (info, f)
1162 dump_Fourvec (tp, f)
1167 dump_BaseTagInfo (info, f)
1168 fprint (f, info.getNGTrackInJet(),
1169 info.getNGTrackInSvx(),
1172 info.getEnergyFraction(),
1174 info.numTrackInfo())
1175 fprint (f,
'\n vert: ')
1176 dump_RecVertex (info.getRecSvx(), f)
1177 fprint (f,
'\n tracks: ')
1180 ti = [info.getTrackInfo(i)
for i
in range(info.numTrackInfo())]
1181 ti.sort (key=
lambda a: a.track().
pt(), reverse=
True)
1182 i = info.numTrackInfo()-1
1184 fprint (f,
'\n %d: ' % i)
1185 dump_SVTrackInfo (tt, f)
1190 dump_BaseTagInfo (info, f)
1191 fprint (f, info.getNGTrackInJet(),
1192 info.getNGTrackInSvx(),
1196 fprint (f,
'\n verts: ')
1197 for i
in range (info.numVtxInfo()):
1198 fprint (f,
'\n %d: ' % i)
1199 vx = info.getVtxInfo(i)
1200 fprint (f, vx.getMass(), vx.getPt(), vx.getEta(), vx.getPhi(),
1201 vx.getEnergyFraction(), vx.getNormDist(), vx.numTrackInfo())
1202 fprint (f,
'\n vert: ')
1203 dump_RecVertex (vx.getRecSvx(), f)
1204 fprint (f,
'\n tracks: ')
1207 ti = [vx.getTrackInfo(i)
for i
in range(vx.numTrackInfo())]
1208 ti.sort (key=
lambda a: a.track().
pt(), reverse=
True)
1209 i = vx.numTrackInfo()-1
1211 fprint (f,
'\n %d: ' % i)
1212 dump_SVTrackInfo (tt, f)
1217 dump_BaseTagInfo (info, f)
1218 fprint (f, info.nbTracks())
1223 dump_Fourvec (info.electron(), f)
1224 fprint (f,
'%f %f' % (info.d0Value(), info.pTrel()),
1225 [x
for x
in info.tagLikelihood()])
1230 dump_BaseTagInfo (info, f)
1231 fprint (f,
' '.
join([
'%f'%x
for x
in info.vectorTrackProb()]),
1232 info.nTrackProb(), info.numTrackInfo())
1233 for i
in range(info.numTrackInfo()):
1235 dump_SETrackInfo (info.getTrackInfo(i), f)
1240 dump_BaseTagInfo (info, f)
1241 fprint (f,
'%d %d %d %f %f %f %f %f' %
1243 info.nSingleTracks(),
1244 info.nTracksAtVtx(),
1245 info.energyFraction(),
1247 info.significance3d(),
1254 dump_BaseTagInfo (info, f)
1255 fprint (f,
'%d %f %f %f %f' %
1258 info.d0sig_abs_2nd(),
1260 info.d0sig_abs_3rd()))
1265 dump_BaseTagInfo (info, f)
1266 fprint (f, info.isBTagged(), info.isTauTagged(), info.isTau1PTagged(),
1267 info.isTau3PTagged(), info.LightHypoCalFactor(),
1268 info.TauHypoCalFactor(), info.Tau1P3PHypoCalFactor(),
1269 info.BHypoCalFactor(),
1270 info.deltaRMinTo(
"b"),
1271 info.deltaRMinTo(
"c"),
1272 info.deltaRMinTo(
"t"))
1277 dump_ParticleImpl (info.muon(), f)
1278 fprint (f, info.d0Value(), info.pTrel(),
list(info.tagLikelihood()))
1283 dump_BaseTagInfo (info, f)
1284 for i
in range (info.numTrackInfo()):
1286 dump_SMTrackInfo (info.getTrackInfo(i), f)
1291 dump_BaseTagInfo (info, f)
1292 fprint (f, info.nMatchingTracks(), info.trkJetWidth(),
1293 info.trkJetMaxDeltaR())
1298 fprint (f, [info.energyInSample(i)
for i
in range(8)],
1299 info.energyInCryostat(), info.wtCryo(), info.jet())
1312 ROOT.SetOwnership (tr,
True)
1314 fprint (f,
'\n tr: ')
1316 fprint (f, info.getTrackWeight(t))
1322 dump_Fourvec (info.electron(), f)
1323 fprint (f, info.getElectronWeight (info.electron()))
1331 dump_Fourvec (info.muon(), f)
1332 fprint (f, info.getMuonWeight (info.muon()))
1338 dump_ParticleBase (j, f)
1339 fprint (f,
'\n %s %f %f' %
1343 fprint (f, [x
for x
in j.combinedLikelihood()])
1344 ti = j.jetTagInfoVector()
1346 fprint (f,
'\n %s: ' % info.infoType())
1347 if isinstance (info, PyAthena.Analysis.TruthInfo):
1348 dump_TruthInfo (info, f)
1349 elif isinstance (info, PyAthena.Analysis.SoftLeptonTruthInfo):
1350 dump_SoftLeptonTruthInfo (info, f)
1351 elif isinstance (info, PyAthena.Analysis.SecVtxInfo):
1352 dump_SecVtxInfo (info, f)
1353 elif isinstance (info, PyAthena.Analysis.IPInfoPlus):
1354 dump_IPInfoPlus (info, f)
1355 elif isinstance (info, PyAthena.Analysis.IPInfoBase):
1356 dump_IPInfoBase (info, f)
1357 elif isinstance (info, PyAthena.Analysis.SVInfoBase):
1358 dump_SVInfoBase (info, f)
1359 elif isinstance (info, PyAthena.Analysis.JetProbInfoBase):
1360 dump_JetProbInfoBase (info, f)
1361 elif isinstance (info, PyAthena.Analysis.SoftElectronInfo):
1362 dump_SoftElectronInfo (info, f)
1363 elif isinstance (info, PyAthena.Analysis.JetFitterTagInfo):
1364 dump_JetFitterTagInfo (info, f)
1365 elif isinstance (info, PyAthena.Analysis.BaseTagInfo):
1366 dump_BaseTagInfo (info, f)
1370 for c
in j.constituentKeys():
1371 fprint (f,
'\n %s: ' % c)
1372 info = j.constituent (c)
1373 if isinstance (info, PyAthena.Analysis.JetConstituent):
1374 dump_JetConstituent (info, f)
1375 elif isinstance (info, PyAthena.Analysis.TrackConstituents):
1376 dump_TrackConstituents (info, f)
1377 elif isinstance (info, PyAthena.Analysis.ElectronConstituent):
1378 dump_ElectronConstituent (info, f)
1379 elif isinstance (info, PyAthena.Analysis.MuonConstituent):
1380 dump_MuonConstituent (info, f)
1387 dump_ParticleImpl (p, f)
1388 poltheta = fix_neg0 (p.polarization().
theta())
1389 fprint (f,
' %3d %3d %f %f %d %d' %
1393 p.polarization().
phi(),
1396 fprint (f,
'\n ', p.hasEtIsol())
1397 dump_HLV (p.genParticle().
momentum(), f)
1399 fprint (f,
'\n p0:')
1403 for i
in range(p.nParents()):
1405 mother = p.genMother(i)
1407 dump_HLV (mother.momentum(), f)
1408 dump_Fourvec (p.mother(mni), f)
1410 fprint (f,
'\n c0:')
1412 for i
in range(p.nDecay()):
1414 child = p.genChild(i)
1416 dump_HLV (child.momentum(), f)
1417 dump_Fourvec (p.child(mni), f)
1422 fprint (f,
'%4d %f' % (p.particleLink().
barcode(), p.probability()))
1423 gp = p.particleLink().cptr()
1425 dump_HLV (gp.momentum(), f)
1427 fprint (f,
' (no part)')
1433 fprintln (f,
' ', c.trackParticleContainerLink().
isValid())
1434 elclass = PyAthena.ElementLink (PyAthena.Rec.TrackParticleContainer)
1435 for i
in range (c.size()):
1438 cont = PyAthena.Rec.TrackParticleContainer()
1439 el.toIndexedElement (cont, i)
1440 dump_TrackParticleTruth (c[PyAthena.Rec.TrackParticleTruthKey(el)], f)
1446 fprint (f, [s[i].
value()
for i
in range(s.NUM_SUBDETECTORS)])
1451 fprint (f, [l.barcode()
for l
in t])
1457 fprint (f,
' ', c.trackCollectionLink().
key(), c.size())
1459 fprint (f,
'\n %3d' % p.first.index(),
' common ')
1460 dump_SubDetHitStatistics (p.second.statsCommon(), f)
1461 fprint (f,
'\n ',
' track ')
1462 dump_SubDetHitStatistics (p.second.statsTrack(), f)
1463 fprint (f,
'\n ',
' truth ')
1464 dump_SubDetHitStatistics (p.second.statsTruth(), f)
1465 fprint (f,
'\n ',
' trajectory ')
1466 dump_TruthTrajectory (p.second.trajectory(), f)
1472 fprint (f,
'(null)')
1474 fprint (f,
'%f %f' % (info.chiSquared(), info.doubleNumberDoF()))
1480 fprint (f,
'(null)')
1482 fprint (f, [info.get(i)
for i
in range(32)],
1483 [info.isHit(i)
for i
in range(21)])
1488 fprint (f,
typename(info.__class__) +
':')
1489 dump_Threevec (info.center(), f)
1490 dump_Threevec (PyAthena.Trk.Surface.normal (info), f)
1491 if (isinstance (info, PyAthena.Trk.DiscSurface)
and
1492 typename(info.bounds().__class__).find (
'NoBounds') >= 0):
1493 bd_class = info.bounds().__class__
1494 fprint (f,
'(no bounds)')
1495 elif (isinstance (info, PyAthena.Trk.CylinderSurface)
and
1496 (
not info.hasBounds()
or not info.bounds())):
1497 fprint (f,
'(no bounds)')
1498 bd_class = PyAthena.Trk.CylinderBounds
1500 dump_Threevec (info.globalReferencePoint(), f)
1501 bd_class = info.bounds().__class__
1502 if isinstance (info, PyAthena.Trk.CylinderSurface):
1503 dump_AmgVector (info.rotSymmetryAxis(), f)
1505 dump_AmgMatrix (info.transform().
matrix(), f, thresh=1e-8)
1507 layer = tonone (info.associatedLayer())
1509 layer = typename (info.associatedLayer().__class__)
1510 fprint (f,
'\n ly', layer)
1511 fprint (f,
'\n bd',
typename(bd_class))
1513 info.associatedDetectorElementIdentifier().getString())
1517 dump_Surface (info, f)
1522 dump_Surface (info, f)
1527 dump_Surface (info, f)
1532 dump_Surface (info, f)
1537 dump_Surface (info, f)
1542 os = ROOT.ostringstream()
1544 s = os.str().replace (
'\n',
';')
1550 dump_StraightLineSurface (info, f)
1552 dump_LineSaggingDescriptor (info.distortionDescriptor())
1559 elif isinstance (p, PyAthena.Trk.PerigeeSurface):
1560 dump_PerigeeSurface (p, f)
1561 elif isinstance (p, PyAthena.Trk.PlaneSurface):
1562 dump_PlaneSurface (p, f)
1563 elif isinstance (p, PyAthena.Trk.StraightLineSurface):
1564 dump_StraightLineSurface (p, f)
1565 elif isinstance (p, PyAthena.Trk.CylinderSurface):
1566 dump_CylinderSurface (p, f)
1567 elif isinstance (p, PyAthena.Trk.DiscSurface):
1568 dump_DiscSurface (p, f)
1569 elif isinstance (p, PyAthena.Trk.SaggedLineSurface):
1570 dump_SaggedLineSurface (p, f)
1577 if hasattr(p,
'hasSurface')
and not p.hasSurface():
1580 dump_surface (p.associatedSurface(), f)
1585 dump_AmgVector (info.parameters(), f)
1586 dump_Threevec (info.momentum(), f)
1587 dump_Threevec (info.position(), f)
1588 dump_Twovec (info.localPosition(), f)
1589 fprint (f,
"%f" % (info.charge(),))
1590 if info.covariance():
1591 fprint (f,
'\n cov')
1592 dump_AmgMatrix (info.covariance(), f)
1594 dump_associatedSurface (info, f)
1599 dump_ParametersBase (info, f)
1600 fprint (f,
'\n curvilinear')
1601 fprint (f, info.cIdentifier())
1602 mat = info.measurementFrame()
1603 dump_AmgVector (mat.col(0), f)
1604 dump_AmgVector (mat.col(1), f)
1605 dump_AmgVector (mat.col(2), f)
1613 if typename(p.__class__).startswith (
'DataModel_detail::ElementProxy<'):
1617 elif (
typename(p.__class__).startswith (
'Trk::ParametersT<')
or
1618 typename(p.__class__).startswith (
'Trk::ParametersBase<')):
1619 dump_ParametersBase (p, f)
1620 elif typename(p.__class__).startswith (
'Trk::CurvilinearParametersT<'):
1621 dump_CurvilinearParameters (p, f)
1630 if p.trackParameters().
size() > 0
and p.trackParameters()[-1]:
1631 dp = p.definingParameters()
1633 fprint (f,
"%f" % p.charge())
1636 fprint (f,
"%1d" % p.particleOriginType())
1641 vx = p.reconstructedVertex()
1643 dump_Threevec (vx.recVertex().position(), f)
1645 fprint (f, tonone (vx))
1646 if p.fitQuality() != fitQualityNull:
1648 dump_FitQuality (p.fitQuality(), f)
1649 if p.trackSummary():
1651 dump_TrackSummary (p.trackSummary(), f)
1653 dump_parameters (dp, f)
1655 for x
in p.trackParameters():
1657 dump_parameters (x, f)
1662 dump_AmgVector (p, f)
1663 fprint (f, p.parameterKey())
1668 dump_LocalParameters (p.localParameters(), f)
1669 dump_AmgMatrix (p.localCovariance(), f)
1674 dump_MeasurementBase (p, f)
1675 fprint (f, p.identify().getString())
1680 dump_RIO_OnTrack (p, f)
1681 fprint (f, p.idDE().
value(), p.isBroadCluster())
1682 dump_AmgVector (p.globalPosition(), f)
1687 dump_SiClusterOnTrack (p, f)
1688 dump_EL (p.prepRawDataLink(), f)
1689 fprint (f, p.hasClusterAmbiguity(), p.isFake(), p.energyLoss())
1690 fprint (f, p.detectorElement().identifyHash().
value())
1695 dump_SiClusterOnTrack (p, f)
1696 dump_EL (p.prepRawDataLink(), f)
1697 fprint (f, p.positionAlongStrip())
1698 fprint (f, p.detectorElement().identifyHash().
value())
1703 dump_RIO_OnTrack (p, f)
1704 dump_AmgVector (p.globalPosition(), f)
1705 fprint (f, p.idDE().
value())
1706 dump_EL (p.prepRawDataLink(), f)
1707 fprint (f, p.status(), p.localAngle(), p.positionAlongWire())
1708 fprint (f, p.highLevel(), p.timeOverThreshold())
1709 fprint (f, p.detectorElement().identifyHash().
value())
1714 dump_RIO_OnTrack (p, f)
1715 dump_AmgVector (p.globalPosition(), f, thresh=1e-8)
1716 dump_EL (p.prepRawDataLink(), f)
1717 fprint (f, p.status(), p.localAngle(), p.positionAlongWire())
1719 fprint (f, p.detectorElement().identifyHash().
value())
1720 dump_StraightLineSurface (p.associatedSurface(), f)
1725 dump_MeasurementBase (p, f)
1726 fprint (f, p.indexOfMaxAssignProb())
1727 sz = p.numberOfContainedROTs()
1728 fprint (f, [p.assignmentProbability(i)
for i
in range(sz)])
1733 dump_RIO_OnTrack (p, f)
1734 dump_AmgVector (p.globalPosition(), f, 1e-12, 4)
1735 fprint (f, p.positionAlongStrip())
1741 dump_CompetingRIOsOnTrack (p, f)
1742 dump_AmgVector (p.globalPosition(), f)
1743 dump_associatedSurface (p, f)
1744 for r
in p.containedROTs():
1745 fprint (f,
'\n mc ')
1746 dump_MuonClusterOnTrack (r, f)
1751 dump_MuonClusterOnTrack (p, f)
1752 dump_EL (p.prepRawDataLink(), f)
1753 fprint (f, p.time())
1754 fprint (f, p.detectorElement().identifyHash().
value())
1759 if isinstance (p, str):
1762 ss = ROOT.std.ostringstream()
1763 p.toOutputStream (ss)
1764 fprint (f, ss.str())
1771 ss = ROOT.std.ostringstream()
1777 if s[0] ==
'{': s = s[1:]
1778 if s[-1] ==
'}': s = s[:-1]
1779 for a
in s.split(
','):
1780 fprint (f,
' ', a,
'\n')
1785 fprint (f, p.first, p.second)
1791 for x
in p.getAll():
1792 fprint (f,
'\n ', x.first, x.second)
1798 fprint (f,
' Missing errors:', list (p.getMissingErrorSet()))
1799 fprint (f,
'\n Error errors:', list (p.getErrorErrorSet()))
1800 fprint (f,
'\n Sid errors:', list (p.getSidErrorSet()))
1801 fprint (f,
'\n L1 errors:', [(x.first, x.second)
for x
in p.getL1ErrorSet()])
1802 fprint (f,
'\n BCID errors:', [(x.first, x.second)
for x
in p.getBCIDErrorSet()])
1803 fprint (f,
'\n ROB errors:', [(x.first, x.second)
for x
in p.getRobErrorSet()])
1808 fprint (f,
'feb', p.FEBId().getString(), p.FebELVL1Id(), p.FebBCId(),
1809 'febh', p.FormatVersion(), p.SourceId(),
1810 p.RunNumber(), p.ELVL1Id(), p.BCId(), p.LVL1TigType(),
1812 'dsp', p.DspCodeVersion(), p.DspEventCounter(),
1813 'res', p.RodResults1Size(), p.RodResults2Size(), p.RodRawDataSize(),
1814 p.NbSamples(), p.NbSweetCells1(), p.NbSweetCells2(),
1815 p.OnlineChecksum(), p.OfflineChecksum(), p.RodStatus(),
1817 list(p.FebCtrl1()),
list(p.FebCtrl2()),
list(p.FebCtrl3()))
1822 fprint (f, p.identify().getString(), p.energy(), p.time(),
1823 p.quality(), p.provenance(), p.gain())
1828 fprint (f, [(x.getROBId(), x.isStatusOk(), x.isStatusPrefetched(),
1829 x.getROBSize(), x.getEncodedState(), x.getHistory(),
1830 x.getStatus())
for x
in p.getData()],
1835 fprint (f,
list(p.getWord()),
list(p.getVarKey()),
list(p.getVarVal()))
1839 fprint (f, [ord(x)
for x
in p.getByte()],
list(p.getWord()))
1843 fprint (f, p.getEncoded(),
list(p.getVarKey()),
list(p.getVarVal()))
1844 for a
in p.getAlg():
1846 dump_TrigMonAlg (a, f)
1850 fprint (f, p.getId(),
1851 p.getIndex(), p.getType(),
1852 p.getActiveState(), p.getErrorState(), p.isTerminalNode(),
1853 p.isOutputL2Node(), p.isOutputEFNode(), p.isTopologicalTE(),
1854 list(p.getChildIndex()), list (p.getParentIndex()),
1855 list(p.getRoiId()),
list(p.getClid()),
1856 list(p.getVarKey()),
list(p.getVarVal()))
1860 fprint (f,
'r/e/lb/bc', p.getRun(), p.getEvent(), p.getLumi(), p.getBunchId(),
1861 'tm', p.getSec(), p.getNanoSec(),
'addl',
list(p.word()))
1862 fprint (f,
'\n robs')
1863 for r
in p.getROBVec():
1865 dump_TrigMonROB (r, f)
1866 fprint (f,
'\n rois')
1867 for r
in p.getRoiVec():
1869 dump_TrigMonRoi (r, f)
1870 fprint (f,
'\n seq2')
1871 for r
in p.getSeqVec():
1873 dump_TrigMonSeq (r, f)
1874 fprint (f,
'\n tes')
1875 for r
in p.getTEVec():
1877 dump_TrigMonTE (r, f)
1878 fprint (f,
'\n l1',
list(p.getL1Item()))
1879 fprint (f,
'\n hlt',
list(p.getChain()))
1880 fprint (f,
'\n key',
list(p.getVarKey()))
1881 fprint (f,
'\n val',
list(p.getVarVal()))
1886 fprint (f, p.getCounter(), p.getLogic(), p.getLabel(),
1887 list(p.getOutputTEs()))
1891 fprint (f, p.getName(), p.getChainName(), p.getLowerName(),
1892 p.getId(), p.getCounter(),
1893 p.getLowerId(), p.getLowerCounter(),
1894 p.getLevelId(), p.getPrescale(), p.getPassThrough())
1895 fprint (f,
'\n lower ids',
list(p.getLowerIds()))
1896 fprint (f,
'\n stream ps',
list(p.getStreamPS()))
1897 fprint (f,
'\n stream name',
list(p.getStream()))
1898 fprint (f,
'\n group',
list(p.getGroup()))
1899 fprint (f,
'\n EB hypo',
list(p.getEBHypo()))
1900 fprint (f,
'\n sigs')
1901 for s
in p.getSignature():
1903 dump_TrigConfSig (s, f)
1908 ss = ROOT.ostringstream()
1910 fprint (f, p.index(), ss.str())
1914 fprint (f, p.getName(), p.getIndex(), p.getId(), p.getTopoTE())
1915 fprint (f,
'\n algs')
1916 for a
in p.getAlg():
1918 dump_TrigConfAlg (a, f)
1919 fprint (f,
'\n input TE',
list(p.getInputTEs()))
1923 fprint (f,
'r/e/lb', p.getRun(), p.getEvent(), p.getLumi(),
1924 'tm', p.getSec(), p.getNanoSec(),
1925 'keys', p.getMasterKey(), p.getHLTPrescaleKey(),
1926 p.getLVL1PrescaleKey())
1927 fprint (f,
'\n chains')
1928 for r
in p.getChainVec():
1930 dump_TrigConfChain (r, f)
1931 fprint (f,
'\n seqs')
1932 for r
in p.getSeqVec():
1934 dump_TrigMonSeq (r, f)
1935 fprint (f,
'\n key',
list(p.getVarKey()))
1936 fprint (f,
'\n val',
list(p.getVarVal()))
1937 fprint (f,
'\n pairkey',
list(p.getPairKey()))
1938 fprint (f,
'\n pairval',
list(p.getPairVal()))
1949 fprint (f, p.lvl1Id(), p.link(), p.frontendFlag(), p.bcId(), p.robId())
1953 fprint (f, p.hitDiscConfig(), p.link())
1957 dump_AFP_RawDataCommonHead (p, f)
1958 fprint (f, p.column(), p.row(), p.timeOverThreshold())
1962 dump_AFP_RawCollectionHead (p, f)
1963 for r
in p.dataRecords():
1965 dump_AFP_SiRawData (r, f)
1969 dump_AFP_RawDataCommonHead (p, f)
1970 fprint (f, p.header(), p.edge(), p.channel())
1972 fprint (f, p.delayedTrigger(), p.triggerPattern())
1974 fprint (f, p.time(), p.pulseLength())
1978 dump_AFP_RawCollectionHead (p, f)
1979 for r
in p.dataRecords():
1981 dump_AFP_ToFRawData (r, f)
1986 fprint (f, p.lvl1Id(), p.bcId(), p.lumiBlock(),
1987 p.timeStamp(), p.timeStampNS())
1988 fprint (f,
'\n si collections')
1989 for c
in p.collectionsSi():
1991 dump_AFP_SiRawCollection (c, f)
1992 fprint (f,
'\n tof collections')
1993 for c
in p.collectionsToF():
1995 dump_AFP_ToFRawCollection (c, f)
2000 fprint (f, p.GetWordId_PMF(), p.GetPMFId_PMF(), p.GetMBId_PMF(),
2001 p.GetEventCount_PMF(), p.Get_bit16(), p.Get_bit18(),
2002 p.Get_bit26_27(), p.Get_bit24_27(), p.Get_error_bit17(),
2003 list(p.HitChan()), list (p.dataWords()))
2008 fprint (f,
'collection')
2009 fprint (f,
'mb', p.GetMBId_POT(),
'mrod', p.GetMrodId_POT(),
2010 'ec', p.GetEventCount_POT(),
2011 'scid', p.Get_scaler_POT(),
2012 'adc', p.Get_ADC1_POT(), p.Get_ADC2_POT(),
2013 'err', p.GetTrigSyncErr(),
2014 'pat', boolvec (p.Get_pattern_POT()))
2015 fprint (f,
'\n data')
2016 for r
in p.Get_POT_DATA():
2018 dump_ALFA_RawData (r, f)
2019 fprint (f,
'\n contents')
2022 dump_ALFA_RawData (r, f)
2028 if p.is_FullEVmarker(): fprint (f,
'fullev')
2029 if p.is_ROBmarker(): fprint (f,
'rob')
2030 if p.is_RODmarker(): fprint (f,
'rod')
2031 fprint (f,
'sd/mrod/l1/ecr/bc', p.subdetId(), p.mrodId(), p.lvl1Id(),
2032 p.ecrId(), p.bcId())
2033 fprint (f,
'\n run/typ/tt/evtyp', p.runNum(), p.runType(),
2034 p.trigtypeId(), p.DetEventType(),
2035 'ts', p.GetTimeStamp(), p.GetTimeStampns(),
2036 p.GetLumiBlock(), p.GetBCId())
2037 fprint (f,
'\n lvl1',
boolvec(p.GetLvl1Pattern_POT()))
2038 fprint (f,
'\n lvl2',
boolvec(p.GetLvl2Pattern_POT()))
2039 fprint (f,
'\n ef',
boolvec(p.GetEFPattern_POT()))
2042 dump_ALFA_RawDataCollection (c, f)
2047 fprint (f,
list(p.triggerEnergies()),
list(p.triggerTimes()))
2053 fprint (f,
'(Dumped as a part of Analysis::TauJetContainer)')
2059 fprint (f,
'(Dumped as a part of egamma)')
2065 fprint (f,
'(Dumped as a part of jets)')
2071 fprint (f,
'(Dumped as a part of jets)')
2077 for x
in p.get_all_febs():
2078 fprint (f,
'\n ', x.first, x.second)
2084 for x
in p.splitProbMap():
2085 fprint (f,
'\n ', x.first, x.second.first, x.second.second, x.second.isSplit())
2091 fprint (f,
'(null)')
2093 fprint (f, p.word())
2094 for d
in p.getdeposits():
2096 dump_HepMcParticleLink (d.first, f)
2097 fprint (f, d.second)
2103 getData = ROOT.InDetSimDataHelpers.getData
2104 for id
in ROOT.InDetSimDataHelpers.identifiers(p):
2105 fprint (f,
'\n ', id.getString())
2106 dump_InDetSimData (getData (p, id), f)
2112 for x
in ROOT.TrkTruthDataHelpers.getData (p):
2113 fprint (f,
'\n ', x.first.getString())
2114 dump_HepMcParticleLink (x.second, f)
2121 fprint (f,
'\n ', x.first.index())
2122 dump_HepMcParticleLink (x.second.particleLink(), f)
2123 fprint (f, x.second.probability())
2128 fprint (f, p.ttOnlineID().getString(), p.ttOfflineID().getString(),
2135 fprint (f, p.getTTCTime(), p.getTime())
2136 dump_H3V (p.GetCounterPosition(), f)
2137 dump_H3V (p.GetcosThetaDirection(), f)
2149 dump_MuonClusterOnTrack (p, f)
2150 dump_EL (p.prepRawDataLink(), f)
2151 fprint (f, p.detectorElement().identifyHash().
value())
2156 dump_MuonClusterOnTrack (p, f)
2157 dump_EL (p.prepRawDataLink(), f)
2158 fprint (f, p.detectorElement().identifyHash().
value())
2163 dump_MuonClusterOnTrack (p, f)
2164 dump_EL (p.prepRawDataLink(), f)
2165 fprint (f, p.detectorElement().identifyHash().
value())
2166 fprint (f,
'\n stripDriftDists: ',
list(p.stripDriftDists()))
2167 fprint (f,
'\n stripDriftDistErrors:')
2168 for m
in p.stripDriftDistErrors():
2170 dump_AmgMatrix (m, f)
2175 dump_MuonClusterOnTrack (p, f)
2176 dump_EL (p.prepRawDataLink(), f)
2177 fprint (f, p.status(), p.timeStatus(), p.time())
2178 if p.detectorElement():
2179 fprint (f, p.detectorElement().identifyHash().
value())
2181 fprint (f,
'(null detEl)')
2186 dump_MeasurementBase (p, f)
2187 dump_AmgVector (p.globalPosition(), f)
2188 dump_associatedSurface (p, f)
2194 fprint (f,
'(null)')
2197 fprint (f, nm +
': ')
2198 if nm ==
'InDet::PixelClusterOnTrack':
2199 dump_PixelClusterOnTrack (p, f)
2200 elif nm ==
'InDet::SCT_ClusterOnTrack':
2201 dump_SCT_ClusterOnTrack (p, f)
2202 elif nm ==
'InDet::TRT_DriftCircleOnTrack':
2203 dump_TRT_DriftCircleOnTrack (p, f)
2204 elif nm ==
'Muon::MdtDriftCircleOnTrack':
2205 dump_MdtDriftCircleOnTrack (p, f)
2206 elif nm ==
'Muon::MdtDriftCircleOnTrack':
2207 dump_MdtDriftCircleOnTrack (p, f)
2208 elif nm ==
'Muon::CompetingMuonClustersOnTrack':
2209 dump_CompetingMuonClustersOnTrack (p, f)
2210 elif nm ==
'Muon::RpcClusterOnTrack':
2211 dump_RpcClusterOnTrack (p, f)
2212 elif nm ==
'Muon::TgcClusterOnTrack':
2213 dump_TgcClusterOnTrack (p, f)
2214 elif nm ==
'Muon::sTgcClusterOnTrack':
2215 dump_sTgcClusterOnTrack (p, f)
2216 elif nm ==
'Muon::MMClusterOnTrack':
2217 dump_MMClusterOnTrack (p, f)
2218 elif nm ==
'Muon::CscClusterOnTrack':
2219 dump_CscClusterOnTrack (p, f)
2220 elif nm ==
'Trk::PseudoMeasurementOnTrack':
2221 dump_PseudoMeasurementOnTrack (p, f)
2228 fprint (f, p.dumpType(), p.thicknessInX0())
2229 dump_associatedSurface (p, f)
2237 fprint (f,
daz(p.deltaPhi()),
daz(p.deltaTheta()))
2238 fprint (f, p.sigmaDeltaPhi(), p.sigmaDeltaTheta())
2243 dump_MaterialEffectsBase (p, f)
2244 dump_ScatteringAngles (p.scatteringAngles(), f)
2245 dump_EnergyLoss (p.energyLoss(), f)
2251 fprint (f,
'(null)')
2254 fprint (f, nm +
': ')
2255 if nm ==
'Trk::MaterialEffectsOnTrack':
2256 dump_MaterialEffectsOnTrack (p, f)
2262 fprint (f,
'(null)')
2264 fprint (f, p.deltaTranslation(), p.sigmaDeltaTrranslation(), p.deltaAngle(), p.sigmaDeltaAngle())
2265 for t
in p.vectorOfAffectedTSOS():
2266 fprint (f,
'\n ts ')
2267 dump_parameters (t.trackparameters(), f)
2268 fprint (f,
'\n sf ')
2269 dump_Surface (p.associatedSurface(), f)
2274 dump_FitQuality (p.fitQualityOnSurface(), f)
2275 fprint (f,
'\n pm ')
2276 dump_parameters (p.trackParameters(), f)
2277 fprint (f,
'\n ms ')
2278 dump_measurement (p.measurementOnTrack(), f)
2279 fprint (f,
'\n me ')
2280 dump_materialeffects (p.materialEffectsOnTrack(), f)
2281 fprint (f,
'\n ae ')
2282 dump_AlignmentEffectsOnTrack (p.alignmentEffectsOnTrack(), f)
2287 fprint (f, p.trackFitter(), p.particleHypothesis())
2289 fprint (f, p.patternRecognition().
to_string())
2295 pm = p.trackParameters()
2296 for i
in range(len(pm)):
2298 dump_parameters (pm[i], f)
2300 for x
in p.measurementsOnTrack():
2302 dump_measurement (x, f)
2304 for x
in p.outliersOnTrack():
2306 dump_measurement (x, f)
2308 for x
in p.trackStateOnSurfaces():
2310 dump_TrackStateOnSurface (x, f)
2311 fprint (f,
'\n pp ')
2312 dump_parameters (p.perigeeParameters(), f)
2313 fprint (f,
'\n fq ')
2314 dump_FitQuality (p.fitQuality(), f)
2315 fprint (f,
'\n tm ')
2316 dump_TrackSummary (p.trackSummary(), f)
2317 fprint (f,
'\n ti ')
2318 dump_TrackInfo (p.info(), f)
2323 dump_MeasurementBase (p, f)
2324 fprint (f, p.author())
2325 dump_FitQuality (p.fitQuality(), f)
2326 for x
in p.containedMeasurements():
2327 dump_measurement (x, f)
2333 fprint (f,
'%d %f %f %f %f %f' %
2343 fprint (f,
'\n %d %f %f %f' %
2354 fprint (f,
"%f %f" %
2357 fprint (f,
"\n %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f" %
2374 fprint (f,
"\n %f %f %f %f %f %f %f %f" %
2383 fprint (f,
"\n %f %f %f %f" %
2397 fprint (f,
"%d %d %d %d %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %f %d %d %d" %
2426 dump_Fourvec (h.getObject(), f)
2428 fprint (f,
'\n %d %f %f %f %f %f' %
2435 fprint (f,
'\n ', [x
for x
in toiter1(h)])
2441 fprint (f,
" %d %d %d %d %d %d %d %d %d %f %f %f %f %f %f %f %f %f %f %f " %
2442 (m.isValidDefault(),
2447 m.getDefaultType().
type(),
2450 m.getType(0).
type(),
2462 fprint (f,
'\n %f %f %f %f %f %f %f %d %d %d' %
2474 fprint (f,
'\n ', [i
for i
in m.types()])
2476 fprint (f,
'\n %d %f %f %f %f %f' %
2484 [x
for x
in toiter1 (m.getExcess())],
2485 [x
for x
in toiter1 (m.getDeficit())])
2486 dump_MissingETSigHypo (m.getHypo(), f)
2487 dump_MissingETSigHypo (m.getDefaultHypo(), f)
2488 dump_MissingETSigHypo (m.getHypo(0), f)
2494 dump_MissingET (m, f)
2495 fprintln (f,
' ', m.calibType())
2497 fprintln (f,
' %d %d %f %f %f' %
2508 dump_MissingET (m, f)
2510 fprintln (f,
' %d %f %f %f' %
2521 fprint (f,
"%3d %f %f %f %f %f %d %d %d" %
2522 (c.getClusterSize(),
2531 fprint (f, c.getRecoStatus().getStatusWord())
2532 beg = c.beginMoment()
2535 fprint (f,
'\n mom %d %f' % (c.getMomentType(beg),
2536 c.getMomentValue(beg)))
2539 for i
in range (c.nSamples()):
2540 fprint (f,
'\n %2d %d %d %d %f %f %f %f %f %f %f %f %f %f %f' %
2542 c.is_valid_sampling(i),
2562 ll.sort (key=
lambda a: a.pt(), reverse=
True)
2563 dump_list (ll, f, dump_CaloCluster, nmax=nmax)
2572 el = beg.getElement()
2573 if last != el.dataID():
2576 fprint (f, el.index())
2585 fprint (f,
'%d/%f' % (beg.index(), beg.weight()))
2591 fprint (f, l.ID().getString())
2592 if l.__class__ == PyAthena.TileCell:
2593 fprint (f,
'%.2f %.2f %d %d %d ' % (l.ene1(), l.time1(), l.qual1(), l.qbit1(), l.gain1()))
2594 fprint (f,
'%.2f %.2f %d %d %d ' % (l.ene2(), l.time2(), l.qual2(), l.qbit2(), l.gain2()))
2596 fprint (f,
'%.2f %.2f %d %d %d ' % (l.energy(), l.time(), l.quality(), l.provenance(), l.gain()))
2601 dump_Threevec (v.position(), f)
2607 dump_FitQuality (v.fitQuality(), f)
2608 dump_AmgMatrix (v.covariancePosition(), f)
2616 pm = trk.trackParameters()
2617 if pm
and len(pm) > 0:
2619 dump_parameters (perigee, f)
2624 dump_ITrackLink (l, f)
2625 fprint (f,
'\n ', l.isValid(), l.index(), l.dataID())
2630 dump_ITrackLink (l, f)
2631 fprint (f, l.isValid(), l.index(), l.dataID())
2636 dump_FitQuality (t.trackQuality(), f)
2637 fprint (f,
'%f %f' %
2638 (t.vtxCompatibility(),
2640 fprint (f,
tonone(t.linState()),
tonone(t.ImpactPoint3dAtaPlane()))
2641 if t.perigeeAtVertex():
2643 dump_parameters (t.perigeeAtVertex(), f)
2650 tel = PyAthena.ElementLink (
'DataVector<Trk::Track>')
2651 if not isinstance (t.trackOrParticleLink(), tel):
2654 trk = t.trackOrParticleLink().cptr()
2656 pm = trk.trackParameters()
2657 if pm
and len(pm) > 0:
2659 dump_parameters (perigee, f)
2661 if isinstance (t.trackOrParticleLink(), PyAthena.Trk.LinkToTrack):
2662 dump_LinkToTrack (t.trackOrParticleLink(), f)
2663 elif isinstance (t.trackOrParticleLink(),PyAthena.Trk.LinkToTrackParticleBase):
2664 dump_LinkToTrackParticleBase (t.trackOrParticleLink(), f)
2666 fprint (f, t.trackOrParticleLink())
2671 dump_VxTrackAtVertex (t, f)
2672 fprint (f,
'\n ',
tonone(t.linkToVertices()))
2677 dump_RecVertex (v.recVertex(), f)
2681 tav = v.vxTrackAtVertex()
2682 for i
in range(tav.size()):
2684 fprint (f,
'\n ',
typename(t.__class__))
2685 if isinstance (t, PyAthena.Trk.MVFVxTrackAtVertex):
2686 dump_MVFVxTrackAtVertex (t, f)
2687 elif t.__class__ == PyAthena.Trk.VxTrackAtVertex:
2688 dump_VxTrackAtVertex (t, f)
2695 fprint (f,
tonone(v.constraintVertex()),
2697 tonone(v.linearizationVertex()))
2702 dump_VxCandidate1 (v, f)
2703 fprint (f,
'\n ', v.isInitialized(),
'fi')
2704 dump_MvfFitInfo (v.vertexFitInfo(), f)
2710 if isinstance (v, PyAthena.Trk.MVFVxCandidate):
2711 dump_MVFVxCandidate (v, f)
2712 elif (v.__class__ == PyAthena.Trk.VxCandidate
or
2713 isinstance (v, PyAthena.Trk.V0Hypothesis)):
2714 dump_VxCandidate1 (v, f)
2715 elif isinstance (v, PyAthena.Trk.ExtendedVxCandidate):
2716 dump_ExtendedVxCandidate (v, f)
2719 dump_VxCandidate1 (v, f)
2724 fprint (f,
'%9d %9d %9d %9d %9d %9d' %
2728 e.time_stamp_ns_offset(),
2730 e.bunch_crossing_id()))
2735 fprint (f, e.typeToString(), e.user_type(), e.mc_event_weight())
2740 fprint (f, e.statusElement(), e.extendedLevel1ID(), e.level1TriggerType())
2741 fprint (f,
'\n l2:', formatItemUsingLong ([x
for x
in e.level2TriggerInfo()]))
2742 fprint (f,
'\n ef:', formatItemUsingLong ([x
for x
in e.eventFilterInfo()]))
2743 fprint (f,
'\n st:', [(x.name(), x.type(), x.obeysLumiblock())
for x
in e.streamTags()])
2749 fprint (f, e.clID())
2750 dump_EventID (e.event_ID(), f)
2752 fprint (f, e.actualInteractionsPerCrossing(), e.averageInteractionsPerCrossing())
2753 for i
in range(ROOT.EventInfo.nDets):
2754 fprint (f,
'\n det', i, e.eventFlags(i), e.errorState(i))
2756 dump_EventType (e.event_type(), f)
2758 dump_TriggerInfo (e.trigger_info(), f)
2764 dump_EventInfo (e, f)
2765 for (i,s)
in enumerate (toiter (e.beginSubEvt(), e.endSubEvt())):
2766 fprint (f,
'\n subevt', i, s.time(), s.index(), s.BCID(), s.type())
2772 fprint (f,
'nevents: ', e.getNumberOfEvents())
2775 fprint (f,
'\nproc tags: ',
list(e.getProcessingTags()))
2776 fprint (f,
'\nitem list: ',
formatItemUsingLong([(p.first, p.second)
for p
in e.getItemList()]))
2777 for typ
in list(e.getEventTypes()):
2779 dump_EventType (typ, f)
2785 fn = getattr(e, a,
None)
2788 v = e.attribute_as_string(a)
2789 if v ==
'':
return None
2792 fn = getattr(e, a,
None)
2795 return [typ(x)
for x
in e.attribute_as_string(a).
split()]
2799 if hasattr(e,
'particles_size'):
2800 return e.particles_size()
2801 return e.particles().
size()
2803 if hasattr(e,
'vertices_size'):
2804 return e.vertices_size()
2805 return e.vertices().
size()
2807 if hasattr(e,
'particles_begin'):
2808 return toiter (e.particles_begin(), e.particles_end())
2809 return e.particles()
2811 if hasattr(e,
'vertices_begin'):
2812 return toiter (e.vertices_begin(), e.vertices_end())
2815 if hasattr(e,
'signal_process_vertex'):
2816 return e.signal_process_vertex()
2817 for v
in e.vertices():
2818 if v.attribute_as_string(
'signal_process_vertex') ==
'1':
2822 if hasattr(e,
'particles_in_size'):
2823 return e.particles_in_size()
2824 return e.particles_in().
size()
2826 if hasattr(e,
'particles_out_size'):
2827 return e.particles_out_size()
2828 return e.particles_out().
size()
2836 while beg != end
and sz > 0:
2840 out.append (x.barcode())
2845 if hasattr(v,
'particles_in_const_begin'):
2846 parts =
barcodes(v.particles_in_const_begin(),
2847 v.particles_in_const_end(),
2848 v.particles_in_size())
2854 if hasattr(v,
'particles_out_const_begin'):
2855 parts =
barcodes(v.particles_out_const_begin(),
2856 v.particles_out_const_end(),
2857 v.particles_out_size())
2863 fprint (f,
"%d %d %d %d %d" %
2864 (v.status()
if hasattr(v,
'status')
else v.id(),
2866 v.parent_event().event_number(),
2869 dump_Threevec (v.position(), f)
2870 fprint (f,
'%f ' % v.position().
t())
2871 if not hasattr(v,
'weights'):
2873 elif v.weights().
size() == 0:
2876 ww =
list(v.weights())
2877 fprintln (f, [w
for w
in ww])
2890 fprint (f,
"%d %5s %d %d" %
2892 PDG.pdgid_to_name(p.pdg_id()),
2893 p.parent_event().event_number(),
2895 if p.production_vertex():
2896 s =
str(_gen_barcode (p.production_vertex())) +
'('
2897 parts = genvertex_in_barcodes (p.production_vertex())
2898 for bc
in parts: s +=
'%d ' % bc
2899 if len(parts) > 3: s +=
'...'
2905 s = str (_gen_barcode (p.end_vertex())) +
'(->'
2906 parts = genvertex_out_barcodes (p.end_vertex())
2907 for bc
in parts: s +=
'%d ' % bc
2908 if len(parts) > 3: s +=
'...'
2913 dump_HLV (p.momentum(), f)
2914 if hasattr (p,
'polarization'):
2915 pol = p.polarization()
2916 poltheta = fix_neg0 (pol.theta())
2917 fprint (f,
"%f %f" % (poltheta, pol.phi()))
2918 if pol.normal3d().
theta() != 0
or pol.normal3d().
phi() != 0:
2919 fprint (f,
"%f %f" %
2920 (pol.normal3d().
theta(), pol.normal3d().
phi()))
2922 poltheta = fix_neg0 (
_gen_attr(p,
'theta', float))
2924 fprint (f,
"%f %f" % (poltheta, polphi))
2929 fprint (f,
'%d %d %f %f %f %d %d' %
2937 fprint (f,
'\n wt', [w
for w
in e.weights()], \
2942 dump_GenVertex (sv, f)
2947 dump_GenVertex (v, f)
2954 dump_GenParticle (p, f)
2962 fprint (f, t.dump())
2968 fprint (f,
"%d %s %f %d %d %d %d %d %d %d %d" %
2974 m.getSectorAddress(),
2975 m.isFirstCandidate(),
2976 m.isMoreCandInRoI(),
2977 m.isMoreCandInSector(),
2985 fprint (f,
"%d %f %f %f %f %f %f %d" %
2994 for (n,v)
in zip (m.getThresholdNames(), m.getThresholdValues()):
3001 fprint (f,
"%d %d %f %f %f" %
3007 for (n,v)
in zip (m.getThresholdNames(), m.getThresholdValues()):
3013 fprint (f,
"%d %d" %
3015 m.getThrPattern(),))
3016 fprint (f, [t
for t
in m.getThresholds()])
3021 fprint (f,
"%d %d %d %f %f %f %f %f %d %d %d %d %d %d" %
3034 m.getThrPatSummET(),
3035 m.getThrPatMissET()))
3036 fprint (f, [t
for t
in m.getThresholds()])
3042 for m
in t.getMuonROIs():
3044 dump_Muon_ROI (m, f)
3045 for m
in t.getEmTauROIs():
3047 dump_EmTau_ROI (m, f)
3048 for m
in t.getJetROIs():
3051 for m
in t.getJetEtROIs():
3053 dump_JetET_ROI (m, f)
3054 for m
in t.getEnergySumROIs():
3056 dump_EnergySum_ROI (m, f)
3061 fprint (f,
"%d %d %d" %
3070 dump_GenericResult (t, f)
3071 fprint (f,
"%d %d %d %d %d %d %d %d %d %d %d %d" %
3072 (t.getHLTResultClassVersion(),
3075 t.getHLTStatus().code,
3076 t.getLvlConverterStatus().code,
3079 t.getNumOfSatisfiedSigs(),
3080 t.isCreatedOutsideHLT(),
3081 t.isHLTResultTruncated(),
3085 fprint (f, [i
for i
in t.partSizes()])
3086 fprint (f, [i
for i
in t.getNavigationResult()])
3087 fprint (f, [i
for i
in t.getChainResult()])
3088 fprint (f, [i
for i
in t.getNavigationResultCuts()])
3094 fprint (f,
'version', p.getVersion())
3095 fprint (f,
'\n streamtags',
list(p.getStreamTags()))
3098 fprint (f,
'\n hltbits',
list(p.getHltBitsAsWords()))
3099 fprint (f,
'\n data size', p.getSerialisedData().
size())
3101 fprint (f,
'\n status',
list(p.getStatus()))
3102 fprint (f,
'\n trunc', p.severeTruncation(),
list(p.getTruncatedModuleIds()))
3108 fprint (f, t.isConfigured(),
3110 t.anyActiveL1ItemAfterVeto(),
3112 fprint (f,
'\n ', [i
for i
in t.itemsPassed()])
3113 fprint (f,
'\n ', [i
for i
in t.itemsBeforePrescale()])
3114 fprint (f,
'\n ', [i
for i
in t.itemsAfterPrescale()])
3115 fprint (f,
'\n ', [i
for i
in t.itemsAfterVeto()])
3121 fprint (f, t.masterKey())
3123 dump_Lvl1Result (t.getL1Result(), f)
3125 dump_HLTResult (t.getL2Result(), f)
3127 dump_HLTResult (t.getEFResult(), f)
3132 fprint (f, e.id(), e.name())
3137 fprint (f,
'(', s.signature_counter(),
3140 for e
in s.outputTEs():
3141 dump_HLTTriggerElement (e, f)
3156 fprint (f, c.chain_name(),
3160 c.lower_chain_name(),
3161 c.lower_chain_counter(),
3165 c.lower_chain_hash_id())
3166 for s
in c.signatureList():
3167 dump_HLTSignature (s, f)
3168 fprint (f, [t.bit()
for t
in c.triggerTypeList()])
3169 for s
in c.streamTagList():
3170 dump_HLTStreamTag (s, f)
3171 fprint (f, [s
for s
in c.groupList()])
3177 dump_HLTTriggerElement (s.outputTE(), f)
3178 dump_HLTTriggerElement (s.topoStartTE(), f)
3179 for t
in s.inputTEs():
3180 dump_HLTTriggerElement (t, f)
3181 fprint (f, [a
for a
in s.algorithms()],
')')
3189 for c
in d.getChainList().
chains():
3191 dump_HLTChain (c, f)
3192 for c
in d.getSequenceList().sequences():
3194 dump_HLTSequence (c, f)
3204 dump_L1DataBaseclass (c, f)
3228 fprint (f, d.masterKey())
3229 fprint (f,
'\nit', [s
for s
in d.getItems()])
3230 fprint (f,
'\nmu', [s
for s
in d.getMuonThresholds()])
3231 fprint (f,
'\nem', [s
for s
in d.getEMTauThresholds()])
3232 fprint (f,
'\njt', [s
for s
in d.getJetThresholds()])
3233 fprint (f,
'\nfj', [s
for s
in d.getForwardJetThresholds()])
3234 fprint (f,
'\net', [s
for s
in d.getTotalEtThresholds()])
3235 fprint (f,
'\nje', [s
for s
in d.getJetEtThresholds()])
3236 fprint (f,
'\nms', [s
for s
in d.getMissingEtThresholds()])
3239 dump_CTPConfig (d.ctpConfig(), f)
3243 if d.thresholdConfig():
3244 fprint (f, d.thresholdConfig())
3252 fprint (f, d.masterKey())
3253 fprint (f, [i
for i
in d.getPrescales()])
3258 dump_H3V (t.GetPosition(), f)
3259 dump_H3V (t.GetMomentum(), f)
3260 fprint (f, t.GetEnergy(),
3269 fprintln (f, s.code(),
3281 dump_DetStatus (e.second, f)
3286 fprint (f, t.nrMatches())
3287 if t.nrMatches() == 0:
return
3288 fprint (f, t.bestMatch().
barcode(),
3292 t.nrCommonHitsBestSi(),
3293 t.nrCommonHitsBestTRT())
3296 t.nrCommonSiHits(i),
3297 t.nrCommonTRTHits(i))
3298 for i
in range(t.nrMatches())]))
3299 fprint (f, formatItemUsingLong ([(p.first, p.second)
for p
in t.getFamilyTree()]))
3304 fprint (f,
"%f %f %f %f %f %f %f %f %f %f %f %d" %
3315 p.surfaceCoordinate,
3318 fprint (f, [x
for x
in p.cov])
3323 fprint (f,
"%d %f %d %d %d %d" %
3330 fprint (f,
tonone(t.siSpacePoints),
tonone(t.trtDriftCircles))
3331 fprint (f,
'\n par')
3333 dump_TrigInDetTrackFitPar (t.param, f)
3336 fprint (f,
'\n end')
3338 dump_TrigInDetTrackFitPar (t.endParam, f)
3359 self.
cov = [x
for x
in t.cov()]
3375 self.
param = PyTrigInDetTrackFitPar (t.param())
3387 if x[0].nrMatches() > 0:
3388 xbc = x[0].bestSiMatch().
barcode()
3390 if y[0].nrMatches() > 0:
3391 ybc = y[0].bestSiMatch().
barcode()
3397 return cmp (x[1].chi2, y[1].chi2)
3406 tm.sort (key = cmp_to_key (_tmcmp))
3407 for (i, (truth, track))
in enumerate(tm):
3408 fprint (f,
'\n ', i)
3409 dump_TrigInDetTrackTruth (truth, f)
3411 dump_TrigInDetTrack (track, f)
3419 bv = a.beginAssociation(obj)
3420 ev = a.endAssociation(obj)
3425 targ = bv.__deref__()
3427 except RuntimeError
as e:
3428 if e.args[0].find (
'dereferencing invalid ElementLink') >= 0:
3440 a.assocs (obj, coll)
3446 bo = a.beginObject()
3450 obj = a.getObject(bo)
3452 errflag = safe_assocs (a, obj, coll, f)
3453 l.append ((obj, coll, errflag))
3456 l.sort (key=
lambda a: a[0].
pt(), reverse=
True)
3458 for obj, coll, errflag
in l:
3459 fprint (f,
'\n',
typename(obj.__class__))
3460 dump_Fourvec (obj, f)
3466 fprint (f,
' [Got invalid EL error]')
3472 return dump_Assocs (a, f, PyAthena.DataVector(PyAthena.INavigable4Momentum))
3477 return dump_Assocs (a, f, PyAthena.Rec.TrackParticleContainer)
3481 fprint (f, a.RoiWord(), a.DeltaPhi(), a.DeltaR(), a.InvMass(),
3482 a.ElecValid(), a.OppositeCharge(), a.VertexState())
3487 fprint (f,
"%f %f %d %d %d %d %d %d %d" %
3490 m.numberOfTriggerHits(),
3491 m.numberOfInnerHits(),
3492 m.numberOfMiddleHits(),
3493 m.numberOfOuterHits(),
3494 m.numberOfInnerSegments(),
3495 m.numberOfMiddleSegments(),
3496 m.numberOfOuterSegments()))
3501 fprint (f, a.name())
3506 dump_JetAssociationBase (a, f)
3509 fprint (f, a.getElectronWeight (ele))
3510 dump_Fourvec (ele, f)
3515 dump_JetAssociationBase (a, f)
3518 fprint (f, a.getPhotonWeight (gam))
3519 dump_Fourvec (gam, f)
3524 dump_JetAssociationBase (a, f)
3527 fprint (f, a.getMuonWeight (muo))
3528 dump_Fourvec (muo, f)
3533 dump_JetAssociationBase (a, f)
3534 fprint (f, a.nTracks())
3536 ROOT.SetOwnership (tr,
True)
3538 fprint (f, a.getTrackWeight (t))
3544 dump_JetAssociationBase (a, f)
3547 for v
in vi.vertices():
3548 dump_Threevec (v.position(), f)
3556 if j.e() == 0
and j.phi() == 0
and j.eta() == 0:
3557 with signalstate (j, PyAthena.P4SignalState.JETEMSCALE):
3558 dump_ParticleImpl (j, f)
3560 dump_ParticleImpl (j, f)
3561 fprint (f,
'\n %s %f' %
3563 j.getFlavourTagWeight(),))
3565 tower_constituents_p =
False
3566 if j.firstConstituent() != j.lastConstituent():
3567 if isinstance (j.getContainer(j.firstConstituent()),
3568 PyAthena.CaloTowerContainer):
3569 tower_constituents_p =
True
3570 elif j.firstConstituent().__deref__():
3571 ss =
asint(j.constituentSignalState())
3572 j.setConstituentSignalState (PyAthena.P4SignalState.CALIBRATED)
3573 dump_HLV (j.constituent_sum4Mom(), f)
3574 j.setConstituentSignalState (ss)
3575 fprint (f, [x
for x
in j.combinedLikelihood()])
3576 fprint (f,
'\n moms ')
3577 for mk
in j.getMomentKeys():
3578 if mk
in [
'Timing',
'LArQuality']:
continue
3579 mom = j.getMoment (mk,
False)
3581 fprint (f, mk, j.getMoment (mk,
True))
3582 if hasattr(j,
'getJetTime'):
3583 fprint (f,
'\n timing ', j.getJetTime(),
3584 ' qual ', j.getJetQuality())
3586 fprint (f,
'\n timing ', j.getMoment(
'Timing',
True),
3587 ' qual ', j.getMoment(
'LArQuality',
True))
3588 fprint (f,
'\n assoc ')
3589 for ak
in j.getAssociationKeys():
3590 ass = j.getAssociationBase(ak)
3591 if ass == jetAssocNull :
continue
3592 fprint (f,
'\n ', ak)
3593 if isinstance (ass, PyAthena.Analysis.ElectronAssociation):
3594 dump_ElectronAssociation (ass, f)
3595 elif isinstance (ass, PyAthena.Analysis.PhotonAssociation):
3596 dump_PhotonAssociation (ass, f)
3597 elif isinstance (ass, PyAthena.Analysis.MuonAssociation):
3598 dump_MuonAssociation (ass, f)
3599 elif isinstance (ass, PyAthena.Analysis.TrackAssociation):
3600 dump_TrackAssociation (ass, f)
3601 elif isinstance (ass, PyAthena.Analysis.ISvxAssociation):
3602 dump_ISvxAssociation (ass, f)
3605 ti = j.jetTagInfoVector()
3606 fprint (f,
'\n tag info:')
3610 ti.sort (key=_infoType)
3613 fprint (f,
'\n (null)')
3615 fprint (f,
'\n %s %s: %f: '
3616 % (info.infoType(),
typename(info.__class__), j.getFlavourTagWeight (info.infoType())))
3617 if isinstance (info, PyAthena.Analysis.TruthInfo):
3618 dump_TruthInfo (info, f)
3619 elif isinstance (info, PyAthena.Analysis.SoftLeptonTruthInfo):
3620 dump_SoftLeptonTruthInfo (info, f)
3621 elif isinstance (info, PyAthena.Analysis.SecVtxInfo):
3622 dump_SecVtxInfo (info, f)
3623 elif isinstance (info, PyAthena.Analysis.IPInfoPlus):
3624 dump_IPInfoPlus (info, f)
3625 elif isinstance (info, PyAthena.Analysis.IPInfoBase):
3626 dump_IPInfoBase (info, f)
3627 elif isinstance (info, PyAthena.Analysis.SVInfoBase):
3628 dump_SVInfoBase (info, f)
3629 elif isinstance (info, PyAthena.Analysis.SVInfoPlus):
3630 dump_SVInfoPlus (info, f)
3631 elif isinstance (info, PyAthena.Analysis.MultiSVInfoPlus):
3632 dump_MultiSVInfoPlus (info, f)
3633 elif isinstance (info, PyAthena.Analysis.JetProbInfoBase):
3634 dump_JetProbInfoBase (info, f)
3635 elif isinstance (info, PyAthena.Analysis.SoftElectronInfo):
3636 dump_SoftElectronInfo (info, f)
3637 elif isinstance (info, PyAthena.Analysis.JetFitterTagInfo):
3638 dump_JetFitterTagInfo (info, f)
3639 elif (hasattr (PyAthena.Analysis,
'TrackCountingInfo')
and
3640 isinstance (info, PyAthena.Analysis.TrackCountingInfo)):
3641 dump_TrackCountingInfo (info, f)
3642 elif isinstance (info, PyAthena.Analysis.AtlfInfo):
3643 dump_AtlfInfo (info, f)
3644 elif isinstance (info, PyAthena.Analysis.SoftMuonInfo):
3645 dump_SoftMuonInfo (info, f)
3646 elif info.__class__
is PyAthena.Analysis.BaseTagInfo:
3647 dump_BaseTagInfo (info, f)
3648 elif info.__class__
is PyAthena.Analysis.GbbNNTagInfo:
3649 dump_GbbNNTagInfo (info, f)
3652 if tower_constituents_p:
3653 fprint (f,
'\n (not dumping tower constituents)')
3655 fprint (f,
'\n constituents:')
3656 for c
in toiter (j.firstConstituent(), j.lastConstituent()):
3662 fprint (f, j.getWeight (c))
3668 dump_VxCandidate1 (c, f)
3670 if c.fullCovariance():
3671 dump_AmgMatrix (c.fullCovariance(), f)
3681 fprint (f,
'V0Hypothesis', h.positiveTrackID(),
3682 h.negativeTrackID(), h.hypothesisID())
3684 dump_ExtendedVxCandidate (h, f)
3689 fprint (f,
"V0Candidate", len(v.v0Hypothesis()))
3690 for h
in v.v0Hypothesis():
3692 dump_V0Hypothesis (h, f)
3697 dump_Threevec (v, f)
3698 fprint (f, v.algorithmId(), v.chi2(), v.ndof(), v.mass(),
3699 v.massVariance(), v.energyFraction(), v.nTwoTracksSecVtx())
3700 fprint (f,
'\n cov: ', [v.cov()[i]
for i
in range(6)])
3701 if v.tracks()
and v.tracks().
size() > 0:
3702 for (i, t)
in enumerate (v.tracks()):
3703 fprint (f,
'\n t%d'%i)
3705 fprint (f, p.a0(), p.z0(), p.phi0(), p.eta(), p.pT())
3706 if v.getMotherTrack():
3707 fprint (f,
'\n mother: ')
3708 dump_TrigInDetTrackFitPar (v.getMotherTrack(), f)
3720 fprint (f,
'%f, ' % last)
3722 fprint (f,
'%d*%f, ' % (n, last))
3729 fprint (f,
'%f, ' % last)
3731 fprint (f,
'%d*%f, ' % (n, last))
3736 fprint (f,
'z0_pt:')
3737 dump_TrigHisto2D (t.z0_pt(), f)
3738 fprint (f,
'\neta_phi:')
3739 dump_TrigHisto2D (t.eta_phi(), f)
3743 dump_TrigTrackCounts (t, f)
3749 fprint (f, t.roiId(), t.Zvtx(), t.err_Zvtx(), t.etCalibCluster(),
3750 t.simpleEtFlow(), t.nMatchedTracks())
3751 fprint (f,
'\n ',
tonone(t.tauCluster()),
3752 tonone(t.trackCollection()),
3762 fprint (f, c.rawEnergy(), c.rawEt(), c.rawEta(), c.rawPhi(), c.RoIword(),
3763 c.nCells(), c.quality())
3764 fprint (f,
'\n ', [c.rawEnergy(i)
for i
in range(25)])
3769 dump_TrigCaloCluster (c, f)
3770 fprint (f,
'\n ', c.energy(), c.et(), c.eta(), c.phi(),
3771 c.e237(), c.e277(), c.fracs1(), c.weta2(),
3772 c.ehad1(), c.Eta1(), c.emaxs1(), c.e2tsts1())
3773 fprint (f,
'\n ', [c.energyInSample(i)
for i
in range(25)])
3777 dump_TrigEMCluster (c, f)
3783 fprint (f, p.isValid(), p.roiId())
3784 fprint (f,
'\n ', p.trackAlgo(), p.trackIndx(), p.charge(),
3786 fprint (f,
'\n ', p.err_Pt(), p.err_eta(), p.err_phi(), p.err_Zvtx())
3787 fprint (f,
'\n ', p.trkClusDeta(), p.trkClusDphi(), p.EtOverPt())
3793 fprint (f, p.isValid(), p.roiId())
3794 fprint (f,
'\n ', p.Et(), p.HadEt(), p.energyRatio(), p.rCore(),
3798 dump_TrigEMCluster (p.cluster(), f)
3804 fprintln (f,
' ROI ', t.RoI_ID())
3806 dump_list (t2, f, dump_TrigInDetTrack)
3812 fprint (f, j.isValid(), j.roiId())
3813 fprint (f,
'\n ', j.prmVtx(), j.xComb(), j.xIP1D(), j.xIP2D(),
3814 j.xIP3D(), j.xCHI2(), j.xSV(), j.xMVtx(), j.xEVtx(), j.xNVtx())
3815 fprint (f,
'\n ',
tonone(j.TrackCollection()),
3816 tonone(j.PrmVertexCollection()),
3817 tonone(j.SecVertexCollection()))
3822 fprint (f, j.roiId(), j.particleType(), j.eta(), j.phi(),
3823 j.mass(), j.fitmass(), j.fitchi2(), j.fitndof(),
3824 j.fitx(), j.fity(), j.fitz())
3825 if j.pSecondDecay():
3826 fprint (f,
'\n second:')
3827 dump_TrigEFBphys (j.pSecondDecay(), f)
3828 vec = j.trackVector()
3829 for i
in range(len(vec)):
3831 fprint (f,
'\n tv:')
3833 fprint (f, t.dataID(), t.index())
3835 fprint (f,
'(invalid)')
3841 fprint (f, j.isValid(), j.roiId())
3842 fprint (f,
'\n ', j.prmVtx(), j.xComb(), j.xIP1D(), j.xIP2D(),
3843 j.xIP3D(), j.xCHI2(), j.xSV(), j.xMVtx(), j.xEVtx(), j.xNVtx())
3845 tonone(j.TrackCollection()),
3846 tonone(j.PrmVertexCollection()),
3847 tonone(j.SecVertexCollection()))
3852 fprint (f, j.roiId(), j.particleType(), j.eta(), j.phi(),
3853 j.mass(), j.fitmass(), j.fitchi2(), j.fitndof(),
3854 j.fitx(), j.fity(), j.fitz())
3855 if j.pSecondDecay():
3856 fprint (f,
'\n second:')
3857 dump_TrigL2Bphys (j.pSecondDecay(), f)
3861 tv = j.trackVector()
3862 for i
in range(tv.size()):
3864 fprint (f,
'\n tv:', t.dataID(), t.index())
3869 fprint (f,
' ', m.ex(), m.ey(), m.ez(), m.sumEt(), m.sumE(),
3870 m.RoIword(), m.getFlag(), m.getNumOfComponents())
3871 for ic
in range(m.getNumOfComponents()):
3872 fprint (f,
'\n ', m.getNameOfComponent(ic),
3873 m.getExComponent(ic), m.getEyComponent(ic),
3874 m.getEzComponent(ic), m.getSumEtComponent(ic),
3875 m.getSumEComponent(ic), m.getComponentCalib0(ic),
3876 m.getComponentCalib1(ic), m.getSumOfSigns(ic),
3877 m.getUsedChannels(ic), m.getStatus(ic))
3882 dump_TrigMissingET (m, f)
3888 d.version(), d.isFullscan(),
3889 d.eta(), d.etaPlus(), d.etaMinus(),
3890 d.phi(), d.phiPlus(), d.phiMinus(),
3891 d.zed(), d.zedPlus(), d.zedMinus(),
3892 d.composite(), d.manageConstituents(), d.size(),
3893 formatItemUsingLong ([d.at(i).
roiId()
for i
in range(d.size())]))
3898 fprint (f,
' ', d.roiId(), d.l1Id(), d.roiWord())
3899 dump_RoiDescriptor (d, f)
3902 dump_TrigRoiDescriptor (d, f)
3907 fprint (f, m.e(), m.eta(), m.phi(), m.inCone(), m.caloSample())
3914 fprint (f,
' ', j.e(), j.ehad0(), j.eem0(), j.eta(), j.phi(), j.m(),
3919 dump_Trig3Momentum (m, f)
3924 dump_TrigT2Jet (j, f)
3931 fprint (f,
'\n EM%d: '% s)
3932 fprint (f, t.EMRadius(s), t.EMenergyWidth(s), t.EMenergyMedium(s),
3933 t.EMenergyWide(s), t.EMenergyNarrow(s))
3935 fprint (f,
'\n HAD%d: '% s)
3936 fprint (f, t.HADRadius(s), t.HADenergyWidth(s), t.HADenergyMedium(s),
3937 t.HADenergyWide(s), t.HADenergyNarrow(s))
3942 dump_TrigCaloCluster (t, f)
3943 fprint (f,
'\n ', t.energy(), t.EMCalibEnergy(), t.EMenergy(),
3944 t.HADenergy(), t.eta(), t.phi(), t.IsoFrac(), t.numStripCells(),
3945 t.stripWidth(), t.eCalib(), t.eEMCalib(), t.EMRadius2())
3947 fprint (f,
'\n %2d: '% s)
3948 fprint (f, t.energy(s))
3949 dump_TrigTauClusterDetails (t.clusterDetails(), f)
3954 dump_TrigTauCluster (t, f)
3959 fprint (f,
"x:", h.nbins_x(), h.min_x(), h.max_x(),
'[')
3960 for x
in h.contents():
3965 dump_TrigHisto (h, f)
3968 fprint (f,
"y:", h.nbins_y(), h.min_y(), h.max_y())
3969 dump_TrigHisto (h, f)
3973 fprint (f, c.sctSpEndcapC(), c.sctSpBarrel(), c.sctSpEndcapA(),
'[')
3974 for id
in c.droppedSctModules():
3975 fprint (f, id.getString())
3977 fprint (f,
'\n clus endcap c: ')
3978 dump_TrigHisto2D (c.pixelClusEndcapC(), f)
3979 fprint (f,
'\n clus barrel: ')
3980 dump_TrigHisto2D (c.pixelClusBarrel(), f)
3981 fprint (f,
'\n clus endcap a: ')
3982 dump_TrigHisto2D (c.pixelClusEndcapA(), f)
3986 dump_TrigSpacePointCounts (c, f)
3993 fprint (f,
' ', t.roiId(), t.nCoreTracks(), t.nSlowTracks(),
3995 t.charge(), t.leadingTrackPt(), t.scalarPtSumCore(),
3996 t.scalarPtSumIso(), t.ptBalance())
3997 dump_Fourvec (t.threeFastestTracks(), f)
3998 if t.trackCollection():
4000 dump_TrigInDetTrackCollection (t.trackCollection(), f)
4005 dump_TrigTauTracksInfo (t, f)
4010 fprint (f,
' ', m.roiId(), m.saddress(), m.pt(), m.radius(),
4011 m.eta(), m.phi(), m.dir_phi(), m.zeta(), m.dir_zeta(), m.beta(),
4012 m.sp1_r(), m.sp1_z(), m.sp1_slope(),
4013 m.sp2_r(), m.sp2_z(), m.sp2_slope(),
4014 m.sp3_r(), m.sp3_z(), m.sp3_slope(),
4015 m.br_radius(), m.br_sagitta(), m.ec_alpha(), m.ec_beta(),
4016 m.dq_var1(), m.dq_var2(), m.algoId())
4020 dump_MuonFeature (m, f)
4025 fprint (f, m.extension_capacity(),
4026 m.max_rob_capacity(),
4027 m.max_csm_capacity(),
4028 m.max_lvl1_emu_capacity(),
4029 m.max_rpc_hits_capacity(),
4030 m.max_tgc_hits_capacity(),
4031 m.max_mdt_hits_capacity(),
4032 m.id(), m.te_id(), m.error())
4034 m.lvl1_id(), m.lumi_block(), m.muondetmask(),
4035 m.roi_id(), m.roi_system(), m.roi_subsystem(),
4036 m.roi_sector(), m.roi_number(), m.roi_threshold(),
4037 daz(m.roi_eta()),
daz(m.roi_phi()),
4038 m.rpc_pad_error(), m.tgc_rdo_error())
4040 m.rpc1_x(), m.rpc1_y(), m.rpc1_z(),
4041 m.rpc2_x(), m.rpc2_y(), m.rpc2_z(),
4042 m.rpc3_x(), m.rpc3_y(), m.rpc3_z())
4044 m.tgc_Mid1_eta(), m.tgc_Mid1_phi(), m.tgc_Mid1_r(), m.tgc_Mid1_z(),
4045 m.tgc_Mid2_eta(), m.tgc_Mid2_phi(), m.tgc_Mid2_r(), m.tgc_Mid2_z(),
4046 m.tgc_Mid_rho_chi2(), m.tgc_Mid_rho_N(),
4047 m.tgc_Mid_phi_chi2(), m.tgc_Mid_phi_N())
4049 m.tgc_Inn_eta(), m.tgc_Inn_phi(),
4050 m.tgc_Inn_r(), m.tgc_Inn_z(),
4051 m.tgc_Inn_rho_std(), m.tgc_Inn_rho_N(),
4052 m.tgc_Inn_phi_std(), m.tgc_Inn_phi_N(),
4055 m.mdt_Inner_slope(),
4056 m.mdt_Inner_intercept(),
4059 m.mdt_Inner_fit_chi(),
4060 m.mdt_Middle_slope(),
4061 m.mdt_Middle_intercept(),
4064 m.mdt_Middle_fit_chi(),
4065 m.mdt_Outer_slope(),
4066 m.mdt_Outer_intercept(),
4069 m.mdt_Outer_fit_chi())
4071 m.Address(), m.Sagitta(), m.Radius(), m.Slope(), m.Intercept(),
4072 m.Alpha(), m.Beta(), m.DeltaR(), m.Speed_over_c(),
4073 m.PhiMap(), m.Phi(), m.PhiDir(), m.Pt(), m.Charge())
4081 m.eta_high_0_lay0(),
4082 m.eta_high_1_lay0(),
4083 m.eta_high_0_lay1(),
4084 m.eta_high_1_lay1(),
4091 m.phi_high_0_lay0(),
4092 m.phi_high_1_lay0(),
4093 m.phi_high_0_lay1(),
4094 m.phi_high_1_lay1())
4096 fprint (f,
'\n ', formatItemUsingLong (
list(m.rob_id())))
4097 fprint (f,
'\n ', formatItemUsingLong (
list(m.csm_id())))
4098 fprint (f,
'\n ', formatItemUsingLong (
list(m.csm_size())))
4099 fprint (f,
'\n ', formatItemUsingLong (
list(m.csm_error())))
4100 fprint (f,
'\n ', formatItemUsingLong (
list(m.removed_rob_id())))
4101 fprint (f,
'\n ', formatItemUsingLong (
list(m.removed_csm_id())))
4102 fprint (f,
'\n ', formatItemUsingLong (
list(m.lvl1_emulation())))
4103 fprint (f,
'\n ', formatItemUsingLong (
list(m.pad_hit_onlineId())))
4104 fprint (f,
'\n ', formatItemUsingLong (
list(m.pad_hit_code())))
4114 fprint (f,
'\n ', formatItemUsingLong (
list(m.tgc_Inn_rho_hit_in_seg())))
4119 fprint (f,
'\n ', formatItemUsingLong (
list(m.tgc_Inn_phi_hit_in_seg())))
4124 fprint (f,
'\n ', formatItemUsingLong (
list(m.tgc_Mid_rho_hit_in_seg())))
4129 fprint (f,
'\n ', formatItemUsingLong (
list(m.tgc_Mid_phi_hit_in_seg())))
4130 fprint (f,
'\n ', formatItemUsingLong (
list(m.mdt_onlineId())))
4131 fprint (f,
'\n ', formatItemUsingLong (
list(m.mdt_offlineId())))
4138 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension0())))
4139 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension1())))
4140 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension2())))
4141 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension3())))
4142 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension4())))
4143 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension5())))
4144 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension6())))
4145 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension7())))
4146 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension8())))
4147 fprint (f,
'\n ', formatItemUsingLong (
list(m.extension9())))
4152 fprint (f,
' ', m.eta(), m.phi(), m.quality(),
list(m.enedep()))
4158 fprint (f, m.PtTR_Trk(), m.EtaTR_Trk(), m.PhiTR_Trk(), m.Typ_IDTrk())
4159 fprint (f,
'\n ', m.pt(), m.eta(), m.phi(), m.m())
4160 fprint (f,
'\n ', m.TileMuLink().
isValid())
4162 fprintln (f, m.TileMuLink().dataID(), m.TileMuLink().
index())
4163 fprint (f,
'\n ', m.IDScanLink().
isValid())
4165 fprintln (f, m.IDScanLink().dataID(), m.IDScanLink().
index())
4172 fprint (f, m.pt(), m.eta(), m.phi(), m.m(), m.sigma_pt())
4173 if m.IDTrackLink().
isValid()
and m.IDTrack():
4176 if m.muFastTrackLink().
isValid()
and m.muFastTrack():
4177 fprint (f,
'\n fast')
4178 dump_MuonFeature (m.muFastTrack(), f)
4184 dump_CombinedMuonFeature (m, f)
4190 fprint (f, m.MuonCode(), m.RoINum(), m.charge())
4195 fprint (f, m.eta(), m.phi(), m.quality(),
list(m.enedep()))
4203 fprint (f,
'\n ', beg.getMomentType(), beg.getMoment().getValue())
4209 nsamp = s.getNumberOfSamplings()
4210 for i
in range(
min(10, s.getNumberOfVariableTypes())):
4212 slist = [s.retrieveData(i, samp)
for samp
in range(nsamp)]
4213 fprint (f,
'\n ', i, slist)
4218 fprint (f,
' moments:')
4219 dump_CaloClusterMomentStore (s.getMomentStore(), f)
4220 fprint (f,
'\n sampling data:')
4221 dump_CaloSamplingData (s.getSamplingStore(), f)
4228 fprintln (f, t.neta(), t.etamin(), t.deta(),
4229 t.nphi(), t.phimin(), t.dphi())
4236 dump_CaloTowerContainer (t, f)
4237 fprint (f,
' ', t.GetMinimumCellEnergy(),
4238 t.GetMinimumClusterEnergy(),
4239 t.GetUseCellWeights(),
4243 t.GetCellESignificanceThreshold(),
4244 t.GetCaloSelection())
4245 ci = t.GetCaloIndices()
4247 fprint (f, [ci[i]
for i
in range(ci.size())])
4250 if l.isValid(): fprintln (f, l.dataID())
4251 else: fprintln (f,
'(null)')
4255 if t.GetCellToClusterMap():
4256 fprintln (f,
' ', t.GetCellToClusterMap().
size())
4258 fprintln (f,
' (null)')
4263 fprint (f, t.cellID().getString(), t.particleID(),
4264 [t.energy(i)
for i
in range(4)])
4269 fprint (f, t.cellID().getString(), t.energy(), t.time())
4275 fprint (f, t.identify().getString(), [t.energy(i)
for i
in range(sz)],
4276 [t.time(i)
for i
in range(sz)])
4281 fprint (f, p.barcode(), p.eventIndex())
4286 fprint (f, t.identify())
4287 dump_Threevec (t.localStartPosition(), f)
4288 dump_Threevec (t.localEndPosition(), f)
4289 fprint (f, t.energyLoss(), t.meanTime(), t.truthBarcode())
4290 dump_HepMcParticleLink (t.particleLink(), f)
4295 fprint (f, t.GetHitID(), t.truthBarcode(), t.GetParticleEncoding(),
4296 t.GetKineticEnergy(), t.GetEnergyDeposit(),
4297 t.GetPreStepX(), t.GetPreStepY(), t.GetPreStepZ(),
4298 t.GetPostStepX(), t.GetPostStepY(), t.GetPostStepZ(),
4304 if hasattr(t,
'triggerEnergies'):
4305 fprint (f,
list(t.triggerEnergies()),
list(t.triggerTimes()))
4307 fprint (f, t.mbtsWord(),
list(t.triggerTimes()))
4342 fprint (f,
'\n ', m.getEtInnerConeEC(), m.getEtOuterConeEC(),
4343 m.getEtInnerConeHC(), m.getEtOuterConeHC())
4344 fprint (f,
'\n ', m.getNTracksCone(), m.getSumPtTracksCone(),
4345 m.getPtMuTracksCone())
4346 fprint (f,
'\n ', m.getRoiIdMu(), m.getPtMu(), m.getEtaMu(),
4347 m.getPhiMu(), m.getLArWeight(), m.getTileWeight())
4356 fprint (f, t.charge())
4361 fprint (f,
'\n ', t.MuonType())
4362 fprint (f,
'\n spectrometer: ')
4363 dump_TrigMuonEFTrack (t.SpectrometerTrack(), f)
4364 fprint (f,
'\n extrapolated: ')
4365 dump_TrigMuonEFTrack (t.ExtrapolatedTrack(), f)
4366 fprint (f,
'\n combined: ')
4367 dump_TrigMuonEFTrack (t.CombinedTrack(), f)
4372 fprint (f, t.RoINum())
4373 for tt
in t.TrackContainer():
4374 dump_TrigMuonEFInfoTrack (tt, f)
4379 fprint (f,
list(r.rings()))
4384 fprint (f,
' barrel')
4385 dump_TrigHisto1D (p.barrel(), f)
4386 fprint (f,
'\n endcapA')
4387 dump_TrigHisto1D (p.endcapA(), f)
4388 fprint (f,
'\n endcapC')
4389 dump_TrigHisto1D (p.endcapC(), f)
4394 fprint (f,
list(p.output()))
4402 if p == InDetLowBetaCandidateNull:
4403 fprint (f,
'(null)')
4405 if hasattr (p,
'getTRTInverseBeta'):
4406 fprint (f, p.getTRTCorrBitsOverThreshold(),
4407 p.getTRTInverseBeta(),
4408 p.getTRTInverseBetaError(),
4409 p.getTRTNLastBits())
4411 fprint (f, p.getTRTCorrBitsOverThreshold(),
4412 p.getTRTTrailingEdge(),
4413 p.getTRTTrailingEdgeError(),
4414 p.getTRTNLastBits())
4415 others = (p.getTRTdEdx(),
4416 p.getTRTLikelihoodBeta(),
4417 p.getTRTLikelihoodError(),
4418 p.getTRTHighTbits(),)
4419 if max(others)!=0
or min(others) != 0:
4420 for o
in others: fprint (f, o)
4426 fprintln (f,
' noisy febs', [id.getString()
for id
in p.get_noisy_febs()])
4434 fprint (f, p.getName(), p.isAccepted())
4441 if a.startswith (
'get'):
4442 fprintln (f, a[3:]+
':', getattr(p, a)())
4448 for p
in toiter1 (m):
4449 fprint (f,
' ',
typename(p.__class__))
4451 fprint (f,
'(null)')
4456 fprint (f,
' [', w.wet(), w.wpx(), w.wpy(), w.statusWord(),
']')
4457 except RuntimeError:
4464 for p
in m.getAllT0s():
4465 fprintln (f,
' ', p.first.getString(), p.second)
4471 fprint (f, m.getNRoi(), m.getNTRK(), m.getNJet())
4476 fprint (f, [b.isPassing(i)
for i
in range(b.size())])
4482 fprint (f, [
str(s)
for s
in p.first],
list(p.second))
4488 formatItemUsingLong (
list(v.vtxNtrks())),
4489 list(v.vtxTrkPtSqSum()))
4493 fprint (f, m.sumTrkPtCone02(), m.sumTrkPtCone03(), m.trackPosition())
4499 if hasattr (m,
'getNumObjects'):
4500 for i
in range (m.getNumObjects()):
4502 fprint (f, i,
list(m.getFlag(i,j)
for j
in range(m.getNumFlags(i))))
4504 for i
in range (m.size()):
4506 fprint (f, i,
list(m.getFlagBit(i,j)
for j
in range(m.flagSize())))
4512 fprint (f, e.eflowType(), e.isValid(), e.d0(), e.z0(),
4513 e.getPassEOverPCheck(), e.getIsSubtracted(),
4514 e.getIsDuplicated(), e.getCaloRecoStatus().getStatusWord())
4515 for i
in range(e.numTrack()):
4516 fprint (f,
'\n tk: ')
4517 dump_EL (e.trackLink(i), f)
4518 for i
in range(e.numClus()):
4519 fprint (f,
'\n cl: ')
4520 dump_EL (e.clusLink(i), f)
4521 fprint (f,
'\n mu: ')
4522 dump_EL (e.muonLink(), f)
4523 fprint (f,
'\n cv: ')
4524 dump_EL (e.conversionLink(), f)
4530 print (c.missET(), c.sumET(), c.pTx(), c.pTy(), c.numEf(),
4531 c.numPhot(), c.numEle(), c.numMuo(), c.isValid(),
4532 c.circularity(), c.thrust(), c.oblateness(),
4534 dump_list (c, f, dump_eflowObject)
4539 fprintln (f, list (c))
4545 fprint (f, p.smk(), p.l1psk(), p.hltpsk())
4550 fprint (f, p.collHash(), p.objIndex())
4555 fprint (f, p.identify().getString())
4556 dump_IdentContIndex (p.getHashAndIndex(), f)
4557 dump_AmgVector (p.localPosition(), f)
4558 dump_AmgMatrix (p.localCovariance(), f)
4560 for i
in p.rdoList():
4561 fprint (f, i.getString())
4567 dump_PrepRawData (p, f)
4568 dump_AmgVector (p.globalPosition(), f, thresh=1e-8, prec=4)
4573 dump_MuonCluster (p, f)
4574 fprint (f, p.charge(), p.time(), p.status(), p.timeStatus())
4575 fprint (f, p.detectorElement().identifyHash().
value())
4580 dump_MuonCluster (p, f)
4581 fprint (f, p.timeOfFirstSample(), p.samplingPhase(), p.samplingTime())
4582 fprint (f,
list(p.sampleCharges()))
4583 fprint (f, p.detectorElement().identifyHash().
value())
4588 dump_MuonCluster (p, f)
4589 fprint (f, p.getBcBitMap())
4590 fprint (f, p.detectorElement().identifyHash().
value())
4595 fprint (f, p.type(), p.channelIdIn().getString(), p.channelIdOut().getString(), p.identifyHash().
value())
4596 dump_IdentContIndex (p.getHashAndIndex(), f)
4597 fprint (f, p.isAside(), p.phi(), p.isInner(), p.isForward(), p.isStrip(), p.trackletId(), p.trackletIdStrip())
4598 fprint (f, p.widthIn(), p.widthOut())
4599 fprint (f, p.delta(), p.roi(), p.pt(), p.veto(), p.sub(), p.inner(), p.isPositiveDeltaR())
4600 if p.channelIdIn().get_compact() != 0:
4601 dump_AmgVector (p.posIn(), f, thresh=1e-8)
4602 dump_AmgVector (p.globalposIn(), f, thresh=1e-8)
4603 if p.channelIdOut().get_compact() != 0:
4604 dump_AmgVector (p.posOut(), f, thresh=1e-8)
4605 dump_AmgVector (p.globalposOut(), f, thresh=1e-8)
4607 dump_AmgMatrix (p.errMat(), f)
4608 if p.detectorElementIn():
4609 fprint (f, p.detectorElementIn().identifyHash().
value())
4611 fprint (f,
'(null detel)')
4612 if p.detectorElementOut():
4613 fprint (f, p.detectorElementOut().identifyHash().
value())
4615 fprint (f,
'(null detel)')
4620 dump_MuonCluster (p, f)
4621 fprint (f, p.tdc(), p.adc(), p.status())
4622 fprint (f, p.detectorElement().identifyHash().
value())
4627 fprint (f, p.time(), p.ambiguityFlag())
4628 fprint (f, p.detectorElement().identifyHash().
value())
4633 dump_RpcPrepData (p, f)
4634 fprint (f, p.ijk(), p.threshold(), p.overlap(), p.parentCmId(), p.parentPadId(), p.parentSectorId())
4639 dump_AmgVector (p.colRow(), f)
4640 dump_AmgVector (p.widthPhiRZ(), f)
4645 dump_PrepRawData (p, f)
4646 fprint (f, p.gangedPixel())
4647 dump_AmgVector (p.globalPosition(), f)
4648 dump_SiWidth (p.width(), f)
4649 fprint (f, p.detectorElement().identifyHash().
value())
4654 dump_SiCluster (p, f)
4655 fprint (f, p.omegax(), p.omegay(), list (p.totList()))
4656 fprint (f, p.totalToT(),
list(p.chargeList()), p.totalCharge())
4657 fprint (f, p.isFake(), p.isAmbiguous(), p.LVL1A(), p.splitInfoRaw(), p.tooBigToBeSplit())
4662 dump_SiCluster (p, f)
4663 fprint (f, p.hitsInThirdTimeBin())
4668 dump_PrepRawData (p, f)
4669 fprint (f, p.getWord())
4670 fprint (f, p.detectorElement().identifyHash().
value())
4675 fprint (f, p.identify().getString(), p.getWord())
4680 dump_InDetRawData (p, f)
4681 fprint (f, p.getToT(), p.getBCID(), p.getLVL1A(), p.getLVL1ID())
4686 dump_InDetRawData (p, f)
4687 fprint (f, p.highLevel(), p.timeOverThreshold(), p.driftTimeBin())
4692 dump_InDetRawData (p, f)
4693 fprint (f, p.getGroupSize())
4697 def dump_IDC (payload_dumper, p, f, extra_idc_dumper = None):
4700 if hasattr(beg.__class__,
'__preinc__'):
4701 nextfunc = beg.__preinc__
4702 elif hasattr(beg.__class__,
'__next__'):
4703 nextfunc = beg.__next__
4708 if hasattr (coll,
'identifyHash'):
4709 hash = coll.identifyHash().
value()
4711 hash = coll.identifierHash().
value()
4712 fprint (f,
'IDC', beg.hashId().
value(), hash, coll.size())
4713 if hasattr (coll,
'type'):
4714 fprint (f, coll.type())
4715 if extra_idc_dumper:
4716 extra_idc_dumper (coll, f)
4719 payload_dumper (x, f)
4728 dump_IDC (dump_CscPrepData, p, f)
4734 dump_IDC (dump_CscStripPrepData, p, f)
4740 dump_IDC (dump_RpcCoinData, p, f)
4746 dump_IDC (dump_RpcPrepData, p, f)
4752 dump_IDC (dump_TgcPrepData, p, f)
4758 dump_IDC (dump_TgcCoinData, p, f)
4764 dump_IDC (dump_MdtPrepData, p, f)
4770 dump_IDC (dump_PixelCluster, p, f)
4776 dump_IDC (dump_SCT_Cluster, p, f)
4782 dump_IDC (dump_TRT_DriftCircle, p, f)
4788 dump_IDC (dump_PixelRDORawData, p, f)
4794 dump_IDC (dump_TRT_RDORawData, p, f)
4800 dump_IDC (dump_SCT_RDORawData, p, f)
4805 fprint (f, p.energy(), p.ypos(), p.zpos(), p.charge())
4810 fprint (f, p.word())
4811 for d
in p.getdeposits():
4812 dump_HepMcParticleLink (d.first, f)
4813 dump_CscMcData (d.second, f)
4820 fprint (f, elt.first.getString())
4821 dump_CscSimData (elt.second, f)
4827 fprint (f, p.firstEntry(), p.secondEntry())
4832 fprint (f, p.word())
4833 dump_AmgVector (p.globalPosition(), f)
4834 for d
in p.getdeposits():
4835 dump_HepMcParticleLink (d.first, f)
4836 dump_MuonMcData (d.second, f)
4843 fprint (f, elt.first.getString())
4844 dump_MuonSimData (elt.second, f)
4852 dump_SiCluster (elt.first, f)
4853 dump_SiCluster (elt.second, f)
4859 fprint (f, p.identify().getString())
4864 dump_TileRawData (p, f)
4865 fprint (f,
list(p.get_digits()))
4871 fprint (f, p.get_unit(), p.get_type(), p.get_bsflags())
4872 fprint (f, p.hashFunc().
max(), p.hashFunc().
offset(), p.hashFunc().
type())
4876 if hasattr(beg.__class__,
'__preinc__'):
4877 nextfunc = beg.__preinc__
4878 elif hasattr(beg.__class__,
'__next__'):
4879 nextfunc = beg.__next__
4885 beg.hashId().
value(),
4886 list(coll.getFragChipCRCWords()),
4887 list(coll.getFragChipCRCWordsHigh()),
4888 list(coll.getFragChipHeaderWords()),
4889 list(coll.getFragChipHeaderWordsHigh()),
4891 coll.getFragBCID(), coll.getFragSize())
4894 dump_TileDigits (x, f)
4902 dump_TileRawData (data, f)
4903 fprint (f, [data.amplitude(i)
for i
in range(data.size())])
4904 fprint (f, [data.time(i)
for i
in range(data.sizeTime())])
4905 fprint (f, [data.quality(i)
for i
in range(data.sizeQuality())])
4906 fprint (f, data.pedestal())
4912 fprint (f,
'\n ', data.identify(),
4915 data.getDetEvType(),
4919 dump_TileRawChannel (x, f)
4924 fprint (f,
'\n ', data.getFragGlobalCRC(),
4925 data.getFragDSPBCID(),
4927 data.getFragMemoryPar(),
4928 data.getFragSstrobe(),
4929 data.getFragDstrobe(),
4930 data.getFragHeaderBit(),
4931 data.getFragHeaderPar(),
4932 data.getFragSampleBit(),
4933 data.getFragSamplePar(),
4934 data.getFragFEChipMask(),
4935 data.getFragRODChipMask())
4936 dump_TileRawDataCollection (data, f)
4942 fprintln (f, data.get_unit(), data.get_type(), data.get_bsflags())
4947 fprint (f,
'Coll', beg.hashId().
value(), coll.size())
4948 dump_TileRawChannelCollection (coll, f)
4957 fprintln (f, data.get_unit(), data.get_type(), data.get_bsflags())
4962 fprint (f,
'Coll', beg.hashId().
value(), coll.size())
4971 fprint (f, p.identify(), p.phi(0), p.cosphi(), p.sinphi())
4972 fprint (f, [p.sumE(i)
for i
in range(p.NsumE())])
4973 fprint (f, [p.eta(i)
for i
in range(p.NMuons())])
4974 fprint (f, [p.enemu0(i)
for i
in range(p.NMuons())])
4975 fprint (f, [p.enemu1(i)
for i
in range(p.NMuons())])
4976 fprint (f, [p.enemu2(i)
for i
in range(p.NMuons())])
4977 fprint (f, formatItemUsingLong ([p.qual(i)
for i
in range(p.NMuons())]))
4978 fprint (f, formatItemUsingLong ([p.val(i)
for i
in range(p.Ndata())]))
4983 fprint (f, p.identify().getString(),
list(p.fsamples()))
4988 fprint (f, p.GetID(), list (p.GetDecision()),
4989 list(p.GetThresholds()),
list(p.GetEne()),
list(p.GetTime()))
4994 fprint (f, p.crate(), p.dataID(), p.peak(),
4995 formatItemUsingLong (
list(p.HitsVec0())),
4996 formatItemUsingLong (
list(p.HitsVec1())),
4997 list(p.ErrorVec0()),
4998 list(p.ErrorVec1()))
5003 fprint (f, p.crate(), p.dataID(), p.peak(),
5004 formatItemUsingLong (
list(p.EtVec())),
5005 formatItemUsingLong (
list(p.ExVec())),
5006 formatItemUsingLong (
list(p.EyVec())),
5007 list(p.EtErrorVec()),
5008 list(p.ExErrorVec()),
5009 list(p.EyErrorVec()))
5014 fprint (f, p.crate(), p.dataID(), p.peak(),
5015 formatItemUsingLong (
list(p.HitsVec())),
5022 fprint (f, p.jetEtRoiWord(),
5030 fprint (f, p.crate(), p.module(), p.peak(),
5031 formatItemUsingLong (
list(p.HitsVec0())),
5032 formatItemUsingLong (
list(p.HitsVec1())))
5037 fprint (f, p.roiWord())
5042 fprint (f, p.eta(), p.phi(), p.peak(),
5043 list(p.emEnergyVec()),
5044 list(p.hadEnergyVec()),
5045 list(p.emErrorVec()),
5046 list(p.hadErrorVec()))
5052 fprint (f, p.getCTPVersionNumber(),
5053 p.getCTPVersion().getVersionNumber(),
5054 formatItemUsingLong (
list(p.getDataWords())),
5055 p.getL1AcceptBunchPosition(),
5057 p.getNumberOfBunches(),
5058 p.getNumberOfAdditionalWords())
5065 formatItemUsingLong (
list(p.getAllCandidateMultiplicities())),
5066 formatItemUsingLong (
list(p.dataWord())))
5071 fprint (f, p.crate(), p.module(), p.peak(),
5072 formatItemUsingLong (
list(p.EtVec())),
5073 formatItemUsingLong (
list(p.ExVec())),
5074 formatItemUsingLong (
list(p.EyVec())))
5079 fprint (f, p.crate(), p.module(), p.peak(),
5080 formatItemUsingLong (
list(p.JetHitsVec())))
5085 fprint (f, p.roiWord())
5090 fprint (f, p.eta(), p.phi(), p.key(), p.peak(),
5091 list(p.emEnergyVec()),
5092 list(p.hadEnergyVec()),
5093 list(p.emErrorVec()),
5094 list(p.hadErrorVec()),
5095 list(p.linkErrorVec()))
5100 fprint (f, formatItemUsingLong (
list(p.header())))
5105 fprint (f, formatItemUsingLong (
list(p.trailer())))
5110 fprint (f, p.roIWord())
5115 dump_ROIBHeader (p.header(), f)
5116 for r
in p.roIVec():
5117 dump_MuCTPIRoI (r, f)
5118 dump_ROIBTrailer (p.trailer(), f)
5123 fprint (f, p.roIWord())
5128 dump_ROIBHeader (p.header(), f)
5129 for r
in p.roIVec():
5131 dump_ROIBTrailer (p.trailer(), f)
5136 fprint (f, p.roIWord())
5141 dump_ROIBHeader (p.header(), f)
5142 for r
in p.roIVec():
5143 dump_JetEnergyRoI (r, f)
5144 dump_ROIBTrailer (p.trailer(), f)
5149 fprint (f, p.roIWord())
5154 dump_ROIBHeader (p.header(), f)
5155 for r
in p.roIVec():
5156 dump_EMTauRoI (r, f)
5157 dump_ROIBTrailer (p.trailer(), f)
5162 fprint (f, p.getSourceID(),
5163 list(p.getErrors()),
5164 list(p.getDataWords()),
5165 list(p.getStatusWords()))
5170 dump_ROIBHeader (p.header(), f)
5171 dump_L1TopoRDO (p.rdo(), f)
5172 dump_ROIBTrailer (p.trailer(), f)
5178 fprint (f,
'MuCTPI:')
5179 dump_MuCTPIResult (p.muCTPIResult(), f)
5180 fprint (f,
'\nCTP:')
5181 dump_CTPResult (p.cTPResult(), f)
5182 for r
in p.jetEnergyResult():
5183 fprint (f,
'\nJetEnergy:')
5185 for r
in p.eMTauResult():
5186 fprint (f,
'\nEMTau:')
5188 for r
in p.l1TopoResult():
5189 fprint (f,
'\nL1Topo:')
5195 fprint (f, p.eta(), p.phi(), p.key(), p.emError(), p.hadError(),
5196 p.emPeak(), p.emADCPeak(), p.hadPeak(), p.hadADCPeak(),
5199 list(p.emBCIDvec()),
list(p.hadBCIDvec()),
5200 list(p.emBCIDext()),
list(p.hadBCIDext()))
5205 fprint (f, p.getStatus(),
5206 p.getWord0(), p.getWord1(), p.getWord2() , p.getWord3(),
5207 p.getWord0p(), p.getWord1p(), p.getWord2p(), p.getWord3p(),
5208 p.getWord0n(), p.getWord1n(), p.getWord2n(), p.getWord3n())
5213 fprint (f,
'[', p.getWord1(), p.getWord2(),
']')
5218 fprint (f, p.getChannel())
5225 fprint (f, p.CSCid(), p.globalTime(), p.energyDeposit())
5226 dump_Threevec (p.getHitStart(), f)
5227 dump_Threevec (p.getHitEnd(), f)
5228 fprint (f, p.particleID(), p.kineticEnergy())
5229 dump_HepMcParticleLink (p.particleLink(), f)
5234 fprint (f, p.MDTid(), p.globalTime(), p.driftRadius())
5235 dump_Threevec (p.localPosition(), f)
5236 fprint (f, p.stepLength(), p.energyDeposit(), p.particleEncoding(), p.kineticEnergy())
5237 dump_HepMcParticleLink (p.particleLink(), f)
5242 fprint (f, p.RPCid(), p.globalTime())
5243 dump_Threevec (p.localPosition(), f)
5244 dump_Threevec (p.postLocalPosition(), f)
5245 fprint (f, p.stepLength(), p.energyDeposit(), p.particleEncoding(), p.kineticEnergy())
5246 dump_HepMcParticleLink (p.particleLink(), f)
5251 fprintln (f, p.TGCid(), p.globalTime())
5252 dump_Threevec (p.localPosition(), f)
5253 dump_Threevec (p.localDireCos(), f)
5254 fprint (f, p.stepLength(), p.energyDeposit(), p.particleEncoding(), p.kineticEnergy())
5255 dump_HepMcParticleLink (p.particleLink(), f)
5260 fprint (f, p.channelID().getString(), p.gain(),
list(p.samples()))
5265 fprint (f, p.identify().getString())
5270 dump_ZdcRawData (p, f)
5271 fprint (f,
list(p.get_digits_gain0_delay0()))
5272 fprint (f,
list(p.get_digits_gain0_delay1()))
5273 fprint (f,
list(p.get_digits_gain1_delay0()))
5274 fprint (f,
list(p.get_digits_gain1_delay1()))
5279 fprint (f, p.getName(), p.getDescription(), p.getInputStream(), p.getOutputStream(), p.getLogic(), p.getNAcceptedEvents(), p.getNWeightedAcceptedEvents(), p.getCycle())
5280 for c
in list(p.getChildrenEventBookkeepers()):
5281 fprint (f,
'\n ' + (
' '*level))
5282 dump_EventBookkeeper (c, f, level+1)
5287 fprint (f,
'RpcFiredChannel', p.bcid(), p.time(), p.ijk(), p.channel(), p.ovl(), p.thr())
5292 fprint (f, p.identify().getString(), p.onlineId(), p.crc(), p.fel1Id(), p.febcId())
5295 dump_RpcFiredChannel (chan, f)
5301 dump_IDC (dump_RpcCoinMatrix, p, f,
5302 extra_idc_dumper =
lambda p, f: \
5303 fprint (f, p.identify().getString(), p.onlineId(), p.lvl1Id(), p.bcId(),
5304 p.sector(), p.status(), p.errorCode()))
5309 fprint (f,
'hit', p.rowinBcid(), p.padId(), p.ptId(), p.roi(),
5310 p.outerPlane(), p.overlapPhi(), p.overlapEta(),
5311 p.triggerBcid(), p.isInput())
5315 fprint (f, p.sectorId(), p.fel1Id(), p.bcid(), p.errorCode(), p.crc(),
5316 p.hasMoreThan2TriggerCand(),
5317 list (p.counters()),
5318 list (p.triggerRates()))
5321 dump_RpcSLTriggerHit (hit, f)
5326 fprint (f, p.address(), p.hashId(), p.identify(), p.rpuID(),
5327 p.time(), p.width(), p.isTimeComputed(),
list(p.samples()))
5332 dump_IDC (dump_CscRawData, p, f,
5333 extra_idc_dumper =
lambda p, f: \
5334 fprint (f, p.identify(), p.rodId(), p.subDetectorId(),
5335 p.samplingPhase(), p.triggerType(), p.firstBitSummary(),
5336 p.eventType(), p.scaAddress(),
5337 list(p.rpuID()), [ord(c)
for c
in p.dataType()]))
5342 fprint (f, p.bcTag(),
5344 p.subDetectorId(), p.rodId(), p.sswId(),
5345 p.slbId(), p.l1Id(), p.bcId(), p.slbType(),
5347 p.bitpos(), p.tracklet(), p.isAdjacent(),
5349 p.type(), p.isForward(), p.index(), p.position(),
5350 p.delta(), p.segment(), p.subMatrix(),
5352 p.sector(), p.chip(), p.isHipt(), p.hitId(), p.hsub(),
5353 p.isStrip(), p.inner(),
5355 p.cand3plus(), p.isMuplus(), p.threshold(), p.isOverlap(),
5356 p.isVeto(), p.roi(), p.innerflag(), p.coinflag(),
5358 p.nsweta(), p.nswphi(), p.nswsl(), p.nswcand(), p.nswdtheta(),
5359 p.nswphires(), p.nswlowres(), p.nswid(),
5361 p.rpceta(), p.rpcphi(), p.rpcflag(), p.rpcdeta(), p.rpcdphi(),
5363 p.ei(), p.fi(), p.cid(),
5365 p.tmdbmod(), p.tmdbbcid())
5373 if getattr (p, ff): mask += val
5375 fprint (f, lab, hex (mask))
5378 dump_TgcBitmask (p, f,
'err',
5386 dump_TgcBitmask (p, f,
'rod',
5417 dump_TgcBitmask (p, f,
'local',
5419 'mergedTrackletBCs',
5426 fprint (f, p.version(), p.identify(),
5427 p.subDetectorId(), p.rodId(), p.triggerType(),
5428 p.bcId(), p.l1Id(), p.orbit())
5429 dump_TgcRdo_Errors (p.errors(), f)
5430 dump_TgcRdo_RodStatus (p.rodStatus(), f)
5431 dump_TgcRdo_LocalStatus (p.localStatus(), f)
5436 dump_IDC (dump_TgcRawData, p, f,
5437 extra_idc_dumper = dump_TgcRdo)
5442 fprint (f, p.tdcId(), p.channelId(), p.leading(), p.coarse(), p.fine(),
5443 p.width(), p.isMasked(),
list(p.dataWords()))
5448 dump_IDC (dump_MdtAmtHit, p, f,
5449 extra_idc_dumper =
lambda p, f: \
5450 fprint (f, p.identify().getString(),
5451 p.SubDetId(), p.MrodId(), p.CsmId()))
5456 fprint (f, p.identify().getString(), p.bcTag(), p.time(), p.tdo(), p.charge(),
5457 p.isDead(), p.timeAndChargeInCounts())
5462 dump_IDC (dump_STGC_RawData, p, f)
5467 fprint (f, p.identify().getString(), p.channel(), p.relBcid(),
5468 p.time(), p.charge(),
5469 p.timeAndChargeInCounts())
5474 dump_IDC (dump_MM_RawData, p, f)
5479 fprint (f, p.getSourceid(), p.getFlags(), p.getEc(), p.getFragid(),
5480 p.getSecid(), p.getSpare(), p.getOrbit(), p.getBcid(), p.getL1id(),
5481 p.getOrbitid(), p.getOrbit1(), p.getStatus(),
5482 p.getNumberOfHits(), p.getNumberOfPfebs(), p.getNumberOfTriggers(),
5483 p.getNumberOfBcids(),
5484 list(p.getHitRelBcids()),
5485 list(p.getHitPfebs()),
5486 list(p.getHitTdsChannels()),
5487 list(p.getHitVmmChannels()),
5488 list(p.getHitVmms()),
5489 list(p.getHitPadChannels()),
5490 list(p.getPfebAddrs()),
5491 list(p.getPfebNChannels()),
5492 list(p.getPfebDisconnecteds()),
5493 list(p.getTriggerBandIds()),
5494 list(p.getTriggerPhiIds()),
5495 list(p.getTriggerRelBcids()),
5496 list(p.getBcidRels()),
5497 list(p.getBcidStatuses()),
5498 list(p.getBcidMultZeros()),
5499 list(p.getBcidMultiplicities()))
5507 dump_NSW_PadTriggerData (beg.cptr(), f)
5515 fprint (f,
'ld', p.GetLucrodID(),
'bcid', p.GetBCID(),
5516 'run', p.GetRunNumber(),
'l1id', p.GetLevel1ID(),
5517 'nbc', p.GetNumBCs(),
'stat', p.GetStatus(),
5518 'avga/c', p.GetTrigAvgA(), p.GetTrigAvgC(),
5519 'data',
list(p.GetTrigData()))
5520 for i
in range (p.GetChanDataSize()):
5521 ch = p.GetChanData(i)
5522 fprint (f,
'\n chan ', ch.id,
list(ch.waveform))
5527 dump_HepMcParticleLink (p.first, f)
5528 dump_EL (p.second, f)
5538 key =
'(%d)' % x.key()
5539 return f
'DataLink({key})'
5541 if x.isDefaultIndex():
5545 key =
'(%d)' % x.key()
5546 return '%s[%d]' % (key, x.index())
5547 char_accessor_ = getattr (ROOT,
'SG::ConstAccessor<char>')
5550 self.
ac = char_accessor_ (name)
5553 return ord(self.
ac(x))
5554 uchar_accessor_ = getattr (ROOT,
'SG::ConstAccessor<unsigned char>')
5557 self.
ac = uchar_accessor_ (name)
5560 return ord(self.
ac(x))
5568 'unsigned long long',
5569 'std::vector<float>',
5573 'char' : char_accessor,
5574 'unsigned char' : uchar_accessor,
5577 aname =
'SG::ConstAccessor<' + t
5578 if t[-1] ==
'>': aname +=
' '
5580 accessors[t] = getattr (ROOT, aname)
5583 atomic_accessors = {
5584 'unsigned int' : getattr (ROOT,
'SG::AtomicConstAccessor<unsigned int>'),
5589 if isinstance(x, float):
5590 return format_float (x)
5591 if isinstance(x, int):
5592 return format_int (x)
5594 if tname.startswith (
'CxxUtils::range_with_conv<'):
5597 if tname.startswith (
'ROOT.'):
5599 if tname.startswith (
'ElementLink<'):
5600 return format_el (x)
5601 if tname.startswith (
'DataLink<'):
5602 return format_dl (x)
5603 if tname.startswith (
'std::vector<')
or tname.startswith (
'vector<'):
5604 ipos = tname.find(
'<')
5605 tname2 = tname[ipos+1:]
5606 if (tname2.startswith(
'char,')
or
5607 tname2.startswith(
'char>')
or
5608 tname2.startswith (
'unsigned char,')
or
5609 tname2.startswith (
'unsigned char>')):
5610 l =
', '.join ([
str(ord(x[i]))
for i
in range(len(x))])
5611 elif tname2.startswith(
'bool,')
or tname2 ==
'bool>':
5612 l =
', '.join ([
str(
bool(xx))
for xx
in x])
5615 return '[' + l +
']'
5616 if isinstance(x, PyAthena.xAOD.CaloClusterBadChannelData_v1):
5617 return '<BadChannel: %6.3f/%6.3f/%2d: %04x>' % \
5618 (x.eta(), x.phi(), x.layer(), x.badChannel())
5619 if tname ==
'set<unsigned int>':
5620 acls=getattr(PyAthena,
'PyDumper::PySTLAdaptor<std::set<unsigned int>')
5624 if tname.startswith (
'std::pair<')
or tname.startswith (
'pair<'):
5627 if tname ==
'Trk::VxTrackAtVertex':
5629 dump_VxTrackAtVertex (x, fout)
5630 out = fout.getvalue()
5631 return '{' + out.replace(
'\n',
'; ') +
'}'
5637 if hasattr (x,
'container'):
5639 x.container().getConstStore().
getData(auxid)[0]
5641 fprint (f,
'<unavailable 1>')
5644 reg=ROOT.SG.AuxTypeRegistry.instance()
5645 tname = reg.getTypeName (auxid)
5646 ac = ROOT.SG.ConstAuxElement.TypelessConstAccessor (reg.getName(auxid))
5650 fprint (f,
'<unavailable 2>')
5653 obj = ROOT.TPython.CPPInstance_FromVoidPtr (buf, tname)
5655 fprint (f,
'<unknown %s>'%tname)
5657 fprint (f,
format_obj(obj, reg.getName(auxid)))
5662 if hasattr (x,
'container'):
5663 auxdata = x.container().getConstStore().
getData(auxid)
5666 fprint (f,
'<unavailable>')
5671 fprint (f,
'<unavailable 4>')
5674 reg=ROOT.SG.AuxTypeRegistry.instance()
5675 tname = reg.getTypeName (auxid)
5676 atomic = reg.getFlags (auxid) & ROOT.SG.AuxVarFlags.Atomic
5678 ac_cl = atomic_accessors.get (tname)
5680 ac_cl = accessors.get (tname)
5682 if not ac_cl
and tname.startswith (
'SG::JaggedVecElt<'):
5683 ac_cl = getattr (ROOT,
'SG::ConstAccessor<' + tname +
' >')
5685 accessors[tname] = ac_cl
5687 if not ac_cl
and tname.startswith (
'SG::PackedLink<')
or tname.startswith (
'std::vector<SG::PackedLink<'):
5688 ac_cl = getattr (ROOT,
'SG::ConstAccessor<' + tname +
' >')
5690 accessors[tname] = ac_cl
5694 ac = ac_cl(reg.getName(auxid))
5699 val =
'<unavailable 5>'
5702 generic_dump_auxitem (x, auxid, f)
5707 reg=ROOT.SG.AuxTypeRegistry.instance()
5708 if cppyy.addressof (x) == 0:
5709 fprint (f,
'<null pointer>', x,
type(x))
5712 auxids = ROOT.PyDumper.Utils.getAuxIDVector (x)
5716 auxids = [(reg.getName(id), id)
for id
in auxids]
5718 for name, auxid
in auxids:
5719 if exclude
and name
in exclude:
continue
5720 if name.endswith (
'_linked'):
continue
5721 fprint (f, name +
': ')
5722 dump_auxitem (x, auxid, f)
5728 fprint (f,
typename(o.__class__),
'\n ')
5729 dump_auxdata (o, f=f)
5749 if nmax
is not None and i >= nmax:
break
5759 """The list of tuples (cpp_type, dumper_fct)
5762 [
"ElectronContainer", dump_Electron],
5763 [
"PhotonContainer", dump_Photon],
5764 [
"Analysis::MuonContainer", dump_Muon],
5765 [
"Analysis::TauJetContainer", dump_TauJet],
5766 [
"TruthParticleContainer", dump_TruthParticle],
5767 [
"ParticleJetContainer", dump_ParticleJet],
5768 [
"Rec::TrackParticleContainer", dump_TrackParticle],
5769 [
"DataVector<Trk::Track>", dump_Track],
5770 [
"DataVector<Trk::Segment>", dump_Segment],
5771 [
"MissingET", dump_MissingET],
5772 [
"MissingEtCalo", dump_MissingEtCalo],
5773 [
"MissingEtTruth", dump_MissingEtTruth],
5774 [
"CaloClusterContainer", dump_CaloClusters_sorted],
5775 [
'CaloCellLinkContainer', dump_CaloCellLink],
5776 [
'CaloCellContainer', dump_CaloCell],
5777 [
'CaloClusterCellLinkContainer', dump_CaloClusterCellLink],
5778 [
'TileContainer<TileCell>', dump_CaloCell],
5779 [
'TileCellContainer', dump_CaloCell],
5780 [
"VxContainer", dump_VxCandidate],
5781 [
"EventInfo", dump_EventInfo],
5782 [
"PileUpEventInfo", dump_PileUpEventInfo],
5783 [
"EventStreamInfo", dump_EventStreamInfo],
5784 [
"McEventCollection", dump_GenEvent],
5785 [
"CTP_Decision", dump_CTP_Decision],
5786 [
"LVL1_ROI", dump_LVL1_ROI],
5787 [
"TrigDec::TrigDecision", dump_TrigDecision],
5788 [
"TrigConf::HLTAODConfigData", dump_HLTAODConfigData],
5789 [
"TrigConf::Lvl1AODConfigData", dump_Lvl1AODConfigData],
5790 [
"TrigConf::Lvl1AODPrescaleConfigData", dump_Lvl1AODPrescaleConfigData],
5791 [
"TrackParticleTruthCollection", dump_TrackParticleTruthCollection],
5792 [
"DetailedTrackTruthCollection", dump_DetailedTrackTruthCollection],
5793 [
"Rec::MuonSpShowerContainer", dump_MuonSpShower],
5794 [
"HLT::HLTResult", dump_HLTResult],
5795 [
"HLT::HLTResultMT", dump_HLTResultMT],
5796 [
"MissingETSig", dump_MissingETSig],
5797 [
"INav4MomAssocs", dump_INav4MomAssocs],
5798 [
"TrigInDetTrackTruthMap", dump_TrigInDetTrackTruthMap],
5799 [
"MissingETSigObjContainer", dump_MissingETSigObject],
5800 [
"DetStatusMap", dump_DetStatusMap],
5801 [
"AtlasHitsVector<TrackRecord>", dump_TrackRecord],
5802 [
"AthenaHitsVector<TrackRecord>", dump_TrackRecord],
5803 [
"MissingETSigHypoContainer", dump_MissingETSigHypo],
5804 [
"JetCollection", dump_Jet],
5805 [
"V0Container", dump_V0Candidate],
5806 [
"egammaContainer", dump_egamma],
5807 [
"DataVector<TrigVertex>", dump_TrigVertex],
5808 [
"TrigVertexCollection", dump_TrigVertex],
5809 [
"TrigTrackCounts", dump_TrigTrackCounts_nolist],
5810 [
"TrigTau", dump_TrigTau_nolist],
5811 [
"DataVector<TrigElectron>", dump_TrigElectron],
5812 [
"DataVector<TrigPhoton>", dump_TrigPhoton],
5813 [
"TrigEMCluster", dump_TrigEMCluster_nolist],
5814 [
"TrigInDetTrackCollection", dump_TrigInDetTrackCollection],
5815 [
"DataVector<TrigEFBjet>", dump_TrigEFBjet],
5816 [
"DataVector<TrigEFBphys>", dump_TrigEFBphys],
5817 [
"DataVector<TrigL2Bjet>", dump_TrigL2Bjet],
5818 [
"DataVector<TrigL2Bphys>", dump_TrigL2Bphys],
5819 [
"TrigCaloClusterContainer", dump_TrigCaloCluster],
5820 [
"TrigTauClusterDetailsContainer", dump_TrigTauClusterDetails],
5821 [
"TrigMissingET", dump_TrigMissingET_nolist],
5822 [
"TrigRoiDescriptor", dump_TrigRoiDescriptor_nolist],
5823 [
"TrigT2Jet", dump_TrigT2Jet_nolist],
5824 [
"TrigTauCluster", dump_TrigTauCluster_nolist],
5825 [
"TrigTauTracksInfo", dump_TrigTauTracksInfo_nolist],
5826 [
"TrigSpacePointCounts", dump_TrigSpacePointCounts_nolist],
5827 [
"CombinedMuonFeature", dump_CombinedMuonFeature_nolist],
5828 [
"MuonFeature", dump_MuonFeature_nolist],
5829 [
"TrigMuonEFContainer", dump_TrigMuonEF],
5830 [
"TileContainer<TileMu>", dump_TileMu],
5831 [
"CaloShowerContainer", dump_CaloShower],
5832 [
"CaloTowerContainer", dump_CaloTowerContainer],
5833 [
"CaloTopoTowerContainer", dump_CaloTopoTowerContainer],
5834 [
"CaloCalibrationHitContainer", dump_CaloCalibrationHit],
5835 [
'LArHitContainer', dump_LArHit],
5836 [
'TileHitVector', dump_TileHit],
5837 [
'AtlasHitsVector<TileHit>', dump_TileHit],
5838 [
'TileRawChannelContainer', dump_TileRawChannelContainer],
5839 [
'TileBeamElemContainer', dump_TileBeamElemContainer],
5840 [
'SiHitCollection', dump_SiHit],
5841 [
'AtlasHitsVector<SiHit>', dump_SiHit],
5842 [
'TRTUncompressedHitCollection', dump_TRTUncompressedHit],
5843 [
'AtlasHitsVector<TRTUncompressedHit>', dump_TRTUncompressedHit],
5844 [
'AtlasHitsVector<CSCSimHit>', dump_CSCSimHit],
5845 [
'AtlasHitsVector<MDTSimHit>', dump_MDTSimHit],
5846 [
'AtlasHitsVector<RPCSimHit>', dump_RPCSimHit],
5847 [
'AtlasHitsVector<TGCSimHit>', dump_TGCSimHit],
5848 [
"CombinedMuonFeatureContainer", dump_CombinedMuonFeature],
5849 [
"MuonFeatureContainer", dump_MuonFeature],
5850 [
"TrigEFBjetContainer", dump_TrigEFBjet],
5851 [
"TrigEFBphysContainer", dump_TrigEFBphys],
5852 [
"TrigEMClusterContainer", dump_TrigEMCluster],
5853 [
"TrigElectronContainer", dump_TrigElectron],
5854 [
"TrigL2BjetContainer", dump_TrigL2Bjet],
5855 [
"TrigL2BphysContainer", dump_TrigL2Bphys],
5856 [
"TrigMissingETContainer", dump_TrigMissingET],
5857 [
"TrigPhotonContainer", dump_TrigPhoton],
5858 [
"TrigT2JetContainer", dump_TrigT2Jet],
5859 [
"TrigTauClusterContainer", dump_TrigTauCluster],
5860 [
"TrigTauContainer", dump_TrigTau],
5861 [
"TrigTauTracksInfoCollection", dump_TrigTauTracksInfo],
5862 [
"TrigSpacePointCountsCollection", dump_TrigSpacePointCounts],
5863 [
"TrigTrackCountsCollection", dump_TrigTrackCounts],
5864 [
"TrigT2MbtsBitsContainer", dump_TrigT2MbtsBits],
5865 [
"TrigRoiDescriptorCollection", dump_TrigRoiDescriptor],
5866 [
"TileMuFeatureContainer", dump_TileMuFeature],
5867 [
"TileTrackMuFeatureContainer", dump_TileTrackMuFeature],
5868 [
"CosmicMuonCollection", dump_CosmicMuon],
5869 [
"MdtTrackSegmentCollection", dump_MdtTrackSegment],
5870 [
"IsoMuonFeatureContainer", dump_IsoMuonFeature],
5871 [
"TrigMuonEFInfoContainer", dump_TrigMuonEFInfo],
5872 [
"RingerRingsContainer", dump_RingerRings],
5873 [
"TrigTrtHitCountsCollection", dump_TrigTrtHitCounts],
5874 [
"MuonFeatureDetailsContainer", dump_MuonFeatureDetails],
5875 [
"TrigRNNOutputContainer", dump_TrigRNNOutput],
5876 [
"InDet::InDetLowBetaContainer", dump_InDetLowBetaCandidate],
5877 [
"LArNoisyROSummary", dump_LArNoisyROSummary],
5878 [
"SkimDecisionCollection", dump_SkimDecision],
5879 [
"RawInfoSummaryForTag", dump_RawInfoSummaryForTag],
5880 [
"MissingETComposition", dump_MissingETComposition],
5881 [
"Muon::ChamberT0s", dump_ChamberT0s],
5882 [
"TrigMuonClusterFeatureContainer", dump_TrigMuonClusterFeature],
5883 [
"TrigPassBitsCollection", dump_TrigPassBits],
5884 [
"TrigOperationalInfoCollection", dump_TrigOperationalInfo],
5885 [
"TrigVertexCountsCollection", dump_TrigVertexCounts],
5886 [
"TrigMuonEFIsolationContainer", dump_TrigMuonEFIsolation],
5887 [
"eflowObjectContainer", dump_eflowObjectContainer],
5888 [
"TrigPassFlagsCollection", dump_TrigPassFlags],
5889 [
"TrackParticleAssocs", dump_TrackParticleAssocs],
5890 [
"ElectronMuonTopoInfoContainer", dump_ElectronMuonTopoInfo],
5891 [
"RecoTimingObj", dump_RecoTimingObj],
5892 [
'MuonCaloEnergyContainer', dump_CaloEnergy],
5893 [
'CscSimDataCollection', dump_CscSimDataCollection],
5894 [
'MuonSimDataCollection', dump_MuonSimDataCollection],
5895 [
'Muon::MuonPrepDataContainer<Muon::MuonPrepDataCollection<Muon::CscPrepData> >', dump_CscPrepDataContainer],
5896 [
'Muon::MuonPrepDataContainer<Muon::MuonPrepDataCollection<Muon::CscStripPrepData> >', dump_CscStripPrepDataContainer],
5897 [
'Muon::MuonPrepDataContainer<Muon::MuonPrepDataCollection<Muon::TgcPrepData> >', dump_TgcPrepDataContainer],
5898 [
'Muon::MuonPrepDataContainer<Muon::MuonPrepDataCollection<Muon::MdtPrepData> >', dump_MdtPrepDataContainer],
5899 [
'Muon::MuonPrepDataContainer<Muon::MuonPrepDataCollection<Muon::RpcPrepData> >', dump_RpcPrepDataContainer],
5900 [
'Muon::MuonCoinDataContainer<Muon::MuonCoinDataCollection<Muon::RpcCoinData> >', dump_RpcCoinDataContainer],
5901 [
'Muon::MuonCoinDataContainer<Muon::MuonCoinDataCollection<Muon::TgcCoinData> >', dump_TgcCoinDataContainer],
5902 [
'Trk::PrepRawDataContainer<Trk::PrepRawDataCollection<InDet::PixelCluster> >', dump_PixelClusterContainer],
5903 [
'Trk::PrepRawDataContainer<Trk::PrepRawDataCollection<InDet::SCT_Cluster> >', dump_SCT_ClusterContainer],
5904 [
'Trk::PrepRawDataContainer<Trk::PrepRawDataCollection<InDet::TRT_DriftCircle> >', dump_TRT_DriftCircleContainer],
5905 [
'InDetRawDataContainer<InDetRawDataCollection<PixelRDORawData> >', dump_PixelRawDataContainer],
5906 [
'InDetRawDataContainer<InDetRawDataCollection<TRT_RDORawData> >', dump_TRT_RawDataContainer],
5907 [
'InDetRawDataContainer<InDetRawDataCollection<SCT_RDORawData> >', dump_SCT_RawDataContainer],
5908 [
'std::multimap<const InDet::SiCluster*,const InDet::SiCluster*,InDet::compare_SiCluster>', dump_PixelGangedClusterAmbiguities],
5909 [
'TileDigitsContainer', dump_TileDigitsContainer],
5910 [
'TileContainer<TileL2>', dump_TileL2],
5911 [
'TileContainer<TileTTL1>', dump_TileTTL1],
5912 [
'TileContainer<TileMuonReceiverObj>', dump_TileMuonReceiverObj],
5913 [
'DataVector<LVL1::CMMCPHits>', dump_CMMCPHits],
5914 [
'DataVector<LVL1::CMMEtSums>', dump_CMMEtSums],
5915 [
'DataVector<LVL1::CMMJetHits>', dump_CMMJetHits],
5916 [
'LVL1::CMMRoI', dump_CMMRoI],
5917 [
'DataVector<LVL1::CPMHits>', dump_CPMHits],
5918 [
'DataVector<LVL1::CPMRoI>', dump_CPMRoI],
5919 [
'DataVector<LVL1::CPMTower>', dump_CPMTower],
5920 [
'CTP_RDO', dump_CTP_RDO],
5921 [
'MuCTPI_RDO', dump_MuCTPI_RDO],
5922 [
'DataVector<LVL1::JEMEtSums>', dump_JEMEtSums],
5923 [
'DataVector<LVL1::JEMHits>', dump_JEMHits],
5924 [
'DataVector<LVL1::JEMRoI>', dump_JEMRoI],
5925 [
'DataVector<LVL1::JetElement>', dump_JetElement],
5926 [
'DataVector<LVL1::TriggerTower>', dump_TriggerTower],
5927 [
'ROIB::RoIBResult', dump_RoIBResult],
5928 [
'LUCID_RawDataContainer', dump_LUCID_RawData],
5929 [
'BCM_RDO_Container', dump_BCM_RDO_Collection],
5930 [
'LArDigitContainer', dump_LArDigit],
5931 [
'EventBookkeeperCollection', dump_EventBookkeeper],
5932 [
'ZdcDigitsCollection', dump_ZdcDigits],
5933 [
'RpcPadContainer', dump_RpcPadContainer],
5934 [
'RpcSectorLogicContainer', dump_RpcSectorLogic],
5935 [
'CscRawDataContainer', dump_CscRawDataContainer],
5936 [
'TgcRdoContainer', dump_TgcRdoContainer],
5937 [
'MdtCsmContainer', dump_MdtCsmContainer],
5938 [
'Muon::STGC_RawDataContainer', dump_STGC_RawDataContainer],
5939 [
'Muon::MM_RawDataContainer', dump_MM_RawDataContainer],
5940 [
'Muon::NSW_PadTriggerDataContainer', dump_NSW_PadTriggerDataContainer],
5941 [
'ZdcLucrodDataContainer', dump_ZdcLucrod_Data],
5942 [
'AthenaAttributeList', dump_AttributeList],
5943 [
'InDetTimeCollection', dump_InDetTime],
5944 [
'std::vector<pair<unsigned int,unsigned int> >', dump_InDetTime],
5945 [
'IDCInDetBSErrContainer', dump_IDCInDetBSErrContainer],
5946 [
'TRT_BSErrContainer', dump_TRT_BSErrContainer],
5947 [
'LArFebHeaderContainer', dump_LArFebHeader],
5948 [
'LArRawChannelContainer', dump_LArRawChannel],
5949 [
'TrigMonEventCollection', dump_TrigMonEvent],
5950 [
'TrigMonConfigCollection', dump_TrigMonConfig],
5951 [
'LVL1CTP::Lvl1Result', dump_Lvl1Result],
5952 [
'AFP_RawContainer', dump_AFP_RawContainer],
5953 [
'ALFA_RawDataContainer', dump_ALFA_RawDataContainer],
5954 [
'TrigT2ZdcSignalsContainer', dump_TrigT2ZdcSignals],
5955 [
'Analysis::TauDetailsContainer', dump_TauDetailsContainer],
5956 [
'egDetailContainer', dump_egDetailContainer],
5957 [
'JetMomentMapCollection', dump_JetMomentMapCollection],
5958 [
'JetKeyDescriptorCollection', dump_JetKeyDescriptorCollection],
5959 [
'LArFebErrorSummary', dump_LArFebErrorSummary],
5960 [
'Trk::ClusterSplitProbabilityContainer', dump_ClusterSplitProbabilityContainer],
5961 [
'InDetSimDataCollection', dump_InDetSimDataCollection],
5962 [
'PRD_MultiTruthCollection', dump_PRD_MultiTruthCollection],
5963 [
'TrackTruthCollection', dump_TrackTruthCollection],
5964 [
'LArTTL1Container', dump_LArTTL1],
5965 [
'ComTime', dump_ComTime],
5966 [
'std::vector<unsigned int>', dump_vector],
5968 [
'DataVector<xAOD::BTagVertex_v1>', dump_xAOD],
5969 [
'xAOD::BTagVertexContainer', dump_xAOD],
5970 [
'DataVector<xAOD::BTagging_v1>', dump_xAOD],
5971 [
'xAOD::BTaggingContainer', dump_xAOD],
5972 [
'DataVector<xAOD::CaloCluster_v1>', dump_xAOD],
5973 [
'xAOD::CaloClusterContainer', dump_xAOD],
5974 [
'DataVector<xAOD::Electron_v1>', dump_xAOD],
5975 [
'DataVector<xAOD::EmTauRoI_v1>', dump_xAOD],
5976 [
'DataVector<xAOD::EmTauRoI_v2>', dump_xAOD],
5977 [
'xAOD::EmTauRoIContainer', dump_xAOD],
5978 [
'DataVector<xAOD::JetRoI_v1>', dump_xAOD],
5979 [
'DataVector<xAOD::JetRoI_v2>', dump_xAOD],
5980 [
'xAOD::JetRoIContainer', dump_xAOD],
5981 [
'DataVector<xAOD::Jet_v1>', dump_xAOD],
5982 [
'xAOD::JetContainer', dump_xAOD],
5983 [
'DataVector<xAOD::L2CombinedMuon_v1>', dump_xAOD],
5984 [
'xAOD::L2CombinedMuonContainer', dump_xAOD],
5985 [
'DataVector<xAOD::L2StandAloneMuon_v1>',dump_xAOD],
5986 [
'DataVector<xAOD::L2StandAloneMuon_v2>',dump_xAOD],
5987 [
'xAOD::L2StandAloneMuonContainer', dump_xAOD],
5988 [
'DataVector<xAOD::MuonRoI_v1>', dump_xAOD],
5989 [
'xAOD::MuonRoIContainer', dump_xAOD],
5990 [
'DataVector<xAOD::MuonSegment_v1>', dump_xAOD],
5991 [
'xAOD::MuonSegmentContainer', dump_xAOD],
5992 [
'DataVector<xAOD::Muon_v1>', dump_xAOD],
5993 [
'xAOD::MuonContainer', dump_xAOD],
5994 [
'DataVector<xAOD::PFO_v1>', dump_xAOD],
5995 [
'xAOD::PFOContainer', dump_xAOD],
5996 [
'DataVector<xAOD::Photon_v1>', dump_xAOD],
5997 [
'DataVector<xAOD::SlowMuon_v1>', dump_xAOD],
5998 [
'xAOD::SlowMuonContainer', dump_xAOD],
5999 [
'DataVector<xAOD::TauJet_v1>', dump_xAOD],
6000 [
'DataVector<xAOD::TauJet_v2>', dump_xAOD],
6001 [
'DataVector<xAOD::TauJet_v3>', dump_xAOD],
6002 [
'xAOD::TauJetContainer', dump_xAOD],
6003 [
'DataVector<xAOD::TauTrack_v1>', dump_xAOD],
6004 [
'xAOD::TauTrackContainer', dump_xAOD],
6005 [
'DataVector<xAOD::Particle_v1>', dump_xAOD],
6006 [
'xAOD::ParticleContainer', dump_xAOD],
6007 [
'DataVector<xAOD::TrackParticle_v1>', dump_xAOD],
6008 [
'xAOD::TrackParticleContainer', dump_xAOD],
6009 [
'DataVector<xAOD::TrigBphys_v1>', dump_xAOD],
6010 [
'xAOD::TrigBphysContainer', dump_xAOD],
6011 [
'DataVector<xAOD::TrigComposite_v1>', dump_xAOD],
6012 [
'xAOD::TrigCompositeContainer', dump_xAOD],
6013 [
'DataVector<xAOD::TrigEMCluster_v1>', dump_xAOD],
6014 [
'xAOD::TrigEMClusterContainer', dump_xAOD],
6015 [
'DataVector<xAOD::TrigElectron_v1>', dump_xAOD],
6016 [
'xAOD::TrigElectronContainer', dump_xAOD],
6017 [
'DataVector<xAOD::TrigMissingET_v1>', dump_xAOD],
6018 [
'xAOD::TrigMissingETContainer', dump_xAOD],
6019 [
'DataVector<xAOD::TrigPhoton_v1>', dump_xAOD],
6020 [
'xAOD::TrigPhotonContainer', dump_xAOD],
6021 [
'DataVector<xAOD::TrigRNNOutput_v1>', dump_xAOD],
6022 [
'DataVector<xAOD::TrigRNNOutput_v2>', dump_xAOD],
6023 [
'xAOD::TrigRNNOutputContainer', dump_xAOD],
6024 [
'DataVector<xAOD::TrigRingerRings_v1>', dump_xAOD],
6025 [
'DataVector<xAOD::TrigRingerRings_v2>', dump_xAOD],
6026 [
'xAOD::TrigRingerRingsContainer', dump_xAOD],
6027 [
'DataVector<xAOD::TrigSpacePointCounts_v1>',dump_xAOD],
6028 [
'xAOD::TrigSpacePointCountsContainer', dump_xAOD],
6029 [
'DataVector<xAOD::TrigT2MbtsBits_v1>', dump_xAOD],
6030 [
'xAOD::TrigT2MbtsBitsContainer', dump_xAOD],
6031 [
'DataVector<xAOD::TrigTrackCounts_v1>', dump_xAOD],
6032 [
'xAOD::TrigTrackCountsContainer', dump_xAOD],
6033 [
'DataVector<xAOD::TrigVertexCounts_v1>',dump_xAOD],
6034 [
'xAOD::TrigVertexCountsContainer', dump_xAOD],
6035 [
'DataVector<xAOD::TruthEvent_v1>', dump_xAOD],
6036 [
'xAOD::TruthEventContainer', dump_xAOD],
6037 [
'DataVector<xAOD::TruthParticle_v1>', dump_xAOD],
6038 [
'xAOD::TruthParticleContainer', dump_xAOD],
6039 [
'DataVector<xAOD::TruthVertex_v1>', dump_xAOD],
6040 [
'xAOD::TruthVertexContainer', dump_xAOD],
6041 [
'DataVector<xAOD::Vertex_v1>', dump_xAOD],
6042 [
'xAOD::VertexContainer', dump_xAOD],
6043 [
'DataVector<xAOD::L2IsoMuon_v1>', dump_xAOD],
6044 [
'xAOD::L2IsoMuonContainer', dump_xAOD],
6045 [
'DataVector<xAOD::TrigT2ZdcSignals_v1>',dump_xAOD],
6046 [
'xAOD::TrigT2ZdcSignalsContainer', dump_xAOD],
6047 [
'DataVector<xAOD::HIEventShape_v1>', dump_xAOD],
6048 [
'DataVector<xAOD::HIEventShape_v2>', dump_xAOD],
6049 [
'xAOD::HIEventShapeContainer', dump_xAOD],
6050 [
'DataVector<xAOD::DiTauJet_v1>', dump_xAOD],
6051 [
'xAOD::DiTauJetContainer', dump_xAOD],
6052 [
'DataVector<xAOD::TrigPassBits_v1>', dump_xAOD],
6053 [
'xAOD::TrigPassBitsContainer', dump_xAOD],
6054 [
'DataVector<xAOD::TrackParticleClusterAssociation_v1>', dump_xAOD],
6055 [
'xAOD::TrackParticleClusterAssociationContainer', dump_xAOD],
6056 [
'DataVector<xAOD::TruthPileupEvent_v1>',dump_xAOD],
6057 [
'xAOD::TruthPileupEventContainer_v1', dump_xAOD],
6058 [
'DataVector<xAOD::CaloRings_v1>', dump_xAOD],
6059 [
'xAOD::CaloRingsContainer', dump_xAOD],
6060 [
'DataVector<xAOD::RingSet_v1>', dump_xAOD],
6061 [
'xAOD::RingSetContainer', dump_xAOD],
6062 [
'DataVector<xAOD::ForwardEventInfo_v1>',dump_xAOD],
6063 [
'xAOD::ForwardEventInfoContainer', dump_xAOD],
6064 [
'DataVector<xAOD::MBTSModule_v1>', dump_xAOD],
6065 [
'xAOD::MBTSModuleContainer', dump_xAOD],
6066 [
'DataVector<xAOD::ZdcModule_v1>', dump_xAOD],
6067 [
'xAOD::ZdcModuleContainer', dump_xAOD],
6068 [
'DataVector<xAOD::CPMTower_v2>', dump_xAOD],
6069 [
'xAOD::CPMTowerContainer', dump_xAOD],
6070 [
'DataVector<xAOD::JetElement_v2>', dump_xAOD],
6071 [
'xAOD::JetElementContainer', dump_xAOD],
6072 [
'DataVector<xAOD::TriggerTower_v2>', dump_xAOD],
6073 [
'xAOD::TriggerTowerContainer', dump_xAOD],
6074 [
'xAOD::MissingETContainer_v1', dump_xAOD],
6075 [
'xAOD::MissingETContainer', dump_xAOD],
6076 [
'xAOD::MissingETComponentMap_v1', dump_xAOD],
6077 [
'xAOD::MissingETComponentMap', dump_xAOD],
6078 [
'DataVector<xAOD::FlowElement_v1>', dump_xAOD],
6079 [
'xAOD::FlowElementContainer', dump_xAOD],
6080 [
'DataVector<xAOD::AFPSiHitsCluster_v1>',dump_xAOD],
6081 [
'xAOD::AFPSiHitsClusterContainer', dump_xAOD],
6082 [
'DataVector<xAOD::AFPProton_v1>', dump_xAOD],
6083 [
'xAOD::AFPProtonContainer', dump_xAOD],
6084 [
'DataVector<xAOD::AFPVertex_v1>', dump_xAOD],
6085 [
'xAOD::AFPVertexContainer', dump_xAOD],
6086 [
'DataVector<xAOD::AFPTrack_v2>', dump_xAOD],
6087 [
'xAOD::AFPTrackContainer', dump_xAOD],
6088 [
'DataVector<xAOD::AFPToFTrack_v1>', dump_xAOD],
6089 [
'xAOD::AFPToFTrackContainer', dump_xAOD],
6090 [
'xAOD::EventInfo_v1', dump_xAODObject],
6091 [
'xAOD::EventInfo', dump_xAODObject],
6092 [
'xAOD::EventShape_v1', dump_xAODObjectNL],
6093 [
'xAOD::EventShape', dump_xAODObjectNL],
6094 [
'xAOD::MissingETAssociationMap_v1', dump_xAOD],
6095 [
'xAOD::MissingETAssociationMap', dump_xAOD],
6096 [
'xAOD::TrigDecision_v1', dump_xAODObject],
6097 [
'xAOD::TrigConfKeys_v1', dump_TrigConfKeys],
6098 [
'xAOD::JetEtRoI_v1', dump_xAODObject],
6099 [
'xAOD::EnergySumRoI_v1', dump_xAODObject],
6100 [
'xAOD::EnergySumRoI_v2', dump_xAODObject],
6101 [
'xAOD::TrigNavigation_v1', dump_xAODObject],
6102 [
'xAOD::TrigNavigation', dump_xAODObject],
6103 [
'xAOD::RoiDescriptorStore_v1', dump_xAODObject],
6104 [
'xAOD::RoiDescriptorStore', dump_xAODObject],
6105 [
'DataVector<xAODTruthParticleLink>', dump_xAODTruthParticleLink],
6106 [
'xAODTruthParticleLinkVector', dump_xAODTruthParticleLink],
6107 [
'DataVector<xAOD::NSWTPRDO_v1>', dump_xAOD],
6108 [
'xAOD::NSWTPRDOContainer', dump_xAOD],
6109 [
'DataVector<xAOD::NSWMMTPRDO_v1>', dump_xAOD],
6110 [
'xAOD::NSWMMTPRDOContainer', dump_xAOD],
6111 [
'DataVector<xAOD::RODHeader_v2>', dump_xAOD],
6112 [
'xAOD::RODHeaderContainer', dump_xAOD],
6113 [
'DataVector<xAOD::CMXJetTob_v1>', dump_xAOD],
6114 [
'xAOD::CMXJetTobContainer', dump_xAOD],
6115 [
'DataVector<xAOD::JEMTobRoI_v1>', dump_xAOD],
6116 [
'xAOD::JEMTobRoIContainer', dump_xAOD],
6117 [
'DataVector<xAOD::CMXCPTob_v1>', dump_xAOD],
6118 [
'xAOD::CMXCPTobContainer', dump_xAOD],
6119 [
'DataVector<xAOD::CMXJetHits_v1>', dump_xAOD],
6120 [
'xAOD::CMXJetHitsContainer', dump_xAOD],
6121 [
'DataVector<xAOD::CMXEtSums_v1>', dump_xAOD],
6122 [
'xAOD::CMXEtSumsContainer', dump_xAOD],
6123 [
'DataVector<xAOD::CMXRoI_v1>', dump_xAOD],
6124 [
'xAOD::CMXRoIContainer', dump_xAOD],
6125 [
'DataVector<xAOD::CPMTobRoI_v1>', dump_xAOD],
6126 [
'xAOD::CPMTobRoIContainer', dump_xAOD],
6127 [
'DataVector<xAOD::JEMEtSums_v2>', dump_xAOD],
6128 [
'xAOD::JEMEtSumsContainer', dump_xAOD],
6129 [
'DataVector<xAOD::CMXCPHits_v1>', dump_xAOD],
6130 [
'xAOD::CMXCPHitsContainer', dump_xAOD],
6131 [
'DataVector<xAOD::L1TopoRawData_v1>', dump_xAOD],
6132 [
'xAOD::L1TopoRawDataContainer', dump_xAOD],
6133 [
'DataVector<xAOD::jFexFwdElRoI_v1>', dump_xAOD],
6134 [
'xAOD::jFexFwdElRoIContainer', dump_xAOD],
6135 [
'DataVector<xAOD::jFexSRJetRoI_v1>', dump_xAOD],
6136 [
'xAOD::jFexSRJetRoIContainer', dump_xAOD],
6137 [
'DataVector<xAOD::jFexSumETRoI_v1>', dump_xAOD],
6138 [
'xAOD::jFexSumETRoIContainer', dump_xAOD],
6139 [
'DataVector<xAOD::gFexGlobalRoI_v1>', dump_xAOD],
6140 [
'xAOD::gFexGlobalRoIContainer', dump_xAOD],
6141 [
'DataVector<xAOD::jFexLRJetRoI_v1>', dump_xAOD],
6142 [
'xAOD::jFexLRJetRoIContainer', dump_xAOD],
6143 [
'DataVector<xAOD::eFexTauRoI_v1>', dump_xAOD],
6144 [
'xAOD::eFexTauRoIContainer', dump_xAOD],
6145 [
'DataVector<xAOD::gFexJetRoI_v1>', dump_xAOD],
6146 [
'xAOD::gFexJetRoIContainer', dump_xAOD],
6147 [
'DataVector<xAOD::gFexTower_v1>', dump_xAOD],
6148 [
'xAOD::gFexTowerContainer', dump_xAOD],
6149 [
'DataVector<xAOD::eFexEMRoI_v1>', dump_xAOD],
6150 [
'xAOD::eFexEMRoIContainer', dump_xAOD],
6151 [
'DataVector<xAOD::jFexTauRoI_v1>', dump_xAOD],
6152 [
'xAOD::jFexTauRoIContainer', dump_xAOD],
6153 [
'DataVector<xAOD::jFexTower_v1>', dump_xAOD],
6154 [
'xAOD::jFexTowerContainer', dump_xAOD],
6155 [
'DataVector<xAOD::jFexMETRoI_v1>', dump_xAOD],
6156 [
'xAOD::jFexMETRoIContainer', dump_xAOD],
6157 [
'DataVector<xAOD::eFexTower_v1>', dump_xAOD],
6158 [
'xAOD::eFexTowerContainer', dump_xAOD],
6159 [
'DataVector<xAOD::AFPSiHit_v2>', dump_xAOD],
6160 [
'xAOD::AFPSiHitContainer', dump_xAOD],
6161 [
'DataVector<xAOD::AFPToFHit_v1>', dump_xAOD],
6162 [
'xAOD::AFPToFHitContainer', dump_xAOD],
6163 [
'xAOD::BunchConfKey_v1', dump_BunchConfKey],
6164 [
'xAOD::BunchConfKey', dump_BunchConfKey],
6173 """helper function to automatically retrieve the suitable dumper function
6174 given the name of a class or the class-type
6175 @param `klass' a string containing the name of a C++ type or a type
6176 @param `ofile' a file-like instance where to dump the objects' content
6177 @param `nmax` maximum number of container elements to dump
6179 if isinstance(klass, type):
6182 elif isinstance(klass, str):
6183 klass = getattr(PyAthena,klass)
6186 raise TypeError(
'expected a type or a string')
6190 dumpers = [ i
for i
in dumpspecs
if i[0] == klname ]
6191 if len(dumpers) != 1:
6192 raise RuntimeError(
'no suitable dumper function for class [%s]'%
6195 nolist = hasattr (fct,
'nolist')
and fct.nolist
6196 from functools
import partial
as _partial
6199 dumper = _partial(fct, f=ofile, nmax=nmax)
6201 dumper = _partial(fct, f=ofile)
6203 dumper = _partial(dump_list, f=ofile, dumper=fct, nmax=nmax)