ATLAS Offline Software
|
#include <TrigTau.h>
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
TrigTau () | |
File: TrigTau.cxx. More... | |
TrigTau (int roi, float eta, float phi, float zvtx, float pt, float err_zvtx, float etCalib, float etFlow, int ntracks, const TrigTauCluster *cluster, const TrigInDetTrackCollection *tracks, const TrigTauTracksInfo *tracksInfo) | |
TrigTau (int roi, float eta=0, float phi=0, float zvtx=0, float pt=0, float etCalib=0, float etFlow=0, int ntracks=0, const TrigTauCluster *cluster=NULL, const TrigInDetTrackCollection *tracks=NULL, const TrigTauTracksInfo *tracksInfo=NULL) | |
~TrigTau () | |
int | roiId () const |
accessor methods More... | |
float | Zvtx () const |
float | err_Zvtx () const |
float | etCalibCluster () const |
float | simpleEtFlow () const |
int | nMatchedTracks () const |
float | trkAvgDist () const |
float | etOverPtLeadTrk () const |
const TrigTauCluster * | tauCluster () const |
const TrigInDetTrackCollection * | trackCollection () const |
const TrigTauTracksInfo * | tracksInfo () const |
void | setRoiId (int roiId) |
set methods More... | |
void | setZvtx (float zvtx) |
void | setErr_Zvtx (float err_zvtx) |
void | setEtCalibCluster (float etCalibCluster) |
void | setSimpleEtFlow (float etFlow) |
void | setNMatchedTracks (int nmatchedTracks) |
void | setTauCluster (const TrigTauCluster *tauCluster) |
void | setTrackCollection (const TrigInDetTrackCollection *trackColl) |
void | setTracksInfo (const TrigTauTracksInfo *trackInfo) |
void | setTrkAvgDist (float trkAvgDist) |
void | setEtOverPtLeadTrk (float etOverPtLeadTrk) |
virtual double | pt () const |
get pt data member More... | |
virtual double | eta () const |
get eta data member More... | |
virtual double | phi () const |
get phi data member More... | |
virtual double | m () const |
get mass data member More... | |
virtual void | setPt (double thePt) |
set pt data member More... | |
virtual void | setEta (double theEta) |
set eta data member More... | |
virtual void | setPhi (double thePhi) |
set phi data member More... | |
virtual void | setM (double theM) |
set mass data member More... | |
virtual void | set4Mom (const I4Momentum &theI4Mom) |
set all 4-mom from another I4Momentum reference More... | |
virtual void | set4Mom (const I4Momentum *const theI4Mom) |
set all 4-mom from another I4Momentum pointer More... | |
virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
set all 4-mom from a CLHEP HepLorentzVector More... | |
virtual const I4MomentumError * | errors () const |
Access to errors, if available; returns 0 if no errors. More... | |
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 | e () const |
energy More... | |
virtual double | p () const |
magnitude of 3-momentum. More... | |
virtual double | p2 () const |
square of momentum magnitude More... | |
virtual double | m2 () const |
mass squared More... | |
virtual double | et () const |
transverse energy defined to be e*sin(theta) More... | |
virtual double | iPt () const |
inverse of transverse momentum More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual double | cosPhi () const |
cosinus phi More... | |
virtual double | sinPhi () const |
sinus phi More... | |
virtual double | cotTh () const |
cottan theta More... | |
virtual double | cosTh () const |
cosinus theta More... | |
virtual double | sinTh () const |
sinus theta More... | |
virtual double | tanTh () const |
tan theta More... | |
virtual CLHEP::HepLorentzVector | hlv () const |
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same More... | |
I4Momentum::Kind | kind () const |
tells what kind of P4XYZT this is More... | |
virtual std::ostream & | dump (std::ostream &out) const |
Print I4Momentum content. More... | |
virtual void | fillToken (INavigationToken &) const |
virtual void | fillToken (INavigationToken &, const std::any &) const |
virtual AthenaBarCode_t | getAthenaBarCode () const |
virtual void | setAthenaBarCode (AthenaBarCode_t) |
virtual bool | hasSameAthenaBarCode (const IAthenaBarCode &) const |
virtual bool | hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &) const |
virtual AthenaBarCodeVersion_t | getVersion () const |
virtual void | newVersion () |
virtual void | setVersion (AthenaBarCodeVersion_t) |
Static Public Attributes | |
static const AthenaBarCode_t | UNDEFINEDBARCODE = (AthenaBarCode_t)(-1) |
static const AthenaBarCode_t | UNDEFINEDVERSION = UNDEFINEDBARCODE |
Protected Attributes | |
double | m_pt |
double | m_eta |
double | m_phi |
double | m_m |
Private Attributes | |
int | m_roiID |
Identifier of the RoI. More... | |
float | m_Zvtx |
Z coordinate of the tau vertex. More... | |
float | m_err_Zvtx |
Error on z coordinate. More... | |
float | m_etCalibCluster |
Transverse energy of the calibrated tau cluster. More... | |
float | m_simpleEtFlow |
EtFlow as calculated from 3 fastest tracks and cluster with energy of first 3 EM samplings. More... | |
int | m_nMatchedTracks |
Number of tracks matched to the calorimeter cluster. More... | |
const TrigTauCluster * | m_cluster |
Calorimeter tau cluster. More... | |
const TrigTauTracksInfo * | m_tracksInfo |
Collection of inner detector tracks. More... | |
const TrigInDetTrackCollection * | m_tracks |
Collection of inner detector tracks. More... | |
float | m_trkAvgDist |
average distance of tracks to tau direction More... | |
float | m_etOverPtLeadTrk |
ration of cluster energy to leading pt track More... | |
File: TrigTau.h.
Description: To be created by the last FEX algorithm.
Design: Must be light and easy to serialize AND to store in ESD; should avoid ElementLinks and try to persistify pointers instead; should avoid inheritance to be easy to serialize.
Authour: M.P. Casado - Tu Mar 01 2006
Modified:
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
TrigTau::TrigTau | ( | ) |
File: TrigTau.cxx.
Description: To be created by the last FEX algorithm.
Design: Must be light and easy to serialize AND to store in ESD; should avoid ElementLinks and try to persistify pointers instead; should avoid inheritance to be easy to serialize.
Authour: M.P. Casado - Tu Mar 01 2006
Modified:
Definition at line 27 of file TrigTau.cxx.
TrigTau::TrigTau | ( | int | roi, |
float | eta, | ||
float | phi, | ||
float | zvtx, | ||
float | pt, | ||
float | err_zvtx, | ||
float | etCalib, | ||
float | etFlow, | ||
int | ntracks, | ||
const TrigTauCluster * | cluster, | ||
const TrigInDetTrackCollection * | tracks, | ||
const TrigTauTracksInfo * | tracksInfo | ||
) |
Definition at line 36 of file TrigTau.cxx.
TrigTau::TrigTau | ( | int | roi, |
float | eta = 0 , |
||
float | phi = 0 , |
||
float | zvtx = 0 , |
||
float | pt = 0 , |
||
float | etCalib = 0 , |
||
float | etFlow = 0 , |
||
int | ntracks = 0 , |
||
const TrigTauCluster * | cluster = NULL , |
||
const TrigInDetTrackCollection * | tracks = NULL , |
||
const TrigTauTracksInfo * | tracksInfo = NULL |
||
) |
Definition at line 52 of file TrigTau.cxx.
TrigTau::~TrigTau | ( | ) |
Definition at line 68 of file TrigTau.cxx.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Print I4Momentum
content.
Implements I4Momentum.
Definition at line 147 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
float TrigTau::err_Zvtx | ( | ) | const |
Definition at line 75 of file TrigTau.cxx.
|
virtualinherited |
Access to errors, if available; returns 0 if no errors.
Reimplemented from P4PtEtaPhiMBase.
Definition at line 7 of file P4PtEtaPhiM.cxx.
|
virtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Definition at line 101 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtualinherited |
float TrigTau::etCalibCluster | ( | ) | const |
Definition at line 77 of file TrigTau.cxx.
float TrigTau::etOverPtLeadTrk | ( | ) | const |
Definition at line 83 of file TrigTau.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in Rec::TrackParticle, Analysis::ParticleShallowClone, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, and AthenaBarCodeBase.
Definition at line 67 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
inlinevirtualinherited |
Reimplemented in Analysis::ParticleShallowClone, Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, and AthenaBarCodeBase.
Definition at line 85 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
inlinevirtualinherited |
Reimplemented in AthenaBarCodeBase, Rec::TrackParticle, Analysis::ParticleShallowClone, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, and ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >.
Definition at line 77 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
inlinevirtualinherited |
Reimplemented in AthenaBarCodeBase, Rec::TrackParticle, Analysis::ParticleShallowClone, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, and ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >.
Definition at line 81 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
virtualinherited |
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same
Implements I4Momentum.
Definition at line 128 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
inverse of transverse momentum
Implements I4Momentum.
Definition at line 106 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtualinherited |
tells what kind of P4XYZT this is
Implements I4Momentum.
Definition at line 64 of file P4PtEtaPhiMBase.h.
|
inlinevirtualinherited |
|
virtualinherited |
|
inlinevirtualinherited |
Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.
Definition at line 89 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
int TrigTau::nMatchedTracks | ( | ) | const |
Definition at line 81 of file TrigTau.cxx.
|
virtualinherited |
magnitude of 3-momentum.
Special implementation from Frank Paige : if negative energy p is negative but eta and phi still the same.
Implements I4Momentum.
Definition at line 27 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
square of momentum magnitude
Implements I4Momentum.
Definition at line 40 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
int TrigTau::roiId | ( | ) | const |
|
inlinevirtualinherited |
set all 4-mom from a CLHEP HepLorentzVector
Reimplemented from P4PtEtaPhiMBase.
Definition at line 140 of file P4PtEtaPhiM.h.
|
inlinevirtualinherited |
set all 4-mom from another I4Momentum reference
Reimplemented from P4PtEtaPhiMBase.
Definition at line 127 of file P4PtEtaPhiM.h.
|
inlinevirtualinherited |
set all 4-mom from another I4Momentum pointer
Reimplemented from P4PtEtaPhiMBase.
Definition at line 135 of file P4PtEtaPhiM.h.
|
inlinevirtualinherited |
Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.
Definition at line 71 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
void TrigTau::setErr_Zvtx | ( | float | err_zvtx | ) |
Definition at line 93 of file TrigTau.cxx.
|
inlinevirtualinherited |
void TrigTau::setEtCalibCluster | ( | float | etCalibCluster | ) |
Definition at line 94 of file TrigTau.cxx.
void TrigTau::setEtOverPtLeadTrk | ( | float | etOverPtLeadTrk | ) |
Definition at line 103 of file TrigTau.cxx.
|
inlinevirtualinherited |
void TrigTau::setNMatchedTracks | ( | int | nmatchedTracks | ) |
Definition at line 96 of file TrigTau.cxx.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
void TrigTau::setRoiId | ( | int | roiId | ) |
void TrigTau::setSimpleEtFlow | ( | float | etFlow | ) |
Definition at line 95 of file TrigTau.cxx.
void TrigTau::setTauCluster | ( | const TrigTauCluster * | tauCluster | ) |
Definition at line 97 of file TrigTau.cxx.
void TrigTau::setTrackCollection | ( | const TrigInDetTrackCollection * | trackColl | ) |
Definition at line 98 of file TrigTau.cxx.
void TrigTau::setTracksInfo | ( | const TrigTauTracksInfo * | trackInfo | ) |
Definition at line 100 of file TrigTau.cxx.
void TrigTau::setTrkAvgDist | ( | float | trkAvgDist | ) |
Definition at line 102 of file TrigTau.cxx.
|
inlinevirtualinherited |
Reimplemented in Rec::TrackParticle, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE >, ParticleSigStateImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, and AthenaBarCodeBase.
Definition at line 93 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
void TrigTau::setZvtx | ( | float | zvtx | ) |
Definition at line 92 of file TrigTau.cxx.
float TrigTau::simpleEtFlow | ( | ) | const |
Definition at line 79 of file TrigTau.cxx.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
const TrigTauCluster * TrigTau::tauCluster | ( | ) | const |
Definition at line 85 of file TrigTau.cxx.
const TrigInDetTrackCollection * TrigTau::trackCollection | ( | ) | const |
Definition at line 87 of file TrigTau.cxx.
const TrigTauTracksInfo * TrigTau::tracksInfo | ( | ) | const |
Definition at line 88 of file TrigTau.cxx.
float TrigTau::trkAvgDist | ( | ) | const |
Definition at line 82 of file TrigTau.cxx.
float TrigTau::Zvtx | ( | ) | const |
Definition at line 73 of file TrigTau.cxx.
|
private |
Calorimeter tau cluster.
|
private |
|
protectedinherited |
Definition at line 77 of file P4PtEtaPhiM.h.
|
private |
|
private |
|
protectedinherited |
Definition at line 79 of file P4PtEtaPhiM.h.
|
private |
|
protectedinherited |
Definition at line 78 of file P4PtEtaPhiM.h.
|
protectedinherited |
Definition at line 76 of file P4PtEtaPhiM.h.
|
private |
Identifier of the RoI.
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticinherited |
Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
staticinherited |
Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.