ATLAS Offline Software
Functions
TauGNNUtils::Variables::Track Namespace Reference

Functions

bool pt_log (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool trackPt (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool trackEta (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool trackPhi (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool pt_tau_log (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 
bool pt_jetseed_log (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 
bool d0_abs_log (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool z0sinThetaTJVA_abs_log (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool z0sinthetaTJVA (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool z0sinthetaSigTJVA (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool d0TJVA (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool d0SigTJVA (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool dEta (const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
 
bool dEtaJetSeedAxis (const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
 
bool dPhi (const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
 
bool dPhiJetSeedAxis (const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
 
bool nInnermostPixelHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool nPixelHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool nSCTHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool nIBLHitsAndExp (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool nPixelHitsPlusDeadSensors (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool nSCTHitsPlusDeadSensors (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool eProbabilityHT (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool eProbabilityNN (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool eProbabilityNNorHT (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool chargedScoreRNN (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool isolationScoreRNN (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool conversionScoreRNN (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool fakeScoreRNN (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfInnermostPixelLayerHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfPixelHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfPixelSharedHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfPixelDeadSensors (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfSCTHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfSCTSharedHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfSCTDeadSensors (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfTRTHighThresholdHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfTRTHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool nSiHits (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool expectInnermostPixelLayerHit (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool expectNextToInnermostPixelLayerHit (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfContribPixelLayers (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool numberOfPixelHoles (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool d0_old (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool qOverP (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool theta (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool z0TJVA (const xAOD::TauJet &tau, const xAOD::TauTrack &track, double &out)
 
bool charge (const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
 
bool dz0_TV_PV0 (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 
bool log_sumpt_TV (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 
bool log_sumpt2_TV (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 
bool log_sumpt_PV0 (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 
bool log_sumpt2_PV0 (const xAOD::TauJet &tau, const xAOD::TauTrack &, double &out)
 

Function Documentation

◆ charge()

bool TauGNNUtils::Variables::Track::charge ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 764 of file TauGNNUtils.cxx.

764  {
765  out = track.track()->charge();
766  return true;
767 }

◆ chargedScoreRNN()

bool TauGNNUtils::Variables::Track::chargedScoreRNN ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 617 of file TauGNNUtils.cxx.

617  {
618  static const SG::ConstAccessor<float> acc_chargedScoreRNN("rnn_chargedScore");
619  out = acc_chargedScoreRNN(track);
620  return true;
621 }

◆ conversionScoreRNN()

bool TauGNNUtils::Variables::Track::conversionScoreRNN ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 629 of file TauGNNUtils.cxx.

629  {
630  static const SG::ConstAccessor<float> acc_conversionScoreRNN("rnn_conversionScore");
631  out = acc_conversionScoreRNN(track);
632  return true;
633 }

◆ d0_abs_log()

bool TauGNNUtils::Variables::Track::d0_abs_log ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 497 of file TauGNNUtils.cxx.

497  {
498  out = std::log10(std::abs(track.d0TJVA()) + 1e-6);
499  return true;
500 }

◆ d0_old()

bool TauGNNUtils::Variables::Track::d0_old ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 743 of file TauGNNUtils.cxx.

743  {
744  out = track.track()->d0();
745  //out = trk_val;
746  return true;
747 }

◆ d0SigTJVA()

bool TauGNNUtils::Variables::Track::d0SigTJVA ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 522 of file TauGNNUtils.cxx.

522  {
523  out = track.d0SigTJVA();
524  return true;
525 }

◆ d0TJVA()

bool TauGNNUtils::Variables::Track::d0TJVA ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 517 of file TauGNNUtils.cxx.

517  {
518  out = track.d0TJVA();
519  return true;
520 }

◆ dEta()

bool TauGNNUtils::Variables::Track::dEta ( const xAOD::TauJet tau,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 527 of file TauGNNUtils.cxx.

527  {
528  out = track.eta() - tau.eta();
529  return true;
530 }

◆ dEtaJetSeedAxis()

bool TauGNNUtils::Variables::Track::dEtaJetSeedAxis ( const xAOD::TauJet tau,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 532 of file TauGNNUtils.cxx.

532  {
533  TLorentzVector tlvSeedJet = tau.p4(xAOD::TauJetParameters::JetSeed);
534  out = std::abs(tlvSeedJet.Eta() - track.eta());
535  return true;
536 }

◆ dPhi()

bool TauGNNUtils::Variables::Track::dPhi ( const xAOD::TauJet tau,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 538 of file TauGNNUtils.cxx.

538  {
539  out = track.p4().DeltaPhi(tau.p4());
540  return true;
541 }

◆ dPhiJetSeedAxis()

bool TauGNNUtils::Variables::Track::dPhiJetSeedAxis ( const xAOD::TauJet tau,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 543 of file TauGNNUtils.cxx.

543  {
544  TLorentzVector tlvSeedJet = tau.p4(xAOD::TauJetParameters::JetSeed);
545  out = tlvSeedJet.DeltaPhi(track.p4());
546  return true;
547 }

◆ dz0_TV_PV0()

bool TauGNNUtils::Variables::Track::dz0_TV_PV0 ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 769 of file TauGNNUtils.cxx.

769  {
770  static const SG::ConstAccessor<float> acc_dz0TVPV0("dz0_TV_PV0");
771  out = acc_dz0TVPV0.withDefault(tau, 0);
772  return true;
773 }

◆ eProbabilityHT()

bool TauGNNUtils::Variables::Track::eProbabilityHT ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 595 of file TauGNNUtils.cxx.

595  {
596  float eProbabilityHT;
597  const auto success = track.track()->summaryValue(eProbabilityHT, xAOD::eProbabilityHT);
599  return success;
600 }

◆ eProbabilityNN()

bool TauGNNUtils::Variables::Track::eProbabilityNN ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 602 of file TauGNNUtils.cxx.

602  {
603  static const SG::ConstAccessor<float> acc_eProbabilityNN("eProbabilityNN");
604  out = acc_eProbabilityNN(track);
605  return true;
606 }

◆ eProbabilityNNorHT()

bool TauGNNUtils::Variables::Track::eProbabilityNNorHT ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 608 of file TauGNNUtils.cxx.

608  {
609  auto atrack = track.track();
610  float eProbabilityHT = atrack->summaryValue(eProbabilityHT, xAOD::eProbabilityHT);
611  static const SG::ConstAccessor<float> acc_eProbabilityNN("eProbabilityNN");
612  float eProbabilityNN = acc_eProbabilityNN(*atrack);
613  out = (atrack->pt()>2000.) ? eProbabilityNN : eProbabilityHT;
614  return true;
615 }

◆ expectInnermostPixelLayerHit()

bool TauGNNUtils::Variables::Track::expectInnermostPixelLayerHit ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 715 of file TauGNNUtils.cxx.

715  {
716  uint8_t trk_val = 0;
717  const auto success = track.track()->summaryValue(trk_val, xAOD::expectInnermostPixelLayerHit);
718  out = trk_val;
719  return success;
720 }

◆ expectNextToInnermostPixelLayerHit()

bool TauGNNUtils::Variables::Track::expectNextToInnermostPixelLayerHit ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 722 of file TauGNNUtils.cxx.

722  {
723  uint8_t trk_val = 0;
724  const auto success = track.track()->summaryValue(trk_val, xAOD::expectNextToInnermostPixelLayerHit);
725  out = trk_val;
726  return success;
727 }

◆ fakeScoreRNN()

bool TauGNNUtils::Variables::Track::fakeScoreRNN ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 635 of file TauGNNUtils.cxx.

635  {
636  static const SG::ConstAccessor<float> acc_fakeScoreRNN("rnn_fakeScore");
637  out = acc_fakeScoreRNN(track);
638  return true;
639 }

◆ isolationScoreRNN()

bool TauGNNUtils::Variables::Track::isolationScoreRNN ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 623 of file TauGNNUtils.cxx.

623  {
624  static const SG::ConstAccessor<float> acc_isolationScoreRNN("rnn_isolationScore");
625  out = acc_isolationScoreRNN(track);
626  return true;
627 }

◆ log_sumpt2_PV0()

bool TauGNNUtils::Variables::Track::log_sumpt2_PV0 ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 793 of file TauGNNUtils.cxx.

793  {
794  static const SG::ConstAccessor<float> acc_logsumpt2PV0("log_sumpt2_PV0");
795  out = acc_logsumpt2PV0.withDefault(tau, 0);
796  return true;
797 }

◆ log_sumpt2_TV()

bool TauGNNUtils::Variables::Track::log_sumpt2_TV ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 781 of file TauGNNUtils.cxx.

781  {
782  static const SG::ConstAccessor<float> acc_logsumpt2TV("log_sumpt2_TV");
783  out = acc_logsumpt2TV.withDefault(tau, 0);
784  return true;
785 }

◆ log_sumpt_PV0()

bool TauGNNUtils::Variables::Track::log_sumpt_PV0 ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 787 of file TauGNNUtils.cxx.

787  {
788  static const SG::ConstAccessor<float> acc_logsumptPV0("log_sumpt_PV0");
789  out = acc_logsumptPV0.withDefault(tau, 0);
790  return true;
791 }

◆ log_sumpt_TV()

bool TauGNNUtils::Variables::Track::log_sumpt_TV ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 775 of file TauGNNUtils.cxx.

775  {
776  static const SG::ConstAccessor<float> acc_logsumptTV("log_sumpt_TV");
777  out = acc_logsumptTV.withDefault(tau, 0);
778  return true;
779 }

◆ nIBLHitsAndExp()

bool TauGNNUtils::Variables::Track::nIBLHitsAndExp ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 571 of file TauGNNUtils.cxx.

571  {
572  uint8_t inner_pixel_hits, inner_pixel_exp;
573  const auto success1 = track.track()->summaryValue(inner_pixel_hits, xAOD::numberOfInnermostPixelLayerHits);
574  const auto success2 = track.track()->summaryValue(inner_pixel_exp, xAOD::expectInnermostPixelLayerHit);
575  out = inner_pixel_exp ? inner_pixel_hits : 1.;
576  return success1 && success2;
577 }

◆ nInnermostPixelHits()

bool TauGNNUtils::Variables::Track::nInnermostPixelHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 549 of file TauGNNUtils.cxx.

549  {
550  uint8_t inner_pixel_hits;
551  const auto success = track.track()->summaryValue(inner_pixel_hits, xAOD::numberOfInnermostPixelLayerHits);
552  out = inner_pixel_hits;
553  return success;
554 }

◆ nPixelHits()

bool TauGNNUtils::Variables::Track::nPixelHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 556 of file TauGNNUtils.cxx.

556  {
557  uint8_t pixel_hits;
558  const auto success = track.track()->summaryValue(pixel_hits, xAOD::numberOfPixelHits);
559  out = pixel_hits;
560  return success;
561 }

◆ nPixelHitsPlusDeadSensors()

bool TauGNNUtils::Variables::Track::nPixelHitsPlusDeadSensors ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 579 of file TauGNNUtils.cxx.

579  {
580  uint8_t pixel_hits, pixel_dead;
581  const auto success1 = track.track()->summaryValue(pixel_hits, xAOD::numberOfPixelHits);
582  const auto success2 = track.track()->summaryValue(pixel_dead, xAOD::numberOfPixelDeadSensors);
583  out = pixel_hits + pixel_dead;
584  return success1 && success2;
585 }

◆ nSCTHits()

bool TauGNNUtils::Variables::Track::nSCTHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 563 of file TauGNNUtils.cxx.

563  {
564  uint8_t sct_hits;
565  const auto success = track.track()->summaryValue(sct_hits, xAOD::numberOfSCTHits);
566  out = sct_hits;
567  return success;
568 }

◆ nSCTHitsPlusDeadSensors()

bool TauGNNUtils::Variables::Track::nSCTHitsPlusDeadSensors ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 587 of file TauGNNUtils.cxx.

587  {
588  uint8_t sct_hits, sct_dead;
589  const auto success1 = track.track()->summaryValue(sct_hits, xAOD::numberOfSCTHits);
590  const auto success2 = track.track()->summaryValue(sct_dead, xAOD::numberOfSCTDeadSensors);
591  out = sct_hits + sct_dead;
592  return success1 && success2;
593 }

◆ nSiHits()

bool TauGNNUtils::Variables::Track::nSiHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 705 of file TauGNNUtils.cxx.

705  {
706  uint8_t pix_hit = 0;uint8_t pix_dead = 0;uint8_t sct_hit = 0;uint8_t sct_dead = 0;
707  const auto success1 = track.track()->summaryValue(pix_hit, xAOD::numberOfPixelHits);
708  const auto success2 = track.track()->summaryValue(pix_dead, xAOD::numberOfPixelDeadSensors);
709  const auto success3 = track.track()->summaryValue(sct_hit, xAOD::numberOfSCTHits);
710  const auto success4 = track.track()->summaryValue(sct_dead, xAOD::numberOfSCTDeadSensors);
711  out = pix_hit + pix_dead + sct_hit + sct_dead;
712  return success1 && success2 && success3 && success4;
713 }

◆ numberOfContribPixelLayers()

bool TauGNNUtils::Variables::Track::numberOfContribPixelLayers ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 729 of file TauGNNUtils.cxx.

729  {
730  uint8_t trk_val = 0;
731  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfContribPixelLayers);
732  out = trk_val;
733  return success;
734 }

◆ numberOfInnermostPixelLayerHits()

bool TauGNNUtils::Variables::Track::numberOfInnermostPixelLayerHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 642 of file TauGNNUtils.cxx.

642  {
643  uint8_t trk_val = 0;
644  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfInnermostPixelLayerHits);
645  out = trk_val;
646  return success;
647 }

◆ numberOfPixelDeadSensors()

bool TauGNNUtils::Variables::Track::numberOfPixelDeadSensors ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 663 of file TauGNNUtils.cxx.

663  {
664  uint8_t trk_val = 0;
665  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfPixelDeadSensors);
666  out = trk_val;
667  return success;
668 }

◆ numberOfPixelHits()

bool TauGNNUtils::Variables::Track::numberOfPixelHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 649 of file TauGNNUtils.cxx.

649  {
650  uint8_t trk_val = 0;
651  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfPixelHits);
652  out = trk_val;
653  return success;
654 }

◆ numberOfPixelHoles()

bool TauGNNUtils::Variables::Track::numberOfPixelHoles ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 736 of file TauGNNUtils.cxx.

736  {
737  uint8_t trk_val = 0;
738  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfPixelHoles);
739  out = trk_val;
740  return success;
741 }

◆ numberOfPixelSharedHits()

bool TauGNNUtils::Variables::Track::numberOfPixelSharedHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 656 of file TauGNNUtils.cxx.

656  {
657  uint8_t trk_val = 0;
658  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfPixelSharedHits);
659  out = trk_val;
660  return success;
661 }

◆ numberOfSCTDeadSensors()

bool TauGNNUtils::Variables::Track::numberOfSCTDeadSensors ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 684 of file TauGNNUtils.cxx.

684  {
685  uint8_t trk_val = 0;
686  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfSCTDeadSensors);
687  out = trk_val;
688  return success;
689 }

◆ numberOfSCTHits()

bool TauGNNUtils::Variables::Track::numberOfSCTHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 670 of file TauGNNUtils.cxx.

670  {
671  uint8_t trk_val = 0;
672  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfSCTHits);
673  out = trk_val;
674  return success;
675 }

◆ numberOfSCTSharedHits()

bool TauGNNUtils::Variables::Track::numberOfSCTSharedHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 677 of file TauGNNUtils.cxx.

677  {
678  uint8_t trk_val = 0;
679  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfSCTSharedHits);
680  out = trk_val;
681  return success;
682 }

◆ numberOfTRTHighThresholdHits()

bool TauGNNUtils::Variables::Track::numberOfTRTHighThresholdHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 691 of file TauGNNUtils.cxx.

691  {
692  uint8_t trk_val = 0;
693  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfTRTHighThresholdHits);
694  out = trk_val;
695  return success;
696 }

◆ numberOfTRTHits()

bool TauGNNUtils::Variables::Track::numberOfTRTHits ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 698 of file TauGNNUtils.cxx.

698  {
699  uint8_t trk_val = 0;
700  const auto success = track.track()->summaryValue(trk_val, xAOD::numberOfTRTHits);
701  out = trk_val;
702  return success;
703 }

◆ pt_jetseed_log()

bool TauGNNUtils::Variables::Track::pt_jetseed_log ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 492 of file TauGNNUtils.cxx.

492  {
493  out = std::log10(tau.ptJetSeed());
494  return true;
495 }

◆ pt_log()

bool TauGNNUtils::Variables::Track::pt_log ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 467 of file TauGNNUtils.cxx.

467  {
468  out = std::log10(track.pt());
469  return true;
470 }

◆ pt_tau_log()

bool TauGNNUtils::Variables::Track::pt_tau_log ( const xAOD::TauJet tau,
const xAOD::TauTrack ,
double &  out 
)

Definition at line 487 of file TauGNNUtils.cxx.

487  {
488  out = std::log10(std::max(tau.pt(), 1e-6));
489  return true;
490 }

◆ qOverP()

bool TauGNNUtils::Variables::Track::qOverP ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 749 of file TauGNNUtils.cxx.

749  {
750  out = track.track()->qOverP();
751  return true;
752 }

◆ theta()

bool TauGNNUtils::Variables::Track::theta ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 754 of file TauGNNUtils.cxx.

754  {
755  out = track.track()->theta();
756  return true;
757 }

◆ trackEta()

bool TauGNNUtils::Variables::Track::trackEta ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 477 of file TauGNNUtils.cxx.

477  {
478  out = track.eta();
479  return true;
480 }

◆ trackPhi()

bool TauGNNUtils::Variables::Track::trackPhi ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 482 of file TauGNNUtils.cxx.

482  {
483  out = track.phi();
484  return true;
485 }

◆ trackPt()

bool TauGNNUtils::Variables::Track::trackPt ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 472 of file TauGNNUtils.cxx.

472  {
473  out = track.pt();
474  return true;
475 }

◆ z0sinthetaSigTJVA()

bool TauGNNUtils::Variables::Track::z0sinthetaSigTJVA ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 512 of file TauGNNUtils.cxx.

512  {
513  out = track.z0sinthetaSigTJVA();
514  return true;
515 }

◆ z0sinthetaTJVA()

bool TauGNNUtils::Variables::Track::z0sinthetaTJVA ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 507 of file TauGNNUtils.cxx.

507  {
508  out = track.z0sinthetaTJVA();
509  return true;
510 }

◆ z0sinThetaTJVA_abs_log()

bool TauGNNUtils::Variables::Track::z0sinThetaTJVA_abs_log ( const xAOD::TauJet ,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 502 of file TauGNNUtils.cxx.

502  {
503  out = std::log10(std::abs(track.z0sinthetaTJVA()) + 1e-6);
504  return true;
505 }

◆ z0TJVA()

bool TauGNNUtils::Variables::Track::z0TJVA ( const xAOD::TauJet tau,
const xAOD::TauTrack track,
double &  out 
)

Definition at line 759 of file TauGNNUtils.cxx.

759  {
760  out = track.track()->z0() + track.track()->vz() - tau.vertex()->z();
761  return true;
762 }
xAOD::numberOfPixelHoles
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
Definition: TrackingPrimitives.h:261
xAOD::numberOfSCTSharedHits
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
Definition: TrackingPrimitives.h:272
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::TauJet_v3::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
xAOD::numberOfPixelHits
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:259
xAOD::expectInnermostPixelLayerHit
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
Definition: TrackingPrimitives.h:236
xAOD::numberOfTRTHits
@ numberOfTRTHits
number of TRT hits [unit8_t].
Definition: TrackingPrimitives.h:275
SG::ConstAccessor< float >
xAOD::TauJet_v3::ptJetSeed
double ptJetSeed() const
xAOD::TauJetParameters::JetSeed
@ JetSeed
Definition: TauDefs.h:336
xAOD::numberOfTRTHighThresholdHits
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:278
xAOD::TauJet_v3::pt
virtual double pt() const
The transverse momentum ( ) of the particle.
xAOD::numberOfPixelSharedHits
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
Definition: TrackingPrimitives.h:262
TauGNNUtils::Variables::Track::eProbabilityHT
bool eProbabilityHT(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:595
xAOD::expectNextToInnermostPixelLayerHit
@ expectNextToInnermostPixelLayerHit
Do we expect a 1st-layer barrel hit for this track?
Definition: TrackingPrimitives.h:247
xAOD::Vertex_v1::z
float z() const
Returns the z position.
TauGNNUtils::Variables::Cluster::e
bool e(const xAOD::TauJet &, const xAOD::CaloVertexedTopoCluster &cluster, double &out)
Definition: TauGNNUtils.cxx:892
xAOD::TauJet_v3::vertex
const Vertex * vertex() const
xAOD::numberOfSCTDeadSensors
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:273
TauGNNUtils::Variables::Track::eProbabilityNN
bool eProbabilityNN(const xAOD::TauJet &, const xAOD::TauTrack &track, double &out)
Definition: TauGNNUtils.cxx:602
xAOD::TauJet_v3::p4
virtual FourMom_t p4() const
The full 4-momentum of the particle.
Definition: TauJet_v3.cxx:97
xAOD::eProbabilityHT
@ eProbabilityHT
Electron probability from High Threshold (HT) information [float].
Definition: TrackingPrimitives.h:301
xAOD::numberOfContribPixelLayers
@ numberOfContribPixelLayers
number of contributing layers of the pixel detector [unit8_t].
Definition: TrackingPrimitives.h:230
xAOD::numberOfSCTHits
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Definition: TrackingPrimitives.h:268
xAOD::numberOfPixelDeadSensors
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:266
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
xAOD::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
Definition: TrackingPrimitives.h:237