ATLAS Offline Software
|
LVL2 Trigger Jet Class. More...
#include <TrigT2Jet.h>
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
TrigT2Jet () | |
Constructor. More... | |
~TrigT2Jet () | |
Destructor. More... | |
double | e () const |
Return jet energy. More... | |
double | ehad0 () const |
Return the hadronic energy of the jet, calculated before calibration. More... | |
double | eem0 () const |
Return the electromagnetic energy of the jet, calculated before the calibration. More... | |
double | eta () const |
Return jet eta. More... | |
double | phi () const |
Return jet phi. More... | |
double | m () const |
Return the jet mass - if we constrain, no need to store. More... | |
unsigned int | RoIword () const |
Return the cone Radius. More... | |
std::vector< Trig3Momentum > * | grid () |
Trig3Momentum entities making part of Jet are stored in a grid. More... | |
const std::vector< Trig3Momentum > * | grid () const |
int | nLeadingCells () const |
Return nLeadingCells (e.g. More... | |
float | hecf () const |
Return fraction of energy in HEC. More... | |
float | jetQuality () const |
Return fraction of jet energy from bad cells. More... | |
float | emf () const |
Return fraction of energy in EMC. More... | |
float | jetTimeCells () const |
Return jet time calculated from cells. More... | |
void | setE (double e) |
set Jet energy More... | |
void | setEhad0 (double ehad) |
Set Hadronic energy. More... | |
void | setEem0 (double eem) |
Set Electromagnetic energy. More... | |
void | setEta (double eta) |
set Jet eta More... | |
void | setPhi (double phi) |
set Jet phi More... | |
void | setGrid (std::vector< Trig3Momentum > *grid) |
set Jet cone Radius More... | |
void | set_RoIword (unsigned int word) |
set RoI Word More... | |
void | setNLeadingCells (int nLeadingCells) |
Set nLeadingCells (e.g. More... | |
void | setHecf (float hecf) |
Set fraction of energy in HEC. More... | |
void | setJetQuality (float jetQuality) |
Set fraction of jet energy from bad cells. More... | |
void | setEmf (float emf) |
Set fraction of energy in EMC. More... | |
void | setJetTimeCells (float jetTimeCells) |
Set jet time calculated from cells. 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 | et () const |
transverse energy defined to be e*sin(theta) 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 | pt () const |
transverse momentum 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... | |
virtual const I4MomentumError * | errors () const |
Access to errors, if available; returns 0 if no errors. More... | |
virtual void | set4Mom (const I4Momentum &theI4Mom) |
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION More... | |
virtual void | set4Mom (const I4Momentum *const theI4Mom) |
set all 4-mom from another I4Momentum pointer DUMMY IMPLEMENTATION More... | |
virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
set all 4-mom from a CLHEP HepLorentzVector DUMMY IMPLEMENTATION More... | |
I4Momentum::Kind | kind () const |
tells what kind of P4XYZT this is More... | |
virtual std::ostream & | dump (std::ostream &out=std::cout) 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 |
Private Attributes | |
double | m_e |
Jet energy. More... | |
double | m_ehad0 |
Hadronic Jet Energy before calibration. More... | |
double | m_eem0 |
Electromagnetic Jet Energy before calibration. More... | |
double | m_eta |
Jet eta. More... | |
double | m_phi |
Jet phi. More... | |
std::vector< Trig3Momentum > * | m_grid |
Jet coneRadius. More... | |
unsigned int | m_roiWord |
RoI Word. More... | |
int | m_nLeadingCells |
Jet nLeadingCells (e.g. More... | |
float | m_hecf |
Fraction of energy in HEC. More... | |
float | m_jetQuality |
fraction of jet energy from bad cells More... | |
float | m_emf |
Fraction of energy in EMC. More... | |
float | m_jetTimeCells |
Jet time. More... | |
LVL2 Trigger Jet Class.
Definition at line 31 of file TrigT2Jet.h.
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
TrigT2Jet::TrigT2Jet | ( | ) |
Constructor.
Definition at line 9 of file TrigT2Jet.cxx.
TrigT2Jet::~TrigT2Jet | ( | ) |
|
virtualinherited |
cosinus phi
Implements I4Momentum.
Reimplemented in CaloCell, and CaloVertexedCell.
Definition at line 54 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
cosinus theta
Implements I4Momentum.
Reimplemented in CaloCell, and CaloVertexedCell.
Definition at line 82 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
cottan theta
Implements I4Momentum.
Reimplemented in CaloCell.
Definition at line 77 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
|
inlinevirtual |
|
inline |
Return the electromagnetic energy of the jet, calculated before the calibration.
Definition at line 45 of file TrigT2Jet.h.
|
inline |
Return the hadronic energy of the jet, calculated before calibration.
Definition at line 43 of file TrigT2Jet.h.
|
inline |
|
virtualinherited |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
Reimplemented in P4EEtaPhiM.
Definition at line 175 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Reimplemented in CaloCell.
Definition at line 106 of file P4EEtaPhiMBase.cxx.
|
inlinevirtual |
|
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.
|
inline |
Trig3Momentum entities making part of Jet are stored in a grid.
Definition at line 59 of file TrigT2Jet.h.
|
inline |
Definition at line 60 of file TrigT2Jet.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.
|
inline |
|
virtualinherited |
HepLorentzVector Special implementation from Frank Paige : if negative energy, points in opposite direction but eta and phi still the same
Implements I4Momentum.
Reimplemented in CaloCluster.
Definition at line 134 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
inverse of transverse momentum
Implements I4Momentum.
Definition at line 111 of file P4EEtaPhiMBase.cxx.
|
inline |
|
inline |
|
inlinevirtualinherited |
tells what kind of P4XYZT this is
Implements I4Momentum.
Definition at line 65 of file P4EEtaPhiMBase.h.
|
inlinevirtual |
Return the jet mass - if we constrain, no need to store.
Implements I4Momentum.
Definition at line 51 of file TrigT2Jet.h.
|
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.
|
inline |
|
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 21 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
square of momentum magnitude
This p2() implementaion is derived from the (somewhat unusual) Frank Paige implementation used to calculate p() above. What we do is look at what would happen if we were to square the answer returned by Frank's algorithm:
(1) The "eSign" would square to +1 and disappear, (2) The sqrt would disappear leaving theE*theE-theM*theM (3) In the event that theM==0, this theE*theE would indeed still equal theE*theE-theM*theM, so we simply return this quantity.
Implements I4Momentum.
Definition at line 39 of file P4EEtaPhiMBase.cxx.
|
inlinevirtual |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inline |
|
virtualinherited |
set all 4-mom from a CLHEP HepLorentzVector DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in CaloCell, P4EEtaPhiM, and CaloCluster.
Definition at line 194 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in CaloCell, P4EEtaPhiM, and CaloCluster.
Definition at line 181 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
set all 4-mom from another I4Momentum pointer DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in CaloCell, P4EEtaPhiM, and CaloCluster.
Definition at line 187 of file P4EEtaPhiMBase.cxx.
|
inline |
|
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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.
|
virtualinherited |
sinus phi
Implements I4Momentum.
Reimplemented in CaloCell, and CaloVertexedCell.
Definition at line 59 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
sinus theta
Implements I4Momentum.
Reimplemented in CaloCell, and CaloVertexedCell.
Definition at line 87 of file P4EEtaPhiMBase.cxx.
|
virtualinherited |
|
private |
Jet energy.
Definition at line 108 of file TrigT2Jet.h.
|
private |
Electromagnetic Jet Energy before calibration.
Definition at line 112 of file TrigT2Jet.h.
|
private |
Hadronic Jet Energy before calibration.
Definition at line 110 of file TrigT2Jet.h.
|
private |
Fraction of energy in EMC.
Definition at line 134 of file TrigT2Jet.h.
|
private |
Jet eta.
Definition at line 114 of file TrigT2Jet.h.
|
private |
Jet coneRadius.
vector of Trig3Momentum elements that compose Jet
Definition at line 121 of file TrigT2Jet.h.
|
private |
Fraction of energy in HEC.
Definition at line 130 of file TrigT2Jet.h.
|
private |
fraction of jet energy from bad cells
Definition at line 132 of file TrigT2Jet.h.
|
private |
Jet time.
Definition at line 136 of file TrigT2Jet.h.
|
private |
|
private |
Jet phi.
Definition at line 116 of file TrigT2Jet.h.
|
private |
RoI Word.
Definition at line 124 of file TrigT2Jet.h.
|
staticinherited |
Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
staticinherited |
Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.