ATLAS Offline Software
Reconstruction/tauEvent/tauEvent/TauJet.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
21 
22 #ifndef TAU_ANALYSIS_H
23 #define TAU_ANALYSIS_H
24 
25 #include <bitset>
26 
27 #include "CLHEP/Vector/LorentzVector.h"
29 #include "AthLinks/ElementLinkVector.h"
32 #include "CaloEvent/CaloClusterContainer.h"
33 #include "JetEvent/JetCollection.h"
34 
36 #include "tauEvent/TauPID.h"
40 #include "tauEvent/TauRecDetails.h"
44 
45 //forward declaration to store link to PanTauSeed
46 //this connects the TauJet to PanTauSeed and vice versa
47 namespace PanTau {
48  class PanTauSeed;
49 }
50 
51 namespace Analysis
52 {
54 
57  class TauJet: public ParticleImpl<
58  ::Analysis::TauJetNavigation, // not really a terminal node: done here
59  ::P4ImplEEtaPhiM
60  >
61  {
63  // Public typedefs:
65  public:
66  //-----------------------------------------------------------------
69  // for readability and lazy people
77 
78  //-----------------------------------------------------------------
81 
83  TauJet();
84 
87 
90  TauJet( const TauJet &rhs );
91 
93  virtual ~TauJet();
94 
98  friend std::ostream& operator<< (
99  std::ostream& o, const TauJet& tau);
100 
104  friend std::ostream& operator<< (
105  std::ostream& o, const TauJet* tau);
106 
110  friend MsgStream& operator<< (
111  MsgStream& o, const TauJet& tau);
112 
116  friend MsgStream& operator<< (
117  MsgStream& o, const TauJet* tau);
118 
121  TauJet &operator = ( const TauJet &rhs );
122 
126  bool operator==( const TauJet& rhs ) const ;
127 
131  bool operator!=( const TauJet& rhs ) const;
132 
134 
135  //-----------------------------------------------------------------
137 
138 
142  virtual void fillToken(
143  INavigationToken &thisToken ) const;
144 
148  virtual void fillToken(
149  INavigationToken &thisToken,
150  const std::any& ) const;
151 
160 
162 
164 
166  const CaloCluster *cluster() const;
167 
171 
175 
179  const CaloClusterContainer *cont,
180  const CaloCluster *clust );
181 
186 
189  const CaloCluster *cellCluster() const;
190 
194 
198 
201  const CaloClusterContainer *cont,
202  const CaloCluster *clust );
203 
207 
209 
211 
213  const Jet *jet() const;
214 
218 
222 
224  void setJet(
225  const JetCollection *cont,
226  const Jet *clust );
227 
230 
232 
234 
236  const Rec :: TrackParticle *track( unsigned int i ) const;
237 
240  unsigned int numTrack() const;
241 
246 
251 
256  const Rec::TrackParticle *track );
257 
259  void clearTracks();
260 
262 
264 
269  unsigned int i ) const;
270 
272  unsigned int numConversionTrack() const;
273 
278 
283 
288  const Rec::TrackParticleContainer *cont,
289  const Rec::TrackParticle *track );
290 
293 
294 
296 
298 
300  const Rec :: TrackParticle *seedCalo_track( unsigned int i ) const;
301 
303  unsigned int seedCalo_numTrack() const;
304 
309 
314 
319  const Rec::TrackParticle *track );
320 
323 
324 
326 
328 
330  const Rec :: TrackParticle *seedTrk_track( unsigned int i ) const;
331 
333  unsigned int seedTrk_numTrack() const;
334 
339 
344 
349  const Rec::TrackParticle *track );
350 
353 
354 
358  int nProng() const;
359 
362  bool isConversionTrack( unsigned int i ) const;
363 
365 
367 
370  const TauPID *tauID() const;
371 
375 
379 
381 
383 
388  const TauDetailsContainer *container,
389  TauDetails *details );
390 
394  void removeDetails(
395  const std::string &name,
396  const std::string& className = "" );
397 
400  void removeDetails(
401  int i );
402 
412  template <typename T>
413  const T *details(
414  const std::string &name ) const;
415 
418  template <typename T>
419  const T *details() const;
420 
426  const TauDetails* detail (const std::string& className,
427  const std::string& name = "") const;
428 
431  const TauDetails* detail (
432  int i) const;
433 
437  int i) const;
438 
441  std::string detailName (
442  int i) const;
443 
445  int nDetails() const;
446 
449  void CleanDetailsForAOD();
450 
453 
455 
457 
460 
463  bool hasAuthor(
464  const TauJetParameters :: Author &author ) const;
465 
468  void setAuthor(
470 
475 
477 
484 
487  unsigned int numberOfTracks() const;
488 
492  unsigned int numberOfTracks );
493 
495 
497 
500  void setROIWord( unsigned int RoiWord );
501 
504  unsigned int ROIWord() const;
505 
507 
509 
512  void setE( double ene );
513 
516  void setEta( double eta );
517 
520  void setPhi( double phi );
521 
524  void setM( double m );
525 
527 
529 
538  TauDetailsContainer* tauDetailsContainer = 0 ,
539  TauDetailsContainer* tauExtraDetailsContainer = 0);
540 
542 
543  // void MergeToCommonDetails(); // used for transient only
544  // void MergeToCommonDetails( TauDetailsContainer* tauDetailsContainer); // used for AODs or data without extra details
545 
549 
553  bool state);
554 
556 
559  std::string toString() const;
560 
562 
564  void storeHLV( TauJetParameters :: TauCalibType type, CLHEP :: HepLorentzVector hlv );
565  CLHEP::HepLorentzVector getHLV( TauJetParameters :: TauCalibType type ) const;
566  void clearHLV();
567 
569  const std::vector<PanTau::PanTauSeed*>& getListOfPanTauSeeds() const;
570 
572  void addPanTauSeed(PanTau::PanTauSeed* pantauSeed);
573 
574  protected:
577  template <class stream>
578  void printOn(stream& o) const;
579 
580  private:
581  // ------------------------------------------------------------
583 
584 
588  void CopyToCommonDetails(
589  const Tau1P3PDetails *tau1P3PDetails,
590  TauCommonDetails *tauCommonDetails);
591 
595  void CopyToCommonDetails(
596  const TauRecDetails *tauRecDetails,
597  TauCommonDetails *tauCommonDetails);
598 
602  void CopyToCommonDetails(
603  const Tau1P3PExtraDetails *tau1P3PExtraDetails,
604  TauCommonExtraDetails *tauCommonExtraDetails);
605 
609  void CopyToCommonDetails(
610  const TauRecExtraDetails *tauRecExtraDetails,
611  TauCommonExtraDetails *tauCommonExtraDetails);
612 
614 
617 
620 
623 
626 
629 
632 
635 
638 
640  std::bitset<8> m_author;
641 
643  unsigned int m_numberOfTracks;
644 
645  //Tau particle ID info
647 
649  unsigned int m_roiWord;
650 
653 
655  std::vector<std::pair< TauJetParameters::TauCalibType, CLHEP::HepLorentzVector > > m_tauHLVStorage;
656 
658  std::vector<PanTau::PanTauSeed*> m_listOfPanTauSeeds;
659 
660  }; //Class TauJet
661 
662  template <class stream>
663  void TauJet::printOn(stream& o) const
664  {
665  o << "TauJet {"
666  << "tracks: {";
668  = m_tracks.begin(); itrk!=m_tracks.end(); ++itrk)
669  o << *(*itrk) << " ";
670  o << "};\n"
671  << "conversionTracks: {";
674  itrk!=m_conversionTracks.end(); ++itrk)
675  o << *(*itrk) << " ";
676  o << "};\n"
677  << "tauDetails: {";
679  = m_tauDetails.begin(); idetail!=m_tauDetails.end(); ++idetail)
680  if ((*idetail).isValid())
681  o << *(*idetail) << " ";
682  o << "};\n"
683  //not m_cluster
684  //not m_cellCluster
685  //not m_jet
686  << "author: " << m_author << ";\n"
687  << "numberOfTracks: " << m_numberOfTracks <<";\n"
688  //not m_tauID
689  << "roiWord: " << m_roiWord << ";\n"
690  << "hasMergedToCommonDetails: " << m_hasMergedToCommonDetails << ";\n"
691  << "};";
692  }
693 
694  inline std::ostream& operator<<(
695  std::ostream& o, const TauJet& tau)
696  {
697  tau.printOn(o);
698  return o;
699  }
700 
701  inline std::ostream& operator<<(
702  std::ostream& o, const TauJet* tau)
703  {
704  tau->printOn(o);
705  return o;
706  }
707 
708  inline MsgStream& operator<<(
709  MsgStream& o, const TauJet& tau)
710  {
711  tau.printOn(o);
712  return o;
713  }
714 
715  inline MsgStream& operator<<(
716  MsgStream& o, const TauJet* tau)
717  {
718  tau->printOn(o);
719  return o;
720  }
721 
722 } //Namespace analysis
723 
724 #include "TauJet.icc"
725 
726 #endif // TAU_ANALYSIS_H
Analysis::TauJet::detail
const TauDetails * detail(const std::string &className, const std::string &name="") const
first TauDetails object of type className and possibly stored with SG key name.
Definition: TauJet.cxx:379
Analysis::TauJet::seedCalo_trackLinkVector
ElementLinkVector< Rec::TrackParticleContainer > & seedCalo_trackLinkVector()
Get seed calo track link vector.
Analysis::TauJet::addTrack
void addTrack(const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
Add a track to the TauJet.
TauJet.icc
Analysis::TauJet::track
const Rec ::TrackParticle * track(unsigned int i) const
Tracks associated to Tau candidate.
Analysis::TauJet::operator==
bool operator==(const TauJet &rhs) const
Equality operator.
Definition: TauJet.cxx:132
Analysis::TauJet::operator!=
bool operator!=(const TauJet &rhs) const
Inequality operator.
Analysis::TauJet::seedCalo_trackLinkVector
const ElementLinkVector< Rec::TrackParticleContainer > & seedCalo_trackLinkVector() const
Get seed calo track link vector.
Analysis::TauJet::numConversionTrack
unsigned int numConversionTrack() const
Number of conversion tracks.
Analysis::TauJet::setROIWord
void setROIWord(unsigned int RoiWord)
Set ROI Word (trigger purposes)
TauRecExtraDetails.h
Analysis::TauJet::setTauID
void setTauID(TauPID *tauID)
Set TauPID object that contains discriminant values.
Analysis::TauJet::trackLinkVector
ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector()
Get track link vector.
Analysis::TauPID
Class containing discriminants produced by identification algorithms.
Definition: TauPID.h:32
Analysis::TauJet::addSeedTrk_track
void addSeedTrk_track(const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
Add a seed trk track to the TauJet.
Analysis::TauJet::operator=
TauJet & operator=(const TauJet &rhs)
assignment operator
Definition: TauJet.cxx:102
Analysis::TauDetailsContainer
Definition: TauDetailsContainer.h:31
Analysis::TauRecDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Basic details class containing information produc...
Definition: TauRecDetails.h:36
Analysis::TauJet::m_cellCluster
ElementLink< CaloClusterContainer > m_cellCluster
Calo cell.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:634
Analysis::TauJet::jetLink
ElementLink< JetCollection > & jetLink()
ElementLink to seed Jet, might be invalid if not seeded from a Jet
ElementLinkVector::begin
iterator begin()
Definition: AthLinks/ElementLinkVector.h:272
Analysis::TauJet::addPanTauSeed
void addPanTauSeed(PanTau::PanTauSeed *pantauSeed)
add a new PanTauSeed to this tau
Analysis::TauJetNavigation
NavigableTerminalNode TauJetNavigation
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:53
Analysis::TauJet::cellCluster
const CaloCluster * cellCluster() const
cell CaloCluster, might be NULL the ID variables are calculated from this cluster if its not empty
Analysis::TauJet::setE
void setE(double ene)
set energy data member
Analysis::TauJet::addDetails
void addDetails(const TauDetailsContainer *container, TauDetails *details)
Add new tau detail instance.
Analysis::TauJet::details
const T * details() const
Get the first details object matching requested type or return NULL.
Analysis::TauJet::m_tauID
TauPID * m_tauID
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:646
Jet
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
Definition: Reconstruction/Jet/JetEvent/JetEvent/Jet.h:47
Analysis::TauJet::getListOfPanTauSeeds
const std::vector< PanTau::PanTauSeed * > & getListOfPanTauSeeds() const
Get the list of links to PanTauSeed objects that were created for this tauJet
Analysis::TauJet::fillToken
virtual void fillToken(INavigationToken &thisToken) const
INavigable interface, fill constituents (Jet,CaloCluster,CaloCell)
Definition: TauJet.cxx:237
Analysis::TauJet::getHLV
CLHEP::HepLorentzVector getHLV(TauJetParameters ::TauCalibType type) const
ElementLinkVector::end
iterator end()
Definition: AthLinks/ElementLinkVector.h:276
Analysis::TauJet::setCellCluster
void setCellCluster(const CaloClusterContainer *cont, const CaloCluster *clust)
set the CaloCluster as the seed of TauJet
Analysis::TauJet::tauDetailLinkVector
const ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector() const
Analysis::TauJet::toString
std::string toString() const
Uses printOn to make a string of the TauDetails.
Definition: TauJet.cxx:167
Analysis::TauJet::setCluster
void setCluster(const CaloClusterContainer *cont, const CaloCluster *clust)
set the CaloCluster as the seed of TauJet, DEPRECATED as of release 13
CaloClusterContainer
Storable container for CaloCluster.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
Analysis::TauJet::clearAuthor
void clearAuthor(const TauJetParameters ::Author &author)
clear the author flag to value false
Analysis::TauJet::m_numberOfTracks
unsigned int m_numberOfTracks
Number of tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:643
Analysis::TauJet::jet
const Jet * jet() const
seed Jet, might be NULL if not seeded from a Jet
Analysis::TauJet::hasAuthor
bool hasAuthor(const TauJetParameters ::Author &author) const
check if this object has Author author (can be more than one)
NavigableTerminalNode
Dummy type needed fro specialized implementation.
Definition: NavigableTerminalNode.h:19
Analysis::TauJet::storeHLV
void storeHLV(TauJetParameters ::TauCalibType type, CLHEP ::HepLorentzVector hlv)
Analysis::TauJet::numberOfTracks
unsigned int numberOfTracks() const
Get number of tracks.
Analysis::TauJet::addSeedCalo_track
void addSeedCalo_track(const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
Add a seed calo track to the TauJet.
Analysis::TauJet::details
const T * details(const std::string &name) const
Get first details object stored in SG collection with matching name.
detail
Definition: extract_histogram_tag.cxx:14
Analysis::TauJet::~TauJet
virtual ~TauJet()
Virtual Destructor.
Definition: TauJet.cxx:162
Analysis::TauJet::m_tracks
ElementLinkVector< Rec::TrackParticleContainer > m_tracks
Tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:616
Analysis::TauJet::setClusterLink
void setClusterLink(const ElementLink< CaloClusterContainer > &x)
set ElementLink of the CaloCluster seed of TauJet DEPRECATED as of release 13
Analysis::TauJet::setEta
void setEta(double eta)
set eta data member
Analysis::TauJet::setPhi
void setPhi(double phi)
set phi data member
Analysis::TauJet::cellClusterLink
ElementLink< CaloClusterContainer > & cellClusterLink()
ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster i...
Analysis::TauJet::jetLink
const ElementLink< JetCollection > jetLink() const
ElementLink to seed Jet, might be invalid if not seeded from a Jet
Analysis::TauJet::clearSeedTrk_tracks
void clearSeedTrk_tracks()
Remove all seed trk associated tracks from TauJet.
Analysis::TauJet::seedTrk_track
const Rec ::TrackParticle * seedTrk_track(unsigned int i) const
Seed Track Tracks associated to Tau candidate.
Tau1P3PExtraDetails.h
P4ImplEEtaPhiM.h
x
#define x
Analysis::TauJet::setHasMergedToCommonDetails
void setHasMergedToCommonDetails(bool state)
Set state Merge to common details state.
Analysis::TauJet::operator<<
friend std::ostream & operator<<(std::ostream &o, const TauJet &tau)
Printing operator.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:694
Analysis::TauJet::m_roiWord
unsigned int m_roiWord
ROI word.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:649
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
Analysis::TauDetails
Definition: TauDetails.h:26
Analysis::TauRecExtraDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Extended details class containing information pro...
Definition: TauRecExtraDetails.h:35
Analysis::TauJet::author
TauJetParameters ::Author author() const
Author of this object (DO NOT USE! only for backward compatibility)
Analysis::TauJet::tauID
const TauPID * tauID() const
Get TauPID object containing discriminant values.
Analysis::TauJet::nProng
int nProng() const
Number of prongs.
Analysis::TauCommonExtraDetails
Extra detail class containing information for track and calo seeded tau reconstruction algorithms.
Definition: TauCommonExtraDetails.h:31
Tau1P3PDetails.h
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition: Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
Analysis::TauJet::TauJet
TauJet()
Default Constructor.
Definition: TauJet.cxx:41
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::m
virtual double m() const
mass
Definition: ParticleImpl.h:464
ParticleImpl
Definition: ParticleImpl.h:39
JetTagCalibConfig.className
string className
Definition: JetTagCalibConfig.py:36
P4ImplEEtaPhiM
Definition: P4ImplEEtaPhiM.h:40
Analysis::TauCommonDetails
Basic detail class containing information for track and calo seeded tau reconstruction algorithms.
Definition: TauCommonDetails.h:38
Analysis::TauJet::setM
void setM(double m)
set mass data member
Analysis::TauJet::conversionTrack
const Rec ::TrackParticle * conversionTrack(unsigned int i) const
Get a conversion track.
Analysis::TauJet::CopyToCommonDetails
void CopyToCommonDetails(const Tau1P3PDetails *tau1P3PDetails, TauCommonDetails *tauCommonDetails)
Converts a Tau1P3PDetails to a TauCommonDetails.
Definition: TauJet.cxx:444
TauJetParameters.h
Analysis::TauJet::MergeToCommonDetails
void MergeToCommonDetails(TauDetailsContainer *tauDetailsContainer=0, TauDetailsContainer *tauExtraDetailsContainer=0)
Merge Tau[1P3P|Rec](Extra)Details to TauCommon(Extra)Details.
Definition: TauJet.cxx:174
TauCommonExtraDetails.h
details
Definition: IParticleWriter.h:21
Analysis::TauJet::numTrack
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
xAOD::TauJetParameters::TauCalibType
TauCalibType
Enum for tau calib type.
Definition: TauDefs.h:335
ParticleEvent::Base
Definition: Base.h:34
lumiFormat.i
int i
Definition: lumiFormat.py:85
Analysis::TauJet::removeDetails
void removeDetails(const std::string &name, const std::string &className="")
Remove all tau details object with matching name.
Definition: TauJet.cxx:363
JetCollection.h
Analysis::TauJet::cluster
const CaloCluster * cluster() const
seed CaloCluster, DEPRECATED as of release 13
Analysis::TauJet::seedCalo_track
const Rec ::TrackParticle * seedCalo_track(unsigned int i) const
Seed Calo Tracks associated to Tau candidate.
Analysis::TauJet::detailName
std::string detailName(int i) const
Get classname of TauDetails by index.
Definition: TauJet.cxx:407
Analysis::TauJet
Object for taus common for ESD and AOD.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:61
Analysis::TauJet::tauID
TauPID * tauID()
Get TauPID object containing discriminant values.
Analysis::TauJet::m_hasMergedToCommonDetails
bool m_hasMergedToCommonDetails
True if MergeToCommonDetails has been called.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:652
Analysis::TauJet::seedTrk_trackLinkVector
const ElementLinkVector< Rec::TrackParticleContainer > & seedTrk_trackLinkVector() const
Get seed trk track link vector.
INavigationToken
Definition: INavigationToken.h:24
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::phi
virtual double phi() const
phi in [-pi,pi[
Definition: ParticleImpl.h:524
CaloCluster
Principal data class for CaloCell clusters.
Definition: Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
Analysis::TauJet::conversionTrackLinkVector
const ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector() const
Get conversion track element link vector (const)
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::eta
virtual double eta() const
pseudo rapidity
Definition: ParticleImpl.h:514
Analysis::TauJet::parameter
double parameter(TauJetParameters ::Detail detail) const
dummy Parameter accessors, for analysis code backward compatibility
Definition: TauJet.cxx:351
Analysis::TauJet::clusterLink
const ElementLink< CaloClusterContainer > clusterLink() const
ElementLink to seed CaloCluster, DEPRECATED as of release 13
Analysis::TauJet::seedCalo_numTrack
unsigned int seedCalo_numTrack() const
number of seed calo Tracks associated to Tau candidate,
Analysis::TauJet::ROIWord
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
Analysis::TauJet::clearSeedCalo_tracks
void clearSeedCalo_tracks()
Remove all seed calo associated tracks from TauJet.
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::hlv
virtual CLHEP::HepLorentzVector hlv() const
CLHEP HepLorentzVector.
Definition: ParticleImpl.h:635
Analysis::TauJet::particle_type
TauJetImpl_t::particle_type particle_type
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:75
Analysis::TauJet::setJetLink
void setJetLink(const ElementLink< JetCollection > &x)
set the ElementLink to the seed Jet
ElementLinkVector< Rec::TrackParticleContainer >
TauPID.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TauJet::m_jet
ElementLink< JetCollection > m_jet
Jets.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:637
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
Analysis::TauJet::TauJetImpl_t
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM > TauJetImpl_t
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:72
Analysis::TauJet::m_seedCalo_tracks
ElementLinkVector< Rec::TrackParticleContainer > m_seedCalo_tracks
Seed Calo Tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:622
Rec::TrackParticleContainer
Definition: Reconstruction/Particle/Particle/TrackParticleContainer.h:33
Analysis::TauJet::m_listOfPanTauSeeds
std::vector< PanTau::PanTauSeed * > m_listOfPanTauSeeds
List of associated pantau seeds
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:658
Analysis::TauJet::clearConversionTracks
void clearConversionTracks()
Remove all associated track from TauJet.
Analysis::TauJet::clearHLV
void clearHLV()
Definition: TauJet.cxx:590
Analysis::TauJet::seedTrk_numTrack
unsigned int seedTrk_numTrack() const
number of seed trk Tracks associated to Tau candidate,
Analysis::TauJet::m_seedTrk_tracks
ElementLinkVector< Rec::TrackParticleContainer > m_seedTrk_tracks
Seed Trk Tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:625
TauCommonDetails.h
Analysis::TauJet::navigable_type
TauJetImpl_t::navigable_type navigable_type
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:73
TauDetailsContainer.h
Rec::TrackParticle
Definition: Reconstruction/Particle/Particle/TrackParticle.h:47
Analysis::TauJet::clusterLink
ElementLink< CaloClusterContainer > & clusterLink()
ElementLink to seed CaloCluster (const) DEPRECATED as of release 13
Analysis::TauJet::CleanDetailsForAOD
void CleanDetailsForAOD()
clean details for AOD Removes extra details and any invalid elementlinks from details list
Definition: TauJet.cxx:419
Analysis::TauJet::setCellClusterLink
void setCellClusterLink(const ElementLink< CaloClusterContainer > &x)
set ElementLink of the CaloCluster seed of TauJet
TauRecDetails.h
PanTau
xAOD EDM
Definition: Reconstruction/PanTau/PanTauAlgs/PanTauAlgs/HelperFunctions.h:18
Analysis::TauJet::clearTracks
void clearTracks()
Remove all associated track from TauJet.
Analysis::TauJet::setJet
void setJet(const JetCollection *cont, const Jet *clust)
set the Jet as the seed to the TauJet
Analysis::Tau1P3PDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Basic details class containing information produc...
Definition: Tau1P3PDetails.h:41
JetCollection
Container for Jets
Definition: JetCollection.h:30
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Analysis::TauJet::momentum_type
TauJetImpl_t::momentum_type momentum_type
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:74
Analysis::TauJet::trackLinkVector
const ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector() const
Get track link vector.
Analysis::Tau1P3PExtraDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Extended details class containing information pro...
Definition: Tau1P3PExtraDetails.h:36
ElementLinkVector::ELVIterator
Definition: AthLinks/ElementLinkVector.h:110
Analysis::TauJet::setNumberOfTracks
void setNumberOfTracks(unsigned int numberOfTracks)
Set number of tracks @ param numberOfTracks Number of tracks.
Analysis::TauJet::m_author
std::bitset< 8 > m_author
Allow more than one author, TauJetParameters::Author used as index.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:640
Analysis::TauJet::seedTrk_trackLinkVector
ElementLinkVector< Rec::TrackParticleContainer > & seedTrk_trackLinkVector()
Get seed trk track link vector.
Analysis::TauJet::hasMergedToCommonDetails
bool hasMergedToCommonDetails() const
Overloading MergeToCommonDetails function.
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
Analysis::TauJet::isConversionTrack
bool isConversionTrack(unsigned int i) const
Check if track is a conversion track.
Analysis::TauJet::nDetails
int nDetails() const
number of details objects in this TauJet
Definition: TauJet.cxx:414
Analysis::TauJet::detailElementLink
const ElementLink< TauDetailsContainer > detailElementLink(int i) const
Get TauDetails ElementLink by index
Definition: TauJet.cxx:400
Analysis::TauJet::conversionTrackLinkVector
ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector()
Get conversion track element link vector.
Analysis::TauJet::m_tauDetails
ElementLinkVector< TauDetailsContainer > m_tauDetails
Vector containing all details.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:628
Analysis::TauJet::cellClusterLink
const ElementLink< CaloClusterContainer > cellClusterLink() const
ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster i...
ParticleJetParams::Author
Author
Definition: ParticleJetParamDefs.h:33
Analysis::TauJet::addConversionTrack
void addConversionTrack(const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
Add a conversion track.
Analysis::TauJet::m_conversionTracks
ElementLinkVector< Rec::TrackParticleContainer > m_conversionTracks
Conversion tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:619
Analysis::TauJet::printOn
void printOn(stream &o) const
Printing function.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:663
ParticleImpl.h
Analysis::TauJet::setAuthor
void setAuthor(const TauJetParameters ::Author &author)
set the author flag to true
Analysis::TauJet::m_tauHLVStorage
std::vector< std::pair< TauJetParameters::TauCalibType, CLHEP::HepLorentzVector > > m_tauHLVStorage
HLV storage.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:655
PanTau::PanTauSeed
Definition: PanTauSeed.h:24
Analysis::TauJet::m_cluster
ElementLink< CaloClusterContainer > m_cluster
Calo cluster.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:631
TrackParticleContainer.h
Analysis::TauJet::tauDetailLinkVector
ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector()