ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
Analysis::TauJet Class Referenceabstract

Object for taus common for ESD and AOD. More...

#include <TauJet.h>

Inheritance diagram for Analysis::TauJet:
Collaboration diagram for Analysis::TauJet:

Public Types

typedef ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM, ParticleEvent::Baseself_type
 publish the type of the base class (ie: 'traits-itize' it) More...
 
enum  Kind {
  P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE,
  UNKNOWN
}
 
navigation stuff
typedef ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiMTauJetImpl_t
 
typedef TauJetImpl_t::navigable_type navigable_type
 
typedef TauJetImpl_t::momentum_type momentum_type
 
typedef TauJetImpl_t::particle_type particle_type
 

Public Member Functions

const navigable_typenavigableBase () const
 access to underlying base type (INavigable-like) More...
 
navigable_typenavigableBase ()
 access to underlying base type (INavigable-like) More...
 
const momentum_typemomentumBase () const
 access to underlying base type (I4Momentum-like) More...
 
momentum_typemomentumBase ()
 access to underlying base type (I4Momentum-like) More...
 
const particle_typeparticleBase () const
 access to underlying base type (IParticle-like) More...
 
particle_typeparticleBase ()
 access to underlying base type (IParticle-like) More...
 
virtual AthenaBarCode_t getAthenaBarCode () const
 
virtual AthenaBarCodeVersion_t getVersion () const
 
virtual double px () const =0
 x component of momentum More...
 
virtual double py () const =0
 y component of momentum More...
 
virtual double pz () const =0
 z component of momentum More...
 
virtual double m () const =0
 mass More...
 
virtual double m2 () const =0
 mass squared More...
 
virtual double p () const =0
 momentum magnitude More...
 
virtual double p2 () const =0
 square of momentum magnitude More...
 
virtual double rapidity () const =0
 rapidity More...
 
virtual double eta () const =0
 pseudo rapidity More...
 
virtual double phi () const =0
 phi in [-pi,pi[ More...
 
virtual double e () const =0
 energy More...
 
virtual double et () const =0
 transverse energy defined to be e*sin(theta) More...
 
virtual double pt () const =0
 transverse momentum More...
 
virtual double iPt () const =0
 inverse of transverse momentum More...
 
virtual double cosPhi () const =0
 cosinus phi More...
 
virtual double sinPhi () const =0
 sinus phi More...
 
virtual double tanTh () const =0
 tan theta More...
 
virtual double cosTh () const =0
 cosinus theta More...
 
virtual double sinTh () const =0
 sinus theta More...
 
virtual double cotTh () const =0
 cottan theta More...
 
virtual CLHEP::HepLorentzVector hlv () const =0
 CLHEP HepLorentzVector. More...
 
virtual const I4MomentumErrorerrors () const =0
 Access to errors, if available; returns 0 if no errors. More...
 
virtual Kind kind () const =0
 tells what kind of P4XYZT this is More...
 
virtual ParticleDataType::DataType dataType () const =0
 Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}
More...
 
virtual const Trk::RecVertexorigin () const =0
 Return a RecVertex corresponding to particle Origin
More...
 
virtual const ElementLink< VxContainer > & originLink () const =0
 Return an ElementLink corresponding to particle's Origin. More...
 
virtual bool hasCharge () const =0
 method to check if charge information is available More...
 
virtual ChargeType charge () const =0
 returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface
More...
 
virtual bool hasPdgId () const =0
 method to check if particle id information is available More...
 
virtual int pdgId () const =0
 Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h
More...
 
virtual void set4Mom (const I4Momentum &p4)
 set 4Momentum (will throw exception if cannot be implemented) More...
 
virtual void set4Mom (const I4Momentum *const p4)
 set 4Momentum (will throw exception if cannot be implemented) More...
 
virtual void set4Mom (const CLHEP::HepLorentzVector &hlv)
 set 4Momentum (will throw exception if cannot be implemented) More...
 
virtual void set_dataType (ParticleDataType::DataType x)
 
virtual void set_charge (ChargeType x)
 
virtual void set_pdgId (int x)
 
virtual void set_origin (const VxContainer *theContainer, int index)
 
virtual void set_origin (const VxContainer *theContainer, const Trk::VxCandidate *vertex)
 
void set_origin (const ElementLink< VxContainer > &origin)
 
AthenaBarCode_t getAthenaBarCode () const
 
void setAthenaBarCode (AthenaBarCode_t)
 
bool hasSameAthenaBarCode (const IAthenaBarCode &) const
 
bool hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &) const
 
AthenaBarCodeVersion_t getVersion () const
 
void newVersion ()
 
void setVersion (AthenaBarCodeVersion_t newversion)
 
virtual double px () const
 x component of momentum More...
 
virtual double py () const
 y component of momentum More...
 
virtual double pz () const
 z component of momentum More...
 
virtual double m () const
 mass More...
 
virtual double m2 () const
 mass squared More...
 
virtual double p () const
 mass momentum magnitude More...
 
virtual double p2 () const
 square of momentum magnitude More...
 
virtual double rapidity () const
 rapidity More...
 
virtual double eta () const
 pseudo rapidity More...
 
virtual double phi () const
 phi in [-pi,pi[ More...
 
virtual double e () const
 energy More...
 
virtual double et () const
 transverse energy defined to be e*sin(theta) More...
 
virtual double pt () const
 transverse momentum More...
 
virtual double iPt () const
 inverse of transverse momentum More...
 
virtual double cosPhi () const
 cosinus phi More...
 
virtual double sinPhi () const
 sinus phi More...
 
virtual double tanTh () const
 tan theta More...
 
virtual double cosTh () const
 cosinus theta More...
 
virtual double sinTh () const
 sinus theta More...
 
virtual double cotTh () const
 cottan theta More...
 
virtual CLHEP::HepLorentzVector hlv () const
 CLHEP HepLorentzVector. More...
 
virtual const I4MomentumErrorerrors () const
 Access to errors, if available; returns 0 if no errors. More...
 
virtual I4Momentum::Kind kind () const
 add Kind which tells what kind (P4XYZ) the underlying implementation has More...
 
virtual std::ostream & dump (std::ostream &out) const
 Print I4Momentum content. More...
 
virtual ParticleDataType::DataType dataType () const
 Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}
More...
 
virtual const Trk::RecVertexorigin () const
 Return a RecVertex corresponding to particle Origin
More...
 
virtual const ElementLink< VxContainer > & originLink () const
 Return an ElementLink corresponding to particle's Origin. More...
 
virtual bool hasCharge () const
 method to check if charge information is available More...
 
virtual ChargeType charge () const
 returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface
More...
 
virtual bool hasPdgId () const
 method to check if particle id information is available More...
 
virtual int pdgId () const
 Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h
More...
 
Navigation methods
virtual void fillToken (INavigationToken &thisToken) const
 INavigable interface, fill constituents (Jet,CaloCluster,CaloCell) More...
 
virtual void fillToken (INavigationToken &thisToken, const std::any &) const
 INavigable interface, fill constituents (Jet,CaloCluster,CaloCell) More...
 
double parameter (TauJetParameters ::Detail detail) const
 dummy Parameter accessors, for analysis code backward compatibility More...
 
Accessors for calorimeter info
const CaloClustercluster () const
 seed CaloCluster, DEPRECATED as of release 13 More...
 
const ElementLink< CaloClusterContainerclusterLink () const
 ElementLink to seed CaloCluster, DEPRECATED as of release 13 More...
 
ElementLink< CaloClusterContainer > & clusterLink ()
 ElementLink to seed CaloCluster (const) DEPRECATED as of release 13 More...
 
void setCluster (const CaloClusterContainer *cont, const CaloCluster *clust)
 set the CaloCluster as the seed of TauJet, DEPRECATED as of release 13 More...
 
void setClusterLink (const ElementLink< CaloClusterContainer > &x)
 set ElementLink of the CaloCluster seed of TauJet DEPRECATED as of release 13 More...
 
const CaloClustercellCluster () const
 cell CaloCluster, might be NULL the ID variables are calculated from this cluster if its not empty More...
 
const ElementLink< CaloClusterContainercellClusterLink () const
 ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster if its not empty More...
 
ElementLink< CaloClusterContainer > & cellClusterLink ()
 ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster if its not empty More...
 
void setCellCluster (const CaloClusterContainer *cont, const CaloCluster *clust)
 set the CaloCluster as the seed of TauJet More...
 
void setCellClusterLink (const ElementLink< CaloClusterContainer > &x)
 set ElementLink of the CaloCluster seed of TauJet More...
 
Jet accessors
const Jetjet () const
 seed Jet, might be NULL if not seeded from a Jet More...
 
const ElementLink< JetCollectionjetLink () const
 ElementLink to seed Jet, might be invalid if not seeded from a Jet More...
 
ElementLink< JetCollection > & jetLink ()
 ElementLink to seed Jet, might be invalid if not seeded from a Jet More...
 
void setJet (const JetCollection *cont, const Jet *clust)
 set the Jet as the seed to the TauJet More...
 
void setJetLink (const ElementLink< JetCollection > &x)
 set the ElementLink to the seed Jet More...
 
Accessors for tracking info
const Rec ::TrackParticle * track (unsigned int i) const
 Tracks associated to Tau candidate. More...
 
unsigned int numTrack () const
 number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()! More...
 
const ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector () const
 Get track link vector. More...
 
ElementLinkVector< Rec::TrackParticleContainer > & trackLinkVector ()
 Get track link vector. More...
 
void addTrack (const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
 Add a track to the TauJet. More...
 
void clearTracks ()
 Remove all associated track from TauJet. More...
 
Accessors for conversion tracks
const Rec ::TrackParticle * conversionTrack (unsigned int i) const
 Get a conversion track. More...
 
unsigned int numConversionTrack () const
 Number of conversion tracks. More...
 
const ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector () const
 Get conversion track element link vector (const) More...
 
ElementLinkVector< Rec::TrackParticleContainer > & conversionTrackLinkVector ()
 Get conversion track element link vector. More...
 
void addConversionTrack (const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
 Add a conversion track. More...
 
void clearConversionTracks ()
 Remove all associated track from TauJet. More...
 
Accessors for seed calo tracking info
const Rec ::TrackParticle * seedCalo_track (unsigned int i) const
 Seed Calo Tracks associated to Tau candidate. More...
 
unsigned int seedCalo_numTrack () const
 number of seed calo Tracks associated to Tau candidate, More...
 
const ElementLinkVector< Rec::TrackParticleContainer > & seedCalo_trackLinkVector () const
 Get seed calo track link vector. More...
 
ElementLinkVector< Rec::TrackParticleContainer > & seedCalo_trackLinkVector ()
 Get seed calo track link vector. More...
 
void addSeedCalo_track (const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
 Add a seed calo track to the TauJet. More...
 
void clearSeedCalo_tracks ()
 Remove all seed calo associated tracks from TauJet. More...
 
Accessors for seed track tracking info
const Rec ::TrackParticle * seedTrk_track (unsigned int i) const
 Seed Track Tracks associated to Tau candidate. More...
 
unsigned int seedTrk_numTrack () const
 number of seed trk Tracks associated to Tau candidate, More...
 
const ElementLinkVector< Rec::TrackParticleContainer > & seedTrk_trackLinkVector () const
 Get seed trk track link vector. More...
 
ElementLinkVector< Rec::TrackParticleContainer > & seedTrk_trackLinkVector ()
 Get seed trk track link vector. More...
 
void addSeedTrk_track (const Rec::TrackParticleContainer *cont, const Rec::TrackParticle *track)
 Add a seed trk track to the TauJet. More...
 
void clearSeedTrk_tracks ()
 Remove all seed trk associated tracks from TauJet. More...
 
int nProng () const
 Number of prongs. More...
 
bool isConversionTrack (unsigned int i) const
 Check if track is a conversion track. More...
 
Accessors for identification info
const TauPIDtauID () const
 Get TauPID object containing discriminant values. More...
 
TauPIDtauID ()
 Get TauPID object containing discriminant values. More...
 
void setTauID (TauPID *tauID)
 Set TauPID object that contains discriminant values. More...
 
Details accessors
void addDetails (const TauDetailsContainer *container, TauDetails *details)
 Add new tau detail instance. More...
 
void removeDetails (const std::string &name, const std::string &className="")
 Remove all tau details object with matching name. More...
 
void removeDetails (int i)
 Remove tau details class by index. More...
 
template<typename T >
const T * details (const std::string &name) const
 Get first details object stored in SG collection with matching name. More...
 
template<typename T >
const T * details () const
 Get the first details object matching requested type or return NULL. More...
 
const TauDetailsdetail (const std::string &className, const std::string &name="") const
 first TauDetails object of type className and possibly stored with SG key name. More...
 
const TauDetailsdetail (int i) const
 Get TauDetails object by index More...
 
const ElementLink< TauDetailsContainerdetailElementLink (int i) const
 Get TauDetails ElementLink by index More...
 
std::string detailName (int i) const
 Get classname of TauDetails by index. More...
 
int nDetails () const
 number of details objects in this TauJet More...
 
void CleanDetailsForAOD ()
 clean details for AOD Removes extra details and any invalid elementlinks from details list More...
 
ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector ()
 
const ElementLinkVector< TauDetailsContainer > & tauDetailLinkVector () const
 
Author functions
TauJetParameters ::Author author () const
 Author of this object (DO NOT USE! only for backward compatibility) More...
 
bool hasAuthor (const TauJetParameters ::Author &author) const
 check if this object has Author author (can be more than one) More...
 
void setAuthor (const TauJetParameters ::Author &author)
 set the author flag to true More...
 
void clearAuthor (const TauJetParameters ::Author &author)
 clear the author flag to value false More...
 
Number of tracks accessors

Independent property nothing to do with the actual number of element links to tracks

to be used by atlfast and the trigger, to get number of element links of associated tracks use numTrack method

unsigned int numberOfTracks () const
 Get number of tracks. More...
 
void setNumberOfTracks (unsigned int numberOfTracks)
 Set number of tracks @ param numberOfTracks Number of tracks. More...
 
ROI Word accessors
void setROIWord (unsigned int RoiWord)
 Set ROI Word (trigger purposes) More...
 
unsigned int ROIWord () const
 Retrieve ROI Word (trigger purposes) More...
 
4-mom modifiers
void setE (double ene)
 set energy data member More...
 
void setEta (double eta)
 set eta data member More...
 
void setPhi (double phi)
 set phi data member More...
 
void setM (double m)
 set mass data member More...
 
Merge to common details functions
void MergeToCommonDetails (TauDetailsContainer *tauDetailsContainer=0, TauDetailsContainer *tauExtraDetailsContainer=0)
 Merge Tau[1P3P|Rec](Extra)Details to TauCommon(Extra)Details. More...
 
bool hasMergedToCommonDetails () const
 Overloading MergeToCommonDetails function. More...
 
void setHasMergedToCommonDetails (bool state)
 Set state Merge to common details state. More...
 
std::string toString () const
 Uses printOn to make a string of the TauDetails. More...
 
AthenaBarCode_t getAthenaBarCode () const
 
void setAthenaBarCode (AthenaBarCode_t)
 
bool hasSameAthenaBarCode (const IAthenaBarCode &) const
 
bool hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &) const
 
AthenaBarCodeVersion_t getVersion () const
 
void newVersion ()
 
void setVersion (AthenaBarCodeVersion_t newversion)
 
virtual double px () const
 x component of momentum More...
 
virtual double py () const
 y component of momentum More...
 
virtual double pz () const
 z component of momentum More...
 
virtual double m () const
 mass More...
 
virtual double m2 () const
 mass squared More...
 
virtual double p () const
 mass momentum magnitude More...
 
virtual double p2 () const
 square of momentum magnitude More...
 
virtual double rapidity () const
 rapidity More...
 
virtual double eta () const
 pseudo rapidity More...
 
virtual double phi () const
 phi in [-pi,pi[ More...
 
virtual double e () const
 energy More...
 
virtual double et () const
 transverse energy defined to be e*sin(theta) More...
 
virtual double pt () const
 transverse momentum More...
 
virtual double iPt () const
 inverse of transverse momentum More...
 
virtual double cosPhi () const
 cosinus phi More...
 
virtual double sinPhi () const
 sinus phi More...
 
virtual double tanTh () const
 tan theta More...
 
virtual double cosTh () const
 cosinus theta More...
 
virtual double sinTh () const
 sinus theta More...
 
virtual double cotTh () const
 cottan theta More...
 
virtual CLHEP::HepLorentzVector hlv () const
 CLHEP HepLorentzVector. More...
 
virtual const I4MomentumErrorerrors () const
 Access to errors, if available; returns 0 if no errors. More...
 
virtual I4Momentum::Kind kind () const
 add Kind which tells what kind (P4XYZ) the underlying implementation has More...
 
virtual std::ostream & dump (std::ostream &out) const
 Print I4Momentum content. More...
 
virtual ParticleDataType::DataType dataType () const
 Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}
More...
 
virtual const Trk::RecVertexorigin () const
 Return a RecVertex corresponding to particle Origin
More...
 
virtual const ElementLink< VxContainer > & originLink () const
 Return an ElementLink corresponding to particle's Origin. More...
 
virtual bool hasCharge () const
 method to check if charge information is available More...
 
virtual ChargeType charge () const
 returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface
More...
 
virtual bool hasPdgId () const
 method to check if particle id information is available More...
 
virtual int pdgId () const
 Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h
More...
 

Static Public Attributes

static const AthenaBarCode_t UNDEFINEDBARCODE = (AthenaBarCode_t)(-1)
 
static const AthenaBarCode_t UNDEFINEDVERSION = UNDEFINEDBARCODE
 

Private Member Functions

Copy to common details functions
void CopyToCommonDetails (const Tau1P3PDetails *tau1P3PDetails, TauCommonDetails *tauCommonDetails)
 Converts a Tau1P3PDetails to a TauCommonDetails. More...
 
void CopyToCommonDetails (const TauRecDetails *tauRecDetails, TauCommonDetails *tauCommonDetails)
 Converts a TauRecDetails to a TauCommonDetails. More...
 
void CopyToCommonDetails (const Tau1P3PExtraDetails *tau1P3PExtraDetails, TauCommonExtraDetails *tauCommonExtraDetails)
 Converts a Tau1P3PExtraDetails to a TauCommonExtraDetails. More...
 
void CopyToCommonDetails (const TauRecExtraDetails *tauRecExtraDetails, TauCommonExtraDetails *tauCommonExtraDetails)
 Converts a TauRecExtraDetails to a TauCommonExtraDetails. More...
 

Private Attributes

ElementLinkVector< Rec::TrackParticleContainerm_tracks
 Tracks. More...
 
ElementLinkVector< Rec::TrackParticleContainerm_conversionTracks
 Conversion tracks. More...
 
ElementLinkVector< Rec::TrackParticleContainerm_seedCalo_tracks
 Seed Calo Tracks. More...
 
ElementLinkVector< Rec::TrackParticleContainerm_seedTrk_tracks
 Seed Trk Tracks. More...
 
ElementLinkVector< TauDetailsContainerm_tauDetails
 Vector containing all details. More...
 
ElementLink< CaloClusterContainerm_cluster
 Calo cluster. More...
 
ElementLink< CaloClusterContainerm_cellCluster
 Calo cell. More...
 
ElementLink< JetCollectionm_jet
 Jets. More...
 
std::bitset< 8 > m_author
 Allow more than one author, TauJetParameters::Author used as index. More...
 
unsigned int m_numberOfTracks
 Number of tracks. More...
 
TauPIDm_tauID
 
unsigned int m_roiWord
 ROI word. More...
 
bool m_hasMergedToCommonDetails
 True if MergeToCommonDetails has been called. More...
 
std::vector< std::pair< TauJetParameters::TauCalibType, CLHEP::HepLorentzVector > > m_tauHLVStorage
 HLV storage. More...
 
std::vector< PanTau::PanTauSeed * > m_listOfPanTauSeeds
 List of associated pantau seeds
More...
 
::Analysis::TauJetNavigation m_nav
 The navigable part. More...
 
::P4ImplEEtaPhiM m_mom
 The 4-momentum part. More...
 
ParticleEvent::Base m_part
 The particle-id part. More...
 

TauJet Constructors, destructor, assignment operator

 TauJet ()
 Default Constructor. More...
 
 TauJet (TauJetParameters ::Author author)
 Constructor. More...
 
 TauJet (const TauJet &rhs)
 Copy Constructor. More...
 
virtual ~TauJet ()
 Virtual Destructor. More...
 
TauJetoperator= (const TauJet &rhs)
 assignment operator More...
 
bool operator== (const TauJet &rhs) const
 Equality operator. More...
 
bool operator!= (const TauJet &rhs) const
 Inequality operator. More...
 
std::ostream & operator<< (std::ostream &o, const TauJet &tau)
 Printing operator. More...
 
std::ostream & operator<< (std::ostream &o, const TauJet *tau)
 Printing operator. More...
 
MsgStream & operator<< (MsgStream &o, const TauJet &tau)
 Printing operator. More...
 
MsgStream & operator<< (MsgStream &o, const TauJet *tau)
 Printing operator. More...
 

HEP Lorentz Vector storage

void storeHLV (TauJetParameters ::TauCalibType type, CLHEP ::HepLorentzVector hlv)
 
CLHEP::HepLorentzVector getHLV (TauJetParameters ::TauCalibType type) const
 
void clearHLV ()
 
const std::vector< PanTau::PanTauSeed * > & getListOfPanTauSeeds () const
 Get the list of links to PanTauSeed objects that were created for this tauJet
More...
 
void addPanTauSeed (PanTau::PanTauSeed *pantauSeed)
 add a new PanTauSeed to this tau
More...
 
template<class stream >
void printOn (stream &o) const
 Printing function. More...
 

Detailed Description

Object for taus common for ESD and AOD.

Based on design of Photon and Electron and on previously existing code of tauObject and TauJet

Definition at line 57 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

Member Typedef Documentation

◆ momentum_type

Definition at line 74 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ navigable_type

Definition at line 73 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ particle_type

Definition at line 75 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ self_type

publish the type of the base class (ie: 'traits-itize' it)

Definition at line 62 of file ParticleImpl.h.

◆ TauJetImpl_t

Definition at line 72 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

Member Enumeration Documentation

◆ Kind

enum I4Momentum::Kind
inherited
Enumerator
P4EETAPHIM 
P4IPTCOTTHPHIM 
P4PTETAPHIM 
P4PXPYPZE 
UNKNOWN 

Definition at line 33 of file I4Momentum.h.

Constructor & Destructor Documentation

◆ TauJet() [1/3]

Analysis::TauJet::TauJet ( )

Default Constructor.

Definition at line 41 of file TauJet.cxx.

41  :
43  INavigable (),
44  I4Momentum (),
46  TauJetImpl_t(),
49  m_tauID(0),
50  m_roiWord(0),
52  {
53 
54 
55  }

◆ TauJet() [2/3]

Analysis::TauJet::TauJet ( TauJetParameters ::Author  author)

Constructor.

Definition at line 58 of file TauJet.cxx.

58  :
60  INavigable (),
61  I4Momentum (),
63  TauJetImpl_t(),
66  m_tauID(0),
67  m_roiWord(0),
69  {
70 
71  }

◆ TauJet() [3/3]

Analysis::TauJet::TauJet ( const TauJet rhs)

Copy Constructor.

Parameters
rhsTauJet to copy

Definition at line 74 of file TauJet.cxx.

74  :
75  IAthenaBarCode(rhs),
76  INavigable (rhs),
77  I4Momentum (rhs),
78  INavigable4Momentum (rhs),
79  TauJetImpl_t(rhs),
80  m_tracks(rhs.m_tracks),
81  m_conversionTracks(rhs.m_conversionTracks),
82  m_seedCalo_tracks(rhs.m_seedCalo_tracks),
83  m_seedTrk_tracks(rhs.m_seedTrk_tracks),
84  m_tauDetails(rhs.m_tauDetails),
85  m_cluster(rhs.m_cluster),
86  m_cellCluster(rhs.m_cellCluster),
87  m_jet(rhs.m_jet),
88  m_author(rhs.m_author),
89  m_numberOfTracks(rhs.m_numberOfTracks),
90  m_tauID(0),
91  m_roiWord(rhs.m_roiWord),
92  m_hasMergedToCommonDetails(rhs.m_hasMergedToCommonDetails),
93  m_tauHLVStorage(rhs.m_tauHLVStorage)
94  {
95  if(rhs.m_tauID) {
96  m_tauID = new TauPID(*rhs.m_tauID);
97  }
98 
99  }

◆ ~TauJet()

Analysis::TauJet::~TauJet ( )
virtual

Virtual Destructor.

Definition at line 162 of file TauJet.cxx.

163  {
164  delete m_tauID; m_tauID = 0;
165  }

Member Function Documentation

◆ addConversionTrack()

void Analysis::TauJet::addConversionTrack ( const Rec::TrackParticleContainer cont,
const Rec::TrackParticle track 
)

Add a conversion track.

Parameters
contcontainer to add to
tracktrack to add

◆ addDetails()

void Analysis::TauJet::addDetails ( const TauDetailsContainer container,
TauDetails details 
)

Add new tau detail instance.

Parameters
containerContainer to store details in
detailsDetails instance to add

◆ addPanTauSeed()

void Analysis::TauJet::addPanTauSeed ( PanTau::PanTauSeed pantauSeed)

add a new PanTauSeed to this tau

◆ addSeedCalo_track()

void Analysis::TauJet::addSeedCalo_track ( const Rec::TrackParticleContainer cont,
const Rec::TrackParticle track 
)

Add a seed calo track to the TauJet.

Parameters
contcontainer to add to
tracktrack to add

◆ addSeedTrk_track()

void Analysis::TauJet::addSeedTrk_track ( const Rec::TrackParticleContainer cont,
const Rec::TrackParticle track 
)

Add a seed trk track to the TauJet.

Parameters
contcontainer to add to
tracktrack to add

◆ addTrack()

void Analysis::TauJet::addTrack ( const Rec::TrackParticleContainer cont,
const Rec::TrackParticle track 
)

Add a track to the TauJet.

Parameters
contcontainer to add to
tracktrack to add

◆ author()

TauJetParameters :: Author Analysis::TauJet::author ( ) const

Author of this object (DO NOT USE! only for backward compatibility)

◆ cellCluster()

const CaloCluster* Analysis::TauJet::cellCluster ( ) const

cell CaloCluster, might be NULL the ID variables are calculated from this cluster if its not empty

◆ cellClusterLink() [1/2]

ElementLink<CaloClusterContainer>& Analysis::TauJet::cellClusterLink ( )

ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster if its not empty

◆ cellClusterLink() [2/2]

const ElementLink<CaloClusterContainer> Analysis::TauJet::cellClusterLink ( ) const

ElementLink to cell CaloCluster, might be invalid the ID variables are calculated from this cluster if its not empty

◆ charge() [1/2]

returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface

Definition at line 248 of file ParticleImpl.h.

719 {
720  return m_part.charge();
721 }

◆ charge() [2/2]

virtual ChargeType IParticle::charge ( ) const
pure virtualinherited

returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface

Implemented in ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Analysis::ParticleShallowClone, and ParticleBase.

◆ CleanDetailsForAOD()

void Analysis::TauJet::CleanDetailsForAOD ( )

clean details for AOD Removes extra details and any invalid elementlinks from details list

Definition at line 419 of file TauJet.cxx.

420  {
421  //remove invalid details
422  //sroe:I couldn't work out the type here, so use an 'auto' argument
423  auto isInvalid = [](const auto t){return not t.isValid();};
424  auto validEnd = std::remove_if(m_tauDetails.begin(), m_tauDetails.end(), isInvalid);
425  m_tauDetails.erase(validEnd, m_tauDetails.end());
426  //
427  //remove nullptrs before next step
428  auto goodPointerEnd = std::remove(m_tauDetails.begin(), m_tauDetails.end(), nullptr);
429  m_tauDetails.erase(goodPointerEnd, m_tauDetails.end());
430  //remove pointers which cast to details
431  auto castsToDetail = [](const auto t){
432  const TauDetails* detail = * t;
433  auto isNull = (detail == nullptr);
434  auto castToCommon = dynamic_cast<const TauCommonExtraDetails*>(detail);
435  auto castToRec = dynamic_cast<const TauRecExtraDetails*>(detail);
436  auto castTo1P3P = dynamic_cast<const Tau1P3PExtraDetails*>(detail);
437  //rely on pointer to bool conversion
438  return (isNull or castToCommon or castToRec or castTo1P3P);
439  };
440  auto detailPointerEnd = std::remove_if(m_tauDetails.begin(), m_tauDetails.end(), castsToDetail);
441  m_tauDetails.erase(detailPointerEnd, m_tauDetails.end());
442  }

◆ clearAuthor()

void Analysis::TauJet::clearAuthor ( const TauJetParameters ::Author &  author)

clear the author flag to value false

Parameters
authorAuthor to clear

◆ clearConversionTracks()

void Analysis::TauJet::clearConversionTracks ( )

Remove all associated track from TauJet.

◆ clearHLV()

void Analysis::TauJet::clearHLV ( )

Definition at line 590 of file TauJet.cxx.

591  {
592  m_tauHLVStorage.clear();
593  }

◆ clearSeedCalo_tracks()

void Analysis::TauJet::clearSeedCalo_tracks ( )

Remove all seed calo associated tracks from TauJet.

◆ clearSeedTrk_tracks()

void Analysis::TauJet::clearSeedTrk_tracks ( )

Remove all seed trk associated tracks from TauJet.

◆ clearTracks()

void Analysis::TauJet::clearTracks ( )

Remove all associated track from TauJet.

◆ cluster()

const CaloCluster* Analysis::TauJet::cluster ( ) const

seed CaloCluster, DEPRECATED as of release 13

◆ clusterLink() [1/2]

ElementLink<CaloClusterContainer>& Analysis::TauJet::clusterLink ( )

ElementLink to seed CaloCluster (const) DEPRECATED as of release 13

◆ clusterLink() [2/2]

const ElementLink<CaloClusterContainer> Analysis::TauJet::clusterLink ( ) const

ElementLink to seed CaloCluster, DEPRECATED as of release 13

◆ conversionTrack()

const Rec :: TrackParticle* Analysis::TauJet::conversionTrack ( unsigned int  i) const

Get a conversion track.

Parameters
iId of track to access
Returns
tau candidate conversion track, 0 otherwise

◆ conversionTrackLinkVector() [1/2]

ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::conversionTrackLinkVector ( )

Get conversion track element link vector.

Returns
conversion track element link vector

◆ conversionTrackLinkVector() [2/2]

const ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::conversionTrackLinkVector ( ) const

Get conversion track element link vector (const)

Returns
conversion track element link vector

◆ CopyToCommonDetails() [1/4]

void Analysis::TauJet::CopyToCommonDetails ( const Tau1P3PDetails tau1P3PDetails,
TauCommonDetails tauCommonDetails 
)
private

Converts a Tau1P3PDetails to a TauCommonDetails.

Parameters
tau1P3PDetails
tauCommonDetails

Definition at line 444 of file TauJet.cxx.

447  {
448  if((tau1P3PDetails==0) ||(tauCommonDetails==0)) return;
449  tauCommonDetails->m_ipZ0SinThetaSigLeadTrk =
450  tau1P3PDetails->m_z0SinThetaSig;
451  tauCommonDetails->m_ipSigLeadTrk = tau1P3PDetails->m_signD0Trk3P;
452  tauCommonDetails->m_massTrkSys = tau1P3PDetails->m_massTrk3P;
453  tauCommonDetails->m_trkWidth2 = tau1P3PDetails->m_rWidth2Trk3P;
454  tauCommonDetails->m_trFlightPathSig =
455  tau1P3PDetails->m_trFlightPathSig;
456  tauCommonDetails->m_etEflow = tau1P3PDetails->m_etEflow;
457  tauCommonDetails->m_seedTrk_nStrip = tau1P3PDetails->m_numStripCells;
458  tauCommonDetails->m_seedTrk_stripWidth2 =
459  tau1P3PDetails->m_stripWidth2;
460  tauCommonDetails->m_seedTrk_EMRadius = tau1P3PDetails->m_emRadius;
461  tauCommonDetails->m_seedTrk_isolFrac = tau1P3PDetails->m_ET12Frac;
462  tauCommonDetails->m_seedTrk_etIsolHad = tau1P3PDetails->m_etIsolHAD;
463  tauCommonDetails->m_seedTrk_etIsolEM = tau1P3PDetails->m_etIsolEM;
464  tauCommonDetails->m_seedTrk_etChrgHad = tau1P3PDetails->m_etChrgHAD;
465  tauCommonDetails->m_seedTrk_nOtherCoreTrk =
466  tau1P3PDetails->m_nAssocTracksCore;
467  tauCommonDetails->m_seedTrk_nIsolTrk =
468  tau1P3PDetails->m_nAssocTracksIsol;
469  tauCommonDetails->m_seedTrk_etChrgHadOverSumTrkPt =
470  tau1P3PDetails->m_etChrgHADoverPttot;
471  tauCommonDetails->m_seedTrk_isolFracWide =
472  tau1P3PDetails->m_etIsolFrac;
473  tauCommonDetails->m_seedTrk_etHadAtEMScale =
474  tau1P3PDetails->m_etHadAtEMScale;
475  tauCommonDetails->m_seedTrk_etEMAtEMScale =
476  tau1P3PDetails->m_etEMAtEMScale;
477  tauCommonDetails->m_seedTrk_etEMCL = tau1P3PDetails->m_etEMCL;
478  tauCommonDetails->m_seedTrk_etChrgEM = tau1P3PDetails->m_etChrgEM;
479  tauCommonDetails->m_seedTrk_etNeuEM = tau1P3PDetails->m_etNeuEM;
480  tauCommonDetails->m_seedTrk_etResNeuEM = tau1P3PDetails->m_etResNeuEM;
481  tauCommonDetails->m_seedTrk_sumEMCellEtOverLeadTrkPt =
482  tau1P3PDetails->m_sumEtCellsLArOverLeadTrackPt;
483  tauCommonDetails->m_seedTrk_hadLeakEt =
484  tau1P3PDetails->m_hadronicLeak;
485  tauCommonDetails->m_seedTrk_secMaxStripEt =
486  tau1P3PDetails->m_secondaryMax;
487 
488  tauCommonDetails->m_cellEM012Cluster=tau1P3PDetails->m_cellEM012Cluster;
489  tauCommonDetails->m_sumPi0Vec=tau1P3PDetails->m_sumEM;
490  if(tau1P3PDetails->m_secVertex) {
491  delete tauCommonDetails->m_secVtx;
492  tauCommonDetails->m_secVtx=new Trk::RecVertex(
493  *(tau1P3PDetails->m_secVertex));
494  }
495  tauCommonDetails->m_pi0=tau1P3PDetails->m_pi0;
496  tauCommonDetails->m_seedTrk_etChrgEM01Trk=
497  tau1P3PDetails->m_etChrgEM01Trk;
498  tauCommonDetails->m_seedTrk_etResChrgEMTrk=
499  tau1P3PDetails->m_etResChrgEMTrk;
500  }

◆ CopyToCommonDetails() [2/4]

void Analysis::TauJet::CopyToCommonDetails ( const Tau1P3PExtraDetails tau1P3PExtraDetails,
TauCommonExtraDetails tauCommonExtraDetails 
)
private

Converts a Tau1P3PExtraDetails to a TauCommonExtraDetails.

Parameters
tau1P3PExtraDetails
tauCommonExtraDetails

Definition at line 551 of file TauJet.cxx.

554  {
555  if((tau1P3PExtraDetails==0) ||(tauCommonExtraDetails==0)) return;
556  tauCommonExtraDetails->setSumPtTrk(tau1P3PExtraDetails->m_sumPTTracks);
557  tauCommonExtraDetails->m_closestEtaTrkVertCell=
558  tau1P3PExtraDetails->m_closestEtaTrkVertCell;
559  tauCommonExtraDetails->m_closestEtaTrkCell=
560  tau1P3PExtraDetails->m_closestEtaTrkCell;
561  tauCommonExtraDetails->m_closestPhiTrkVertCell=
562  tau1P3PExtraDetails->m_closestPhiTrkVertCell;
563  tauCommonExtraDetails->m_closestPhiTrkCell=
564  tau1P3PExtraDetails->m_closestPhiTrkCell;
565  tauCommonExtraDetails->m_etaTrkCaloSamp=
566  tau1P3PExtraDetails->m_etaTrackCaloSamp;
567  tauCommonExtraDetails->m_phiTrkCaloSamp=
568  tau1P3PExtraDetails->m_phiTrackCaloSamp;
569  }

◆ CopyToCommonDetails() [3/4]

void Analysis::TauJet::CopyToCommonDetails ( const TauRecDetails tauRecDetails,
TauCommonDetails tauCommonDetails 
)
private

Converts a TauRecDetails to a TauCommonDetails.

Parameters
tauRecDetails
tauCommonDetails

Definition at line 502 of file TauJet.cxx.

505  {
506  if((tauRecDetails==0) ||(tauCommonDetails==0)) return;
507 
508  tauCommonDetails->m_ipSigLeadLooseTrk =
509  tauRecDetails->m_ipSigLeadTrack;
510  tauCommonDetails->m_etOverPtLeadLooseTrk =
511  tauRecDetails->m_etOverPtLeadTrack;
512  tauCommonDetails->m_leadLooseTrkPt =
513  tauRecDetails->m_leadingTrackPT;
514  tauCommonDetails->m_chrgLooseTrk =
515  tauRecDetails->m_chargeLooseTracks;
516  tauCommonDetails->m_seedCalo_nIsolLooseTrk =
517  tauRecDetails->m_nTracksdrdR;
518  tauCommonDetails->m_seedCalo_EMRadius = tauRecDetails->m_emRadius;
519  tauCommonDetails->m_seedCalo_hadRadius = tauRecDetails->m_hadRadius;
520  tauCommonDetails->m_seedCalo_etEMAtEMScale =
521  tauRecDetails->m_sumEmCellEt;
522  tauCommonDetails->m_seedCalo_etHadAtEMScale =
523  tauRecDetails->m_sumHadCellEt;
524  tauCommonDetails->m_seedCalo_isolFrac = tauRecDetails->m_ET12Frac;
525  tauCommonDetails->m_seedCalo_centFrac =
526  tauRecDetails->m_centralityFraction;
527  tauCommonDetails->m_seedCalo_stripWidth2 =
528  tauRecDetails->m_stripWidth2;
529  tauCommonDetails->m_seedCalo_nStrip = tauRecDetails->m_numStripCells;
530  tauCommonDetails->m_seedCalo_etEMCalib = tauRecDetails->m_etEMCalib;
531  tauCommonDetails->m_seedCalo_etHadCalib = tauRecDetails->m_etHadCalib;
532  tauCommonDetails->m_seedCalo_eta = tauRecDetails->m_etaCalo;
533  tauCommonDetails->m_seedCalo_phi = tauRecDetails->m_phiCalo;
534 
535  //Copy only if we don't have a tau1P3P seed
537  tauCommonDetails->m_sumPi0Vec=tauRecDetails->m_sumEM;
538  tauCommonDetails->m_trFlightPathSig =
539  tauRecDetails->m_trFlightPathSig;
540  }
541 
542  if(tauRecDetails->m_secVertex) {
543  delete tauCommonDetails->m_secVtx;
544  tauCommonDetails->m_secVtx =
545  new Trk::RecVertex(*(tauRecDetails->m_secVertex));
546  }
547  tauCommonDetails->m_looseTrk=
548  tauRecDetails->m_looseTracks;
549  }

◆ CopyToCommonDetails() [4/4]

void Analysis::TauJet::CopyToCommonDetails ( const TauRecExtraDetails tauRecExtraDetails,
TauCommonExtraDetails tauCommonExtraDetails 
)
private

Converts a TauRecExtraDetails to a TauCommonExtraDetails.

Parameters
tauRecExtraDetails
tauCommonExtraDetails

Definition at line 571 of file TauJet.cxx.

574  {
575  if((tauRecExtraDetails==0) ||(tauCommonExtraDetails==0)) return;
576  tauCommonExtraDetails->m_seedCalo_nEMCell=
577  tauRecExtraDetails->m_numEMCells;
578  tauCommonExtraDetails->m_seedCalo_stripEt=
579  tauRecExtraDetails->m_stripET;
580  tauCommonExtraDetails->m_seedCalo_EMCentFrac=
581  tauRecExtraDetails->m_emCentralityFraction;
582  tauCommonExtraDetails->m_seedCalo_sumCellEnergy=
583  tauRecExtraDetails->m_sumCellE;
584  tauCommonExtraDetails->m_seedCalo_sumEMCellEnergy=
585  tauRecExtraDetails->m_sumEMCellE;
586  tauCommonExtraDetails->m_sumPtLooseTrk=
587  tauRecExtraDetails->m_sumPTTracks;
588  }

◆ cosPhi() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::cosPhi
inlinevirtualinherited

cosinus phi

Definition at line 188 of file ParticleImpl.h.

575 {
576  return m_mom.cosPhi();
577 }

◆ cosPhi() [2/2]

virtual double I4Momentum::cosPhi ( ) const
pure virtualinherited

◆ cosTh() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::cosTh
inlinevirtualinherited

cosinus theta

Definition at line 200 of file ParticleImpl.h.

605 {
606  return m_mom.cosTh();
607 }

◆ cosTh() [2/2]

virtual double I4Momentum::cosTh ( ) const
pure virtualinherited

◆ cotTh() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::cotTh
inlinevirtualinherited

cottan theta

Definition at line 208 of file ParticleImpl.h.

625 {
626  return m_mom.cotTh();
627 }

◆ cotTh() [2/2]

virtual double I4Momentum::cotTh ( ) const
pure virtualinherited

◆ dataType() [1/2]

Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}

IParticle interface forwarding

Definition at line 230 of file ParticleImpl.h.

679 {
680  return m_part.dataType();
681 }

◆ dataType() [2/2]

virtual ParticleDataType::DataType IParticle::dataType ( ) const
pure virtualinherited

Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}

Implemented in ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Analysis::ParticleShallowClone, and ParticleBase.

◆ detail() [1/2]

const TauDetails * Analysis::TauJet::detail ( const std::string &  className,
const std::string &  name = "" 
) const

first TauDetails object of type className and possibly stored with SG key name.

Returns NULL if none match

Parameters
classNamename of class
nameStore gate name

Definition at line 379 of file TauJet.cxx.

381  {
382  size_t n = m_tauDetails.size();
383  for(size_t i = 0; i < n; i++) {
384  const TauDetails* detail = *m_tauDetails[i];
385  if(detail->className() == className &&
386  (name.empty() || m_tauDetails.elementDataID(i) == name))
387  return detail;
388  }
389  return 0;
390  }

◆ detail() [2/2]

const TauDetails * Analysis::TauJet::detail ( int  i) const

Get TauDetails object by index

Parameters
iindex (in the order they where inserted)

Definition at line 392 of file TauJet.cxx.

393  {
394  if(i >= 0 && i <(int)m_tauDetails.size())
395  return *m_tauDetails[i];
396  return 0;
397  }

◆ detailElementLink()

const ElementLink< TauDetailsContainer > Analysis::TauJet::detailElementLink ( int  i) const

Get TauDetails ElementLink by index

Parameters
iindex (in the order they where inserted)

Definition at line 400 of file TauJet.cxx.

401  {
402  if(i >= 0 && i <(int)m_tauDetails.size())
403  return m_tauDetails[i];
405  }

◆ detailName()

std::string Analysis::TauJet::detailName ( int  i) const

Get classname of TauDetails by index.

Parameters
iindex (in the order they where inserted)

Definition at line 407 of file TauJet.cxx.

408  {
409  if(i >= 0 && i <(int)m_tauDetails.size())
410  return m_tauDetails.elementDataID(i);
411  return "";
412  }

◆ details() [1/2]

template<typename T >
const T* Analysis::TauJet::details ( ) const

Get the first details object matching requested type or return NULL.

◆ details() [2/2]

template<typename T >
const T* Analysis::TauJet::details ( const std::string &  name) const

Get first details object stored in SG collection with matching name.

CAUTION: returns NULL if the first one happens to be the wrong type

Parameters
namestoregate name
Returns
details or NULL

◆ dump()

std::ostream & ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::dump ( std::ostream &  out) const
inlinevirtualinherited

Print I4Momentum content.

Implements I4Momentum.

Definition at line 221 of file ParticleImpl.h.

666 {
667  m_mom.dump ( out );
668  out << "\n";
669  m_part.dump( out );
670  return out;
671 }

◆ e() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::e
inlinevirtualinherited

energy

Definition at line 172 of file ParticleImpl.h.

535 {
536  return m_mom.e();
537 }

◆ e() [2/2]

virtual double I4Momentum::e ( ) const
pure virtualinherited

◆ errors() [1/2]

Access to errors, if available; returns 0 if no errors.

Definition at line 214 of file ParticleImpl.h.

646 {
647  return m_mom.errors();
648 }

◆ errors() [2/2]

virtual const I4MomentumError* I4Momentum::errors ( ) const
pure virtualinherited

◆ et() [1/2]

transverse energy defined to be e*sin(theta)

Definition at line 176 of file ParticleImpl.h.

545 {
546  return m_mom.et();
547 }

◆ et() [2/2]

virtual double I4Momentum::et ( ) const
pure virtualinherited

◆ eta() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::eta
inlinevirtualinherited

pseudo rapidity

Definition at line 164 of file ParticleImpl.h.

515 {
516  return m_mom.eta();
517 }

◆ eta() [2/2]

virtual double I4Momentum::eta ( ) const
pure virtualinherited

◆ fillToken() [1/2]

void Analysis::TauJet::fillToken ( INavigationToken thisToken) const
virtual

INavigable interface, fill constituents (Jet,CaloCluster,CaloCell)

Parameters
thisTokeNavigation Token

Reimplemented from ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >.

Definition at line 237 of file TauJet.cxx.

238  {
239  // Check if one requested for tracks
241  dynamic_cast<NavigationToken<Rec::TrackParticle>*>(&token);
242  if(trackToken) {
243  for(unsigned int i = 0; i <= numTrack(); ++i) {
244  const Rec::TrackParticle *track = this->track(i);
245  if(track)
246  trackToken->setObject(track);
247  }
248  return;
249  }
250  // Check if one requested for tracks with alternative token
252  dynamic_cast<NavigationToken<Rec::TrackParticle,double>*>(&token);
253  if(altTrackToken) {
254  for(unsigned int i = 0; i <= numTrack(); ++i) {
255  const Rec::TrackParticle *track = this->track(i);
256  if(track)
257  altTrackToken->setObject(track);
258  }
259  return;
260  }
261 
262  // Check if one requested for Jet
263  NavigationToken<Jet> *jetToken =
264  dynamic_cast<NavigationToken<Jet>*>(&token);
265  const Jet *jet = this->jet();
266  if(jetToken) {
267  if(jet != 0)
268  jetToken->setObject(jet);
269  return;
270  }
271  // Check if one requested for Jet with alternative token
272  NavigationToken<Jet, double> *altJetToken =
273  dynamic_cast< NavigationToken<Jet, double>* >(&token);
274  if(altJetToken != 0) {
275  if(jet != 0)
276  altJetToken->setObject(jet);
277  return;
278  }
279  // The token is not supported by this object, passing token
280  // to composite consitutents
281  if(jet)
282  jet->fillToken(token);
283 
284  // Try for generic type requests
285  for(unsigned int i = 0; i <= this->numTrack(); ++i) {
286  const Rec::TrackParticle *track = this->track(i);
287  if(track)
288  token.trySetObject(track);
289  }
290  }

◆ fillToken() [2/2]

void Analysis::TauJet::fillToken ( INavigationToken thisToken,
const std::any &  weight 
) const
virtual

INavigable interface, fill constituents (Jet,CaloCluster,CaloCell)

Parameters
thisTokeNavigation Token

Reimplemented from ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >.

Definition at line 293 of file TauJet.cxx.

295  {
296  // Check if one requested for tracks
298  dynamic_cast<NavigationToken<Rec::TrackParticle>*>(&token);
299  if(trackToken) {
300  for(unsigned int i = 0; i <= numTrack(); ++i) {
301  const Rec::TrackParticle *track = this->track(i);
302  if(track)
303  trackToken->setObject(track);
304  }
305  return;
306  }
307  // Check if one requested for tracks with alternative token
309  dynamic_cast<NavigationToken<Rec::TrackParticle,double>*>(&token);
310  if(altTrackToken) {
311  for(unsigned int i = 0; i <= numTrack(); ++i) {
312  const Rec::TrackParticle *track = this->track(i);
313  if(track)
314  altTrackToken->setObject(
315  track, std::any_cast<double>(weight));
316  }
317  return;
318  }
319 
320  NavigationToken<Jet> *jetToken =
321  dynamic_cast<NavigationToken<Jet>*>(&token);
322  const Jet *jet = this->jet();
323  if(jetToken) {
324  if(jet != 0)
325  jetToken->setObject(jet);
326  return;
327  }
328  // Check if one requested for Jet with alternative token
329  NavigationToken<Jet, double> *altJetToken =
330  dynamic_cast< NavigationToken<Jet, double>* >(&token);
331  if(altJetToken != 0) {
332  if(jet != 0)
333  altJetToken->setObject(
334  jet, std::any_cast<double>(weight));
335  return;
336  }
337  // The token is not supported by this object, passing token
338  // to composite consitutents
339  if(jet)
340  jet->fillToken(token);
341 
342  // Try for generic type requests
343  for(unsigned int i = 0; i <= this->numTrack(); ++i) {
344  const Rec::TrackParticle *track = this->track(i);
345  if(track)
346  token.trySetObject(track, weight);
347  }
348  }

◆ getAthenaBarCode() [1/2]

virtual AthenaBarCode_t IAthenaBarCode::getAthenaBarCode ( ) const
inlinevirtualinherited

◆ getAthenaBarCode() [2/2]

IAthenaBarCode interface forwarding

Definition at line 114 of file ParticleImpl.h.

754 {
756 }

◆ getHLV()

CLHEP::HepLorentzVector Analysis::TauJet::getHLV ( TauJetParameters ::TauCalibType  type) const

◆ getListOfPanTauSeeds()

const std::vector<PanTau::PanTauSeed*>& Analysis::TauJet::getListOfPanTauSeeds ( ) const

Get the list of links to PanTauSeed objects that were created for this tauJet

◆ getVersion() [1/2]

virtual AthenaBarCodeVersion_t IAthenaBarCode::getVersion ( ) const
inlinevirtualinherited

◆ getVersion() [2/2]

Definition at line 119 of file ParticleImpl.h.

795 {
797 }

◆ hasAuthor()

bool Analysis::TauJet::hasAuthor ( const TauJetParameters ::Author &  author) const

check if this object has Author author (can be more than one)

Parameters
authorAuthor to check

◆ hasCharge() [1/2]

bool ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::hasCharge
inlinevirtualinherited

method to check if charge information is available

Definition at line 242 of file ParticleImpl.h.

709 {
710  return m_part.hasCharge();
711 }

◆ hasCharge() [2/2]

virtual bool IParticle::hasCharge ( ) const
pure virtualinherited

◆ hasMergedToCommonDetails()

bool Analysis::TauJet::hasMergedToCommonDetails ( ) const

Overloading MergeToCommonDetails function.

Get state Merge to common details state

Returns
true if done merge to common details

◆ hasPdgId() [1/2]

bool ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::hasPdgId
inlinevirtualinherited

method to check if particle id information is available

Definition at line 252 of file ParticleImpl.h.

729 {
730  return m_part.hasPdgId();
731 }

◆ hasPdgId() [2/2]

virtual bool IParticle::hasPdgId ( ) const
pure virtualinherited

◆ hasSameAthenaBarCode()

bool ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::hasSameAthenaBarCode ( const IAthenaBarCode bc) const
inlinevirtualinherited

Reimplemented from IAthenaBarCode.

Definition at line 117 of file ParticleImpl.h.

775 {
777 }

◆ hasSameAthenaBarCodeExceptVersion()

bool ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::hasSameAthenaBarCodeExceptVersion ( const IAthenaBarCode bc) const
inlinevirtualinherited

Reimplemented from IAthenaBarCode.

Definition at line 118 of file ParticleImpl.h.

◆ hlv() [1/2]

CLHEP::HepLorentzVector ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::hlv
inlinevirtualinherited

CLHEP HepLorentzVector.

Definition at line 212 of file ParticleImpl.h.

636 {
637  return m_mom.hlv();
638 }

◆ hlv() [2/2]

virtual CLHEP::HepLorentzVector I4Momentum::hlv ( ) const
pure virtualinherited

◆ iPt() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::iPt
inlinevirtualinherited

inverse of transverse momentum

Definition at line 184 of file ParticleImpl.h.

565 {
566  return m_mom.iPt();
567 }

◆ iPt() [2/2]

virtual double I4Momentum::iPt ( ) const
pure virtualinherited

◆ isConversionTrack()

bool Analysis::TauJet::isConversionTrack ( unsigned int  i) const

Check if track is a conversion track.

Parameters
iId of track to check

◆ jet()

const Jet* Analysis::TauJet::jet ( ) const

seed Jet, might be NULL if not seeded from a Jet

◆ jetLink() [1/2]

ElementLink<JetCollection>& Analysis::TauJet::jetLink ( )

ElementLink to seed Jet, might be invalid if not seeded from a Jet

◆ jetLink() [2/2]

const ElementLink<JetCollection> Analysis::TauJet::jetLink ( ) const

ElementLink to seed Jet, might be invalid if not seeded from a Jet

◆ kind() [1/2]

add Kind which tells what kind (P4XYZ) the underlying implementation has

Definition at line 217 of file ParticleImpl.h.

656 {
657  return m_mom.kind();
658 }

◆ kind() [2/2]

virtual Kind I4Momentum::kind ( ) const
pure virtualinherited

◆ m() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::m
inlinevirtualinherited

mass

Definition at line 144 of file ParticleImpl.h.

465 {
466  return m_mom.m();
467 }

◆ m() [2/2]

virtual double I4Momentum::m ( ) const
pure virtualinherited

◆ m2() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::m2
inlinevirtualinherited

mass squared

Definition at line 148 of file ParticleImpl.h.

475 {
476  return m_mom.m2();
477 }

◆ m2() [2/2]

virtual double I4Momentum::m2 ( ) const
pure virtualinherited

◆ MergeToCommonDetails()

void Analysis::TauJet::MergeToCommonDetails ( TauDetailsContainer tauDetailsContainer = 0,
TauDetailsContainer tauExtraDetailsContainer = 0 
)

Merge Tau[1P3P|Rec](Extra)Details to TauCommon(Extra)Details.

Note: Will remove existing details and fill new common details! Note: if a container is 0, the merged details will not be stored!

Parameters
tauDetailsContainercontainer for details
tauExtraDetailsContainercontainer for extra details

Definition at line 174 of file TauJet.cxx.

177  {
178  //Skip merge if merge allready called
180  return;
181  }
182  else {
184  }
185 
186  //Copy old details to new common details
187  TauCommonDetails* tauCommonDetails=0;
188  const Tau1P3PDetails* tau1P3PDetails =
189  details<Tau1P3PDetails>();
190  const TauRecDetails* tauRecDetails =
191  details<TauRecDetails>();
192  //Check that we have a details container
193  if ( tauDetailsContainer != 0 ) {
194  //Check that we have at least one detail
195  if( (tau1P3PDetails != 0) || (tauRecDetails != 0) ) {
196  //Create new common details
197  tauCommonDetails=new TauCommonDetails();
198  CopyToCommonDetails(tau1P3PDetails,tauCommonDetails);
199  CopyToCommonDetails(tauRecDetails,tauCommonDetails);
200  }
201  }
202 
203  //Copy old extra details to new common extra details
204  TauCommonExtraDetails* tauCommonExtraDetails = 0;
205  const Tau1P3PExtraDetails* tau1P3PExtraDetails =
206  details<Tau1P3PExtraDetails>();
207  const TauRecExtraDetails* tauRecExtraDetails =
208  details<TauRecExtraDetails>();
209  //Check that we have an extra details container
210  if (tauExtraDetailsContainer!=0) {
211  //Check that we have at least one extra detail
212  if( ( tau1P3PExtraDetails != 0) || (tauRecExtraDetails != 0)) {
213  //Create new common extra details
214  tauCommonExtraDetails=new TauCommonExtraDetails();
215  CopyToCommonDetails(tau1P3PExtraDetails,tauCommonExtraDetails);
216  CopyToCommonDetails(tauRecExtraDetails,tauCommonExtraDetails);
217  }
218  }
219 
220  //Delete all existing details links
221  m_tauDetails.erase(m_tauDetails.begin(), m_tauDetails.end());
222 
223  //Add new details (if there is a container and a detail)
224  if( (tauDetailsContainer!=0) && (tauCommonDetails!=0)) {
225  tauDetailsContainer->push_back(tauCommonDetails);
226  addDetails(tauDetailsContainer,tauCommonDetails);
227  }
228 
229  //Add new extra details (if there is a container and a detail)
230  if((tauExtraDetailsContainer!=0) && (tauCommonExtraDetails!=0)) {
231  tauExtraDetailsContainer->push_back(tauCommonExtraDetails);
232  addDetails(tauExtraDetailsContainer,tauCommonExtraDetails);
233  }
234  }

◆ momentumBase() [1/2]

access to underlying base type (I4Momentum-like)

Definition at line 272 of file ParticleImpl.h.

853 {
854  return m_mom;
855 }

◆ momentumBase() [2/2]

access to underlying base type (I4Momentum-like)

Definition at line 95 of file ParticleImpl.h.

394 {
395  return m_mom;
396 }

◆ navigableBase() [1/2]

access to underlying base type (INavigable-like)

Definition at line 268 of file ParticleImpl.h.

843 {
844  return m_nav;
845 }

◆ navigableBase() [2/2]

access to underlying base type (INavigable-like)

Definition at line 91 of file ParticleImpl.h.

384 {
385  return m_nav;
386 }

◆ nDetails()

int Analysis::TauJet::nDetails ( ) const

number of details objects in this TauJet

Definition at line 414 of file TauJet.cxx.

415  {
416  return m_tauDetails.size();
417  }

◆ newVersion()

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::newVersion
inlinevirtualinherited

Reimplemented from IAthenaBarCode.

Definition at line 120 of file ParticleImpl.h.

805 {
807 }

◆ nProng()

int Analysis::TauJet::nProng ( ) const

Number of prongs.

number of tracks - number of conversion tracks

◆ numberOfTracks()

unsigned int Analysis::TauJet::numberOfTracks ( ) const

Get number of tracks.

Returns
Number of tracks

◆ numConversionTrack()

unsigned int Analysis::TauJet::numConversionTrack ( ) const

Number of conversion tracks.

◆ numTrack()

unsigned int Analysis::TauJet::numTrack ( ) const

number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!

◆ operator!=()

bool Analysis::TauJet::operator!= ( const TauJet rhs) const

Inequality operator.

Parameters
rhsTauJet instance to compare to
Returns
!operator==

◆ operator=()

TauJet & Analysis::TauJet::operator= ( const TauJet rhs)

assignment operator

Parameters
rhsTauJet to copy

Definition at line 102 of file TauJet.cxx.

103  {
104  if(this != &rhs) {
105  IAthenaBarCode::operator=(rhs);
106  INavigable::operator=(rhs);
107  I4Momentum::operator=(rhs);
108  INavigable4Momentum::operator=(rhs);
110  m_tracks=rhs.m_tracks;
111  m_conversionTracks=rhs.m_conversionTracks;
112  m_seedCalo_tracks=rhs.m_seedCalo_tracks;
113  m_seedTrk_tracks=rhs.m_seedTrk_tracks;
114  m_tauDetails=rhs.m_tauDetails;
115  m_cluster=rhs.m_cluster;
116  m_cellCluster=rhs.m_cellCluster;
117  m_jet=rhs.m_jet;
118  m_author=rhs.m_author;
119  m_numberOfTracks=rhs.m_numberOfTracks;
120  if(rhs.m_tauID) {
121  delete m_tauID;
122  m_tauID = new TauPID(*rhs.m_tauID);
123  }
124  m_roiWord=rhs.m_roiWord;
125  m_hasMergedToCommonDetails=rhs.m_hasMergedToCommonDetails;
126  m_tauHLVStorage=rhs.m_tauHLVStorage;
127  }
128  return *this;
129  }

◆ operator==()

bool Analysis::TauJet::operator== ( const TauJet rhs) const

Equality operator.

Parameters
rhsright hand side TauJet instance to compare
Returns
true if equal, false otherwise

Definition at line 132 of file TauJet.cxx.

133  {
134  if (m_tracks!=rhs.m_tracks) return false;
135  if (m_conversionTracks!=rhs.m_conversionTracks) return false;
136  if (m_seedCalo_tracks!=rhs.m_seedCalo_tracks) return false;
137  if (m_seedTrk_tracks!=rhs.m_seedTrk_tracks) return false;
138  if (m_tauDetails!=rhs.m_tauDetails) return false;
139  if (m_cluster!=rhs.m_cluster) return false;
140  if (m_cellCluster!=rhs.m_cellCluster) return false;
141  if (m_jet!=rhs.m_jet) return false;
142  if (m_author!=rhs.m_author) return false;
143  if (m_numberOfTracks!=rhs.m_numberOfTracks) return false;
144  //Compare if pointers are valid
145  if ( (m_tauID!=0) && (rhs.m_tauID!=0) ) {
146  if ((*m_tauID) != (*rhs.m_tauID)) return false;
147  } else if ( ( (m_tauID!=0) && (rhs.m_tauID==0) ) ||
148  ( (m_tauID==0) && (rhs.m_tauID!=0) ) )
149  {
150  //false if only one of the pointers is set
151  return false;
152  }
153  if (m_roiWord!=rhs.m_roiWord) return false;
154  if (m_hasMergedToCommonDetails!=rhs.m_hasMergedToCommonDetails) return false;
155 
156  //ToDo:: cmp for tauHLVStorage
157 
158  return true;
159  }

◆ origin() [1/2]

Return a RecVertex corresponding to particle Origin

Definition at line 234 of file ParticleImpl.h.

689 {
690  return m_part.origin();
691 }

◆ origin() [2/2]

virtual const Trk::RecVertex* IParticle::origin ( ) const
pure virtualinherited

◆ originLink() [1/2]

Return an ElementLink corresponding to particle's Origin.

Definition at line 238 of file ParticleImpl.h.

699 {
700  return m_part.originLink();
701 }

◆ originLink() [2/2]

virtual const ElementLink<VxContainer>& IParticle::originLink ( ) const
pure virtualinherited

◆ p() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::p
inlinevirtualinherited

mass momentum magnitude

Definition at line 152 of file ParticleImpl.h.

485 {
486  return m_mom.p();
487 }

◆ p() [2/2]

virtual double I4Momentum::p ( ) const
pure virtualinherited

◆ p2() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::p2
inlinevirtualinherited

square of momentum magnitude

Definition at line 156 of file ParticleImpl.h.

495 {
496  return m_mom.p2();
497 }

◆ p2() [2/2]

virtual double I4Momentum::p2 ( ) const
pure virtualinherited

◆ parameter()

double Analysis::TauJet::parameter ( TauJetParameters ::Detail  detail) const

dummy Parameter accessors, for analysis code backward compatibility

DEPRECATED - DO NOT USE!

Parameters
detaildetail to acess
Returns
always returns -1111

Definition at line 351 of file TauJet.cxx.

352  {
353  return TauDetails::DEFAULT;
354  }

◆ particleBase() [1/2]

access to underlying base type (IParticle-like)

Definition at line 276 of file ParticleImpl.h.

863 {
864  return m_part;
865 }

◆ particleBase() [2/2]

access to underlying base type (IParticle-like)

Definition at line 99 of file ParticleImpl.h.

404 {
405  return m_part;
406 }

◆ pdgId() [1/2]

int ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::pdgId
inlinevirtualinherited

Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h

Definition at line 257 of file ParticleImpl.h.

739 {
740  return m_part.pdgId();
741 }

◆ pdgId() [2/2]

virtual int IParticle::pdgId ( ) const
pure virtualinherited

Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h

Implemented in ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, Analysis::ParticleShallowClone, and ParticleBase.

◆ phi() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::phi
inlinevirtualinherited

phi in [-pi,pi[

Definition at line 168 of file ParticleImpl.h.

525 {
526  return m_mom.phi();
527 }

◆ phi() [2/2]

virtual double I4Momentum::phi ( ) const
pure virtualinherited

◆ printOn()

template<class stream >
void Analysis::TauJet::printOn ( stream &  o) const
protected

Printing function.

Parameters
ostring to print to

Definition at line 663 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

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  }

◆ pt() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::pt
inlinevirtualinherited

transverse momentum

Definition at line 180 of file ParticleImpl.h.

555 {
556  return m_mom.pt();
557 }

◆ pt() [2/2]

virtual double I4Momentum::pt ( ) const
pure virtualinherited

◆ px() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::px
inlinevirtualinherited

x component of momentum

I4Momentum interface forwarding

Definition at line 132 of file ParticleImpl.h.

435 {
436  return m_mom.px();
437 }

◆ px() [2/2]

virtual double I4Momentum::px ( ) const
pure virtualinherited

◆ py() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::py
inlinevirtualinherited

y component of momentum

Definition at line 136 of file ParticleImpl.h.

445 {
446  return m_mom.py();
447 }

◆ py() [2/2]

virtual double I4Momentum::py ( ) const
pure virtualinherited

◆ pz() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::pz
inlinevirtualinherited

z component of momentum

Definition at line 140 of file ParticleImpl.h.

455 {
456  return m_mom.pz();
457 }

◆ pz() [2/2]

virtual double I4Momentum::pz ( ) const
pure virtualinherited

◆ rapidity() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::rapidity
inlinevirtualinherited

rapidity

Definition at line 160 of file ParticleImpl.h.

505 {
506  return m_mom.rapidity();
507 }

◆ rapidity() [2/2]

virtual double I4Momentum::rapidity ( ) const
pure virtualinherited

◆ removeDetails() [1/2]

void Analysis::TauJet::removeDetails ( const std::string &  name,
const std::string &  className = "" 
)

Remove all tau details object with matching name.

Parameters
nameStoregate name of class to remove
classNameclass name

Definition at line 363 of file TauJet.cxx.

365  {
367  = m_tauDetails.begin();
368  while(iter != m_tauDetails.end()) {
369  const unsigned int i = iter - m_tauDetails.begin();
370  const TauDetails* detail = *m_tauDetails[i];
371  if(m_tauDetails.elementDataID(i) == name
372  &&(className.empty() || detail->className() == className))
373  iter = m_tauDetails.erase(iter);
374  else ++iter;
375  }
376  return;
377  }

◆ removeDetails() [2/2]

void Analysis::TauJet::removeDetails ( int  i)

Remove tau details class by index.

Parameters
iindex (in order they were inserted)

Definition at line 356 of file TauJet.cxx.

357  {
358  if(i >= 0 && i <(int)m_tauDetails.size())
359  m_tauDetails.erase(m_tauDetails.begin() + i);
360  return;
361  }

◆ ROIWord()

unsigned int Analysis::TauJet::ROIWord ( ) const

Retrieve ROI Word (trigger purposes)

Returns
ROI Word

◆ seedCalo_numTrack()

unsigned int Analysis::TauJet::seedCalo_numTrack ( ) const

number of seed calo Tracks associated to Tau candidate,

◆ seedCalo_track()

const Rec :: TrackParticle* Analysis::TauJet::seedCalo_track ( unsigned int  i) const

Seed Calo Tracks associated to Tau candidate.

◆ seedCalo_trackLinkVector() [1/2]

ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::seedCalo_trackLinkVector ( )

Get seed calo track link vector.

Returns
ElementVector to Tracks associated to Tau candidate

◆ seedCalo_trackLinkVector() [2/2]

const ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::seedCalo_trackLinkVector ( ) const

Get seed calo track link vector.

Returns
ElementVector to Tracks associated to Tau candidate

◆ seedTrk_numTrack()

unsigned int Analysis::TauJet::seedTrk_numTrack ( ) const

number of seed trk Tracks associated to Tau candidate,

◆ seedTrk_track()

const Rec :: TrackParticle* Analysis::TauJet::seedTrk_track ( unsigned int  i) const

Seed Track Tracks associated to Tau candidate.

◆ seedTrk_trackLinkVector() [1/2]

ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::seedTrk_trackLinkVector ( )

Get seed trk track link vector.

Returns
ElementVector to Tracks associated to Tau candidate

◆ seedTrk_trackLinkVector() [2/2]

const ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::seedTrk_trackLinkVector ( ) const

Get seed trk track link vector.

Returns
ElementVector to Tracks associated to Tau candidate

◆ set4Mom() [1/3]

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set4Mom ( const CLHEP::HepLorentzVector &  hlv)
inlinevirtualinherited

set 4Momentum (will throw exception if cannot be implemented)

Implements I4Momentum.

Definition at line 285 of file ParticleImpl.h.

897 {
898  return m_mom.set4Mom( hlv );
899 }

◆ set4Mom() [2/3]

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set4Mom ( const I4Momentum p4)
inlinevirtualinherited

set 4Momentum (will throw exception if cannot be implemented)

Implements I4Momentum.

Definition at line 281 of file ParticleImpl.h.

876 {
877  return m_mom.set4Mom( p4 );
878 }

◆ set4Mom() [3/3]

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set4Mom ( const I4Momentum *const  p4)
inlinevirtualinherited

set 4Momentum (will throw exception if cannot be implemented)

Implements I4Momentum.

Definition at line 283 of file ParticleImpl.h.

886 {
887  return m_mom.set4Mom( p4 );
888 }

◆ set_charge()

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set_charge ( ChargeType  x)
inlinevirtualinherited

Definition at line 291 of file ParticleImpl.h.

917 {
919 }

◆ set_dataType()

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set_dataType ( ParticleDataType::DataType  x)
inlinevirtualinherited

Definition at line 289 of file ParticleImpl.h.

907 {
909 }

◆ set_origin() [1/3]

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set_origin ( const ElementLink< VxContainer > &  origin)
inlineinherited

Definition at line 299 of file ParticleImpl.h.

959 {
961 }

◆ set_origin() [2/3]

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set_origin ( const VxContainer theContainer,
const Trk::VxCandidate vertex 
)
inlinevirtualinherited

Definition at line 297 of file ParticleImpl.h.

949 {
950  m_part.set_origin(theContainer, vertex);
951 }

◆ set_origin() [3/3]

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set_origin ( const VxContainer theContainer,
int  index 
)
inlinevirtualinherited

Definition at line 295 of file ParticleImpl.h.

938 {
939  m_part.set_origin(theContainer, index);
940 }

◆ set_pdgId()

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::set_pdgId ( int  x)
inlinevirtualinherited

Definition at line 293 of file ParticleImpl.h.

927 {
928  m_part.set_pdgId(x);
929 }

◆ setAthenaBarCode()

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::setAthenaBarCode ( AthenaBarCode_t  id)
inlinevirtualinherited

Reimplemented from IAthenaBarCode.

Definition at line 115 of file ParticleImpl.h.

764 {
766 }

◆ setAuthor()

void Analysis::TauJet::setAuthor ( const TauJetParameters ::Author &  author)

set the author flag to true

Parameters
authorAuthor to set

◆ setCellCluster()

void Analysis::TauJet::setCellCluster ( const CaloClusterContainer cont,
const CaloCluster clust 
)

set the CaloCluster as the seed of TauJet

◆ setCellClusterLink()

void Analysis::TauJet::setCellClusterLink ( const ElementLink< CaloClusterContainer > &  x)

set ElementLink of the CaloCluster seed of TauJet

◆ setCluster()

void Analysis::TauJet::setCluster ( const CaloClusterContainer cont,
const CaloCluster clust 
)

set the CaloCluster as the seed of TauJet, DEPRECATED as of release 13

◆ setClusterLink()

void Analysis::TauJet::setClusterLink ( const ElementLink< CaloClusterContainer > &  x)

set ElementLink of the CaloCluster seed of TauJet DEPRECATED as of release 13

◆ setE()

void Analysis::TauJet::setE ( double  ene)

set energy data member

Parameters
energy

◆ setEta()

void Analysis::TauJet::setEta ( double  eta)

set eta data member

Parameters
etaeta

◆ setHasMergedToCommonDetails()

void Analysis::TauJet::setHasMergedToCommonDetails ( bool  state)

Set state Merge to common details state.

Parameters
statestate to set

◆ setJet()

void Analysis::TauJet::setJet ( const JetCollection cont,
const Jet clust 
)

set the Jet as the seed to the TauJet

◆ setJetLink()

void Analysis::TauJet::setJetLink ( const ElementLink< JetCollection > &  x)

set the ElementLink to the seed Jet

◆ setM()

void Analysis::TauJet::setM ( double  m)

set mass data member

Parameters
mmass

◆ setNumberOfTracks()

void Analysis::TauJet::setNumberOfTracks ( unsigned int  numberOfTracks)

Set number of tracks @ param numberOfTracks Number of tracks.

◆ setPhi()

void Analysis::TauJet::setPhi ( double  phi)

set phi data member

Parameters
phiphi

◆ setROIWord()

void Analysis::TauJet::setROIWord ( unsigned int  RoiWord)

Set ROI Word (trigger purposes)

Parameters
RoiWordROI Word to set

◆ setTauID()

void Analysis::TauJet::setTauID ( TauPID tauID)

Set TauPID object that contains discriminant values.

Parameters
tauIDTauPID object

◆ setVersion()

void ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::setVersion ( AthenaBarCodeVersion_t  newversion)
inlinevirtualinherited

Reimplemented from IAthenaBarCode.

Definition at line 121 of file ParticleImpl.h.

815 {
817 }

◆ sinPhi() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::sinPhi
inlinevirtualinherited

sinus phi

Definition at line 192 of file ParticleImpl.h.

585 {
586  return m_mom.sinPhi();
587 }

◆ sinPhi() [2/2]

virtual double I4Momentum::sinPhi ( ) const
pure virtualinherited

◆ sinTh() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::sinTh
inlinevirtualinherited

sinus theta

Definition at line 204 of file ParticleImpl.h.

615 {
616  return m_mom.sinTh();
617 }

◆ sinTh() [2/2]

virtual double I4Momentum::sinTh ( ) const
pure virtualinherited

◆ storeHLV()

void Analysis::TauJet::storeHLV ( TauJetParameters ::TauCalibType  type,
CLHEP ::HepLorentzVector  hlv 
)

◆ tanTh() [1/2]

double ParticleImpl< ::Analysis::TauJetNavigation , ::P4ImplEEtaPhiM , ParticleEvent::Base >::tanTh
inlinevirtualinherited

tan theta

Definition at line 196 of file ParticleImpl.h.

595 {
596  return m_mom.tanTh();
597 }

◆ tanTh() [2/2]

virtual double I4Momentum::tanTh ( ) const
pure virtualinherited

◆ tauDetailLinkVector() [1/2]

ElementLinkVector<TauDetailsContainer>& Analysis::TauJet::tauDetailLinkVector ( )

◆ tauDetailLinkVector() [2/2]

const ElementLinkVector<TauDetailsContainer>& Analysis::TauJet::tauDetailLinkVector ( ) const

◆ tauID() [1/2]

TauPID* Analysis::TauJet::tauID ( )

Get TauPID object containing discriminant values.

Returns
TauPID object

◆ tauID() [2/2]

const TauPID* Analysis::TauJet::tauID ( ) const

Get TauPID object containing discriminant values.

Returns
const TauPID object

◆ toString()

std::string Analysis::TauJet::toString ( ) const

Uses printOn to make a string of the TauDetails.

Returns
string representation of tau details

Definition at line 167 of file TauJet.cxx.

168  {
169  std::stringstream s;
170  printOn(s);
171  return s.str();
172  }

◆ track()

const Rec :: TrackParticle* Analysis::TauJet::track ( unsigned int  i) const

Tracks associated to Tau candidate.

◆ trackLinkVector() [1/2]

ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::trackLinkVector ( )

Get track link vector.

Returns
ElementVector to Tracks associated to Tau candidate

◆ trackLinkVector() [2/2]

const ElementLinkVector<Rec::TrackParticleContainer>& Analysis::TauJet::trackLinkVector ( ) const

Get track link vector.

Returns
ElementVector to Tracks associated to Tau candidate

Friends And Related Function Documentation

◆ operator<< [1/4]

MsgStream& operator<< ( MsgStream &  o,
const TauJet tau 
)
friend

Printing operator.

Parameters
ostream to write to
tautau to print

Definition at line 708 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

710  {
711  tau.printOn(o);
712  return o;
713  }

◆ operator<< [2/4]

MsgStream& operator<< ( MsgStream &  o,
const TauJet tau 
)
friend

Printing operator.

Parameters
ostream to write to
tautau to print

Definition at line 715 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

717  {
718  tau->printOn(o);
719  return o;
720  }

◆ operator<< [3/4]

std::ostream& operator<< ( std::ostream &  o,
const TauJet tau 
)
friend

Printing operator.

Parameters
ostream to write to
tautau to print

Definition at line 694 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

696  {
697  tau.printOn(o);
698  return o;
699  }

◆ operator<< [4/4]

std::ostream& operator<< ( std::ostream &  o,
const TauJet tau 
)
friend

Printing operator.

Parameters
ostream to write to
tautau to print

Definition at line 701 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

703  {
704  tau->printOn(o);
705  return o;
706  }

Member Data Documentation

◆ m_author

std::bitset<8> Analysis::TauJet::m_author
private

Allow more than one author, TauJetParameters::Author used as index.

Definition at line 640 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_cellCluster

ElementLink<CaloClusterContainer> Analysis::TauJet::m_cellCluster
private

Calo cell.

Definition at line 634 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_cluster

ElementLink<CaloClusterContainer> Analysis::TauJet::m_cluster
private

Calo cluster.

Definition at line 631 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_conversionTracks

ElementLinkVector<Rec::TrackParticleContainer> Analysis::TauJet::m_conversionTracks
private

Conversion tracks.

Definition at line 619 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_hasMergedToCommonDetails

bool Analysis::TauJet::m_hasMergedToCommonDetails
private

True if MergeToCommonDetails has been called.

Definition at line 652 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_jet

ElementLink<JetCollection> Analysis::TauJet::m_jet
private

Jets.

Definition at line 637 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_listOfPanTauSeeds

std::vector<PanTau::PanTauSeed*> Analysis::TauJet::m_listOfPanTauSeeds
private

List of associated pantau seeds

Definition at line 658 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_mom

The 4-momentum part.

Definition at line 310 of file ParticleImpl.h.

◆ m_nav

The navigable part.

Definition at line 307 of file ParticleImpl.h.

◆ m_numberOfTracks

unsigned int Analysis::TauJet::m_numberOfTracks
private

Number of tracks.

Definition at line 643 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_part

The particle-id part.

Definition at line 313 of file ParticleImpl.h.

◆ m_roiWord

unsigned int Analysis::TauJet::m_roiWord
private

ROI word.

Definition at line 649 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_seedCalo_tracks

ElementLinkVector<Rec::TrackParticleContainer> Analysis::TauJet::m_seedCalo_tracks
private

Seed Calo Tracks.

Definition at line 622 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_seedTrk_tracks

ElementLinkVector<Rec::TrackParticleContainer> Analysis::TauJet::m_seedTrk_tracks
private

Seed Trk Tracks.

Definition at line 625 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_tauDetails

ElementLinkVector<TauDetailsContainer> Analysis::TauJet::m_tauDetails
private

Vector containing all details.

Definition at line 628 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_tauHLVStorage

std::vector<std::pair< TauJetParameters::TauCalibType, CLHEP::HepLorentzVector > > Analysis::TauJet::m_tauHLVStorage
private

HLV storage.

Definition at line 655 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_tauID

TauPID* Analysis::TauJet::m_tauID
private

Definition at line 646 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ m_tracks

ElementLinkVector<Rec::TrackParticleContainer> Analysis::TauJet::m_tracks
private

Tracks.

Definition at line 616 of file Reconstruction/tauEvent/tauEvent/TauJet.h.

◆ UNDEFINEDBARCODE

const AthenaBarCode_t IAthenaBarCode::UNDEFINEDBARCODE = (AthenaBarCode_t)(-1)
staticinherited

Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.

◆ UNDEFINEDVERSION

const AthenaBarCode_t IAthenaBarCode::UNDEFINEDVERSION = UNDEFINEDBARCODE
staticinherited

Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.


The documentation for this class was generated from the following files:
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::track
const Rec ::TrackParticle * track(unsigned int i) const
Tracks associated to Tau candidate.
I4Momentum
Definition: I4Momentum.h:31
IAthenaBarCode::UNDEFINEDBARCODE
static const AthenaBarCode_t UNDEFINEDBARCODE
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:52
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
P4BaseEEtaPhiM::iPt
double iPt() const
Definition: P4BaseEEtaPhiM.h:161
Analysis::TauJet::m_cellCluster
ElementLink< CaloClusterContainer > m_cellCluster
Calo cell.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:634
ElementLinkVector::begin
iterator begin()
Definition: AthLinks/ElementLinkVector.h:272
ParticleEvent::Base::set_dataType
void set_dataType(ParticleDataType::DataType x)
Definition: Base.h:247
Analysis::TauJet::addDetails
void addDetails(const TauDetailsContainer *container, TauDetails *details)
Add new tau detail instance.
Analysis::TauJet::m_tauID
TauPID * m_tauID
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:646
TauJetParameters::tau1P3P
@ tau1P3P
Definition: TauJetParameters.h:36
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
ElementLinkVector::end
iterator end()
Definition: AthLinks/ElementLinkVector.h:276
index
Definition: index.py:1
P4BaseEEtaPhiM::cotTh
double cotTh() const
Definition: P4BaseEEtaPhiM.h:204
IAthenaBarCode::IAthenaBarCode
IAthenaBarCode()
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:59
P4BaseEEtaPhiM::p
double p() const
Definition: P4BaseEEtaPhiM.h:111
I4Momentum::P4IPTCOTTHPHIM
@ P4IPTCOTTHPHIM
Definition: I4Momentum.h:33
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
P4ImplEEtaPhiM::errors
virtual const I4MomentumError * errors() const
Definition: P4ImplEEtaPhiM.h:216
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::origin
virtual const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin
Definition: ParticleImpl.h:688
Analysis::TauJet::hasAuthor
bool hasAuthor(const TauJetParameters ::Author &author) const
check if this object has Author author (can be more than one)
Analysis::TauDetails::DEFAULT
static const float DEFAULT
Definition: TauDetails.h:34
P4BaseEEtaPhiM::py
double py() const
Definition: P4BaseEEtaPhiM.h:95
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
ParticleEvent::Base::hasCharge
bool hasCharge() const
method to check if charge information is available
Definition: Base.h:218
P4BaseEEtaPhiM::sinTh
double sinTh() const
Definition: P4BaseEEtaPhiM.h:192
P4BaseEEtaPhiM::sinPhi
double sinPhi() const
Definition: P4BaseEEtaPhiM.h:171
P4ImplEEtaPhiM::kind
I4Momentum::Kind kind() const
Definition: P4ImplEEtaPhiM.h:88
detail
Definition: extract_histogram_tag.cxx:14
Analysis::TauJet::m_tracks
ElementLinkVector< Rec::TrackParticleContainer > m_tracks
Tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:616
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ParticleEvent::Base::charge
ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
Definition: Base.h:224
AthenaBarCodeImpl::setAthenaBarCode
void setAthenaBarCode(AthenaBarCode_t id)
Definition: AthenaBarCodeImpl.cxx:211
P4BaseEEtaPhiM::et
double et() const
Definition: P4BaseEEtaPhiM.h:144
x
#define x
P4ImplEEtaPhiM::eta
double eta() const
Definition: P4ImplEEtaPhiM.h:201
Analysis::TauJet::m_roiWord
unsigned int m_roiWord
ROI word.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:649
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::operator=
ParticleImpl & operator=(const ParticleImpl &rhs)
Assignment operator.
Definition: ParticleImpl.h:356
Trk::RecVertex
Trk::RecVertex inherits from Trk::Vertex.
Definition: RecVertex.h:44
Analysis::TauJet::author
TauJetParameters ::Author author() const
Author of this object (DO NOT USE! only for backward compatibility)
ParticleEvent::Base::set_charge
void set_charge(ChargeType x)
Definition: Base.h:254
P4BaseEEtaPhiM::rapidity
double rapidity() const
Definition: P4BaseEEtaPhiM.h:149
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
P4BaseEEtaPhiM::hlv
CLHEP::HepLorentzVector hlv() const
Definition: P4BaseEEtaPhiM.h:209
P4ImplEEtaPhiM::set4Mom
void set4Mom(const I4Momentum &theI4Mom)
set all 4-mom from another I4Momentum reference
Definition: P4ImplEEtaPhiM.h:241
PixelModuleFeMask_create_db.remove
string remove
Definition: PixelModuleFeMask_create_db.py:83
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::m_nav
::Analysis::TauJetNavigation m_nav
The navigable part.
Definition: ParticleImpl.h:307
JetTagCalibConfig.className
string className
Definition: JetTagCalibConfig.py:36
P4BaseEEtaPhiM::tanTh
double tanTh() const
Definition: P4BaseEEtaPhiM.h:177
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
Analysis::TauJet::CopyToCommonDetails
void CopyToCommonDetails(const Tau1P3PDetails *tau1P3PDetails, TauCommonDetails *tauCommonDetails)
Converts a Tau1P3PDetails to a TauCommonDetails.
Definition: TauJet.cxx:444
ParticleEvent::Base::pdgId
int pdgId() const
Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg....
Definition: Base.h:236
AthenaBarCodeImpl::newVersion
void newVersion()
Definition: AthenaBarCodeImpl.cxx:138
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::m_part
ParticleEvent::Base m_part
The particle-id part.
Definition: ParticleImpl.h:313
P4BaseEEtaPhiM::cosPhi
double cosPhi() const
Definition: P4BaseEEtaPhiM.h:166
Analysis::TauJet::numTrack
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
P4ImplEEtaPhiM::phi
double phi() const
Definition: P4ImplEEtaPhiM.h:206
Analysis::TauJet::m_hasMergedToCommonDetails
bool m_hasMergedToCommonDetails
True if MergeToCommonDetails has been called.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:652
AthenaBarCodeImpl::hasSameAthenaBarCodeExceptVersion
bool hasSameAthenaBarCodeExceptVersion(const IAthenaBarCode &obj) const
Definition: AthenaBarCodeImpl.cxx:120
P4BaseEEtaPhiM::m2
double m2() const
Definition: P4BaseEEtaPhiM.h:105
P4BaseEEtaPhiM::p2
double p2() const
Definition: P4BaseEEtaPhiM.h:129
std::remove_if
std::reverse_iterator< DataModel_detail::iterator< DVL > > remove_if(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, Predicate pred)
Specialization of remove_if for DataVector/List.
Definition: DVL_algorithms.h:114
INavigable
Definition: INavigable.h:18
NavigationToken::setObject
void setObject(const_child_ptr data)
Definition: NavigationToken.h:252
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::hlv
virtual CLHEP::HepLorentzVector hlv() const
CLHEP HepLorentzVector.
Definition: ParticleImpl.h:635
P4BaseEEtaPhiM::px
double px() const
{@ a la I4Momentum -like interface
Definition: P4BaseEEtaPhiM.h:90
I4Momentum::P4PTETAPHIM
@ P4PTETAPHIM
Definition: I4Momentum.h:33
ElementLinkVector
ElementLinkVector implementation for standalone ROOT.
Definition: AthLinks/ElementLinkVector.h:27
Muon::nsw::unknown
@ unknown
Definition: NSWTriggerElink.h:36
Analysis::TauJet::m_jet
ElementLink< JetCollection > m_jet
Jets.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:637
I4Momentum::UNKNOWN
@ UNKNOWN
Definition: I4Momentum.h:33
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ParticleEvent::Base::getAthenaBarCodeImpl
const AthenaBarCodeImpl & getAthenaBarCodeImpl() const
Definition: Base.h:96
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::particleBase
const particle_type & particleBase() const
access to underlying base type (IParticle-like)
Definition: ParticleImpl.h:403
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
NavigationToken
Definition: NavigationToken.h:50
Analysis::TauJet::m_seedTrk_tracks
ElementLinkVector< Rec::TrackParticleContainer > m_seedTrk_tracks
Seed Trk Tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:625
AthenaBarCodeImpl::getAthenaBarCode
AthenaBarCode_t getAthenaBarCode() const
Definition: AthenaBarCodeImpl.cxx:203
ParticleEvent::Base::hasPdgId
bool hasPdgId() const
method to check if particle id information is available
Definition: Base.h:230
Rec::TrackParticle
Definition: Reconstruction/Particle/Particle/TrackParticle.h:47
P4ImplEEtaPhiM::m
double m() const
{@ a la I4Momentum -like interface
Definition: P4ImplEEtaPhiM.h:196
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
P4BaseEEtaPhiM::cosTh
double cosTh() const
Definition: P4BaseEEtaPhiM.h:187
AthenaBarCodeImpl::hasSameAthenaBarCode
bool hasSameAthenaBarCode(const IAthenaBarCode &obj) const
Definition: AthenaBarCodeImpl.cxx:110
INavigable4Momentum
Definition: INavigable4Momentum.h:21
ElementLinkVector::ELVIterator
Definition: AthLinks/ElementLinkVector.h:110
P4BaseEEtaPhiM::pz
double pz() const
Definition: P4BaseEEtaPhiM.h:100
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
ParticleEvent::Base::dataType
ParticleDataType::DataType dataType() const
Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the f...
Definition: Base.h:204
ParticleEvent::Base::dump
std::ostream & dump(std::ostream &out) const
Print IParticle content.
Definition: Base.cxx:44
P4BaseEEtaPhiM::pt
double pt() const
Definition: P4BaseEEtaPhiM.h:156
ParticleEvent::Base::set_origin
void set_origin(const VxContainer *theContainer, int index)
Definition: Base.h:284
P4BaseEEtaPhiM::dump
std::ostream & dump(std::ostream &out) const
Print I4Momentum content.
Definition: P4BaseEEtaPhiM.h:231
ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >::m_mom
::P4ImplEEtaPhiM m_mom
The 4-momentum part.
Definition: ParticleImpl.h:310
IAthenaBarCode::UNDEFINEDVERSION
static const AthenaBarCode_t UNDEFINEDVERSION
Definition: AthenaKernel/AthenaKernel/IAthenaBarCode.h:53
Analysis::TauJet::m_tauDetails
ElementLinkVector< TauDetailsContainer > m_tauDetails
Vector containing all details.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:628
ParticleEvent::Base::origin
const Trk::RecVertex * origin() const
Return a RecVertex corresponding to particle Origin
Definition: Base.h:210
Analysis::TauJet::m_conversionTracks
ElementLinkVector< Rec::TrackParticleContainer > m_conversionTracks
Conversion tracks.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:619
I4Momentum::P4EETAPHIM
@ P4EETAPHIM
Definition: I4Momentum.h:33
Analysis::TauJet::printOn
void printOn(stream &o) const
Printing function.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:663
AthenaBarCodeImpl::setVersion
void setVersion(AthenaBarCodeVersion_t newversion)
Definition: AthenaBarCodeImpl.cxx:157
ParticleEvent::Base::set_pdgId
void set_pdgId(int x)
Definition: Base.h:262
Analysis::TauJet::m_tauHLVStorage
std::vector< std::pair< TauJetParameters::TauCalibType, CLHEP::HepLorentzVector > > m_tauHLVStorage
HLV storage.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:655
P4ImplEEtaPhiM::e
double e() const
Definition: P4ImplEEtaPhiM.h:211
Analysis::TauJet::m_cluster
ElementLink< CaloClusterContainer > m_cluster
Calo cluster.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:631
ParticleEvent::Base::originLink
const ElementLink< VxContainer > & originLink() const
Return the ElementLink to particle Origin
Definition: Base.cxx:38
AthenaBarCodeImpl::getVersion
AthenaBarCodeVersion_t getVersion() const
Definition: AthenaBarCodeImpl.cxx:131
I4Momentum::P4PXPYPZE
@ P4PXPYPZE
Definition: I4Momentum.h:33