ATLAS Offline Software
|
Jet RoI class for analysis. More...
#include <Jet_ROI.h>
Public Types | |
typedef std::vector< std::string > | thresholds_type |
Type storing the names of the passed thresholds. More... | |
typedef std::vector< float > | thr_value_type |
Type storing the values of the passed thresholds. More... | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
Jet_ROI (uint32_t roiWord, float eta, float phi, uint32_t thrPattern) | |
Constructor used when creating the object from RoIBResult data. More... | |
Jet_ROI () | |
Default constructor (for persistency purposes) More... | |
virtual | ~Jet_ROI () |
Destructor. More... | |
uint32_t | getROIWord () const |
Return the RoI word produced by the L1Calo hardware. More... | |
float | getEta () const |
Legacy function returning the eta coordinate of the RoI. More... | |
float | getPhi () const |
Legacy function returning the phi coordinate of the RoI. More... | |
uint32_t | getThrPattern () const |
Return the bit-pattern describing the passed thresholds. More... | |
float | getET4x4 () const |
Return the ET deposited in a 4x4 cluster. More... | |
float | getET6x6 () const |
Return the ET deposited in a 6x6 cluster. More... | |
float | getET8x8 () const |
Return the ET deposited in an 8x8 cluster. More... | |
const thresholds_type & | getThresholdNames () const |
Return the names of the passed threshodlds. More... | |
const thr_value_type & | getThresholdValues () const |
Return the values of the passed thresholds. More... | |
void | addThresholdName (thresholds_type::value_type thr) |
Add the name of a threshold that this RoI passed. More... | |
void | addThresholdValue (thr_value_type::value_type thr) |
Add the value of a threshold that this RoI passed. More... | |
void | setET4x4 (float value) |
Set the ET deposited in a 4x4 cluster. More... | |
void | setET6x6 (float value) |
Set the ET deposited in a 6x6 cluster. More... | |
void | setET8x8 (float value) |
Set the ET deposited in an 8x8 cluster. More... | |
virtual double | pt () const |
Return the pT of the highest threshold passed. More... | |
virtual double | eta () const |
Return the eta coordinate of the center of the RoI. More... | |
virtual double | phi () const |
Return the phi coordinate of the center of the RoI. More... | |
virtual double | m () const |
Return the mass of the object, always 0.0 for RoIs. 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... | |
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) 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 | |
uint32_t | m_roiWord |
32bit encoded ROI word More... | |
float | m_eta |
eta coordinate of RoI More... | |
float | m_phi |
phi coordinate of RoI More... | |
uint32_t | m_thrPattern |
threshold bit pattern More... | |
thresholds_type | m_thresholdNames |
Names of the passed thresholds. More... | |
thr_value_type | m_thresholdValues |
Values of the passed thresholds. More... | |
float | m_ET4x4 |
ET sum in a 4x4 cluster. More... | |
float | m_ET6x6 |
ET sum in a 6x6 cluster. More... | |
float | m_ET8x8 |
ET sum in an 8x8 cluster. More... | |
Jet RoI class for analysis.
As the others, this RoI class also inherits from INavigable4Momentum to make handling it a bit easier in analyses.
typedef std::vector< float > Jet_ROI::thr_value_type |
typedef std::vector< std::string > Jet_ROI::thresholds_type |
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
Jet_ROI::Jet_ROI | ( | uint32_t | roiWord, |
float | eta, | ||
float | phi, | ||
uint32_t | thrPattern | ||
) |
Constructor used when creating the object from RoIBResult data.
This is the constructor used by the RoIBResultToAOD algorithm.
It shouldn't be too interesting to the users.
Definition at line 15 of file Jet_ROI.cxx.
Jet_ROI::Jet_ROI | ( | ) |
Default constructor (for persistency purposes)
This constructor just initialises every member to a reasonable starting value.
Definition at line 27 of file Jet_ROI.cxx.
|
virtual |
Destructor.
The destructor is virtual, since the base classes have virtual functions...
Definition at line 40 of file Jet_ROI.cxx.
|
inline |
|
inline |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
Print I4Momentum
content.
Implements I4Momentum.
Definition at line 147 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
|
virtualinherited |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 162 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Definition at line 101 of file P4PtEtaPhiMBase.cxx.
|
inlinevirtual |
Return the eta coordinate of the center of the RoI.
Implements I4Momentum.
Definition at line 80 of file Jet_ROI.h.
|
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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.
|
inlinevirtual |
Return the mass of the object, always 0.0 for RoIs.
Implements I4Momentum.
|
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.
|
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.
|
inlinevirtual |
Return the phi coordinate of the center of the RoI.
Implements I4Momentum.
Definition at line 82 of file Jet_ROI.h.
|
virtual |
Return the pT of the highest threshold passed.
The pT of the Jet RoI is calculated as the highest threshold value that this RoI passed.
It's not too useful like this, but that's on purpose. Any analysis has to use the detailed properties of the RoI, not just a single value describing its transverse momentum.
Implements I4Momentum.
Definition at line 52 of file Jet_ROI.cxx.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
set all 4-mom from a CLHEP HepLorentzVector DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 180 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
set all 4-mom from another I4Momentum reference DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 167 of file P4PtEtaPhiMBase.cxx.
|
virtualinherited |
set all 4-mom from another I4Momentum pointer DUMMY IMPLEMENTATION
Implements I4Momentum.
Reimplemented in P4PtEtaPhiM.
Definition at line 173 of file P4PtEtaPhiMBase.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 71 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
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 |
|
virtualinherited |
|
virtualinherited |
|
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.