ATLAS Offline Software
|
Data object for each calorimeter readout cell. More...
#include <CaloCell.h>
Public Types | |
enum | Kind { P4EETAPHIM, P4IPTCOTTHPHIM, P4PTETAPHIM, P4PXPYPZE, UNKNOWN } |
Public Member Functions | |
CaloCell () | |
default constructor (should not be used, only there for persistency reason) More... | |
CaloCell (const CaloDetDescrElement *caloDDE, float energy, float time, double quality, CaloGain::CaloGain gain) | |
Legacy constructor. More... | |
CaloCell (const CaloDetDescrElement *caloDDE, float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain) | |
Main constructor. More... | |
CaloCell (const CaloDetDescrElement *caloDDE, const Identifier &ID, float energy, float time, double quality, CaloGain::CaloGain gain) | |
Legacy constructor for MBTS cells which doesn't use caloDDE to get ID. More... | |
CaloCell (const CaloDetDescrElement *caloDDE, const Identifier &ID, float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain) | |
Main constructor for MBTS cells which doesn't use caloDDE to get ID. More... | |
virtual | ~CaloCell () |
default destructor More... | |
void | assign (const CaloDetDescrElement *caloDDE, const Identifier &ID, float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain) |
For initializing a cell we get from a DataPool . More... | |
double | energy () const |
get energy (data member) More... | |
virtual double | phi () const override final |
get phi (through CaloDetDescrElement) More... | |
virtual double | eta () const override final |
get eta (through CaloDetDescrElement) More... | |
virtual double | sinTh () const override final |
get sin(theta) (through CaloDetDescrElement) More... | |
virtual double | cosTh () const override final |
get cos(theta) (derived from sinTh) More... | |
virtual double | sinPhi () const override final |
get sin(phi) More... | |
virtual double | cosPhi () const override final |
get cos(phi) More... | |
virtual double | cotTh () const override final |
get cottan(theta) More... | |
virtual double | m () const override final |
get mass (hardcoded to be null) More... | |
virtual double | e () const override final |
get energy (data member) (synonym to method energy() More... | |
virtual double | et () const override final |
get et More... | |
float | x () const |
get x (through CaloDetDescrElement) More... | |
float | y () const |
get y (through CaloDetDescrElement) More... | |
float | z () const |
get z (through CaloDetDescrElement) More... | |
Identifier | ID () const |
get ID (from cached data member) non-virtual and inline for fast access More... | |
float | time () const |
get time (data member) More... | |
uint16_t | quality () const |
get quality (data member) More... | |
uint16_t | provenance () const |
get provenance (data member) More... | |
CaloGain::CaloGain | gain () const |
get gain (data member ) More... | |
virtual bool | badcell () const |
check is cell is dead More... | |
const CaloDetDescrElement * | caloDDE () const |
get pointer to CaloDetDescrElement (data member) More... | |
virtual void | setCaloDDE (const CaloDetDescrElement *caloDDE) |
set pointer to CaloDetDescrElement More... | |
virtual void | setEnergy (float energy) |
set energy More... | |
virtual void | addEnergy (float energy) |
add energy More... | |
virtual void | scaleEnergy (float scale) |
scale energy More... | |
virtual void | setTime (float time) |
set time More... | |
virtual void | setQuality (uint16_t quality) |
set quality More... | |
virtual void | setQuality (double quality) |
set Quality (obsolete) More... | |
void | setProvenance (uint16_t prov) |
set Provenance More... | |
void | setGain (CaloGain::CaloGain gain=CaloGain::INVALIDGAIN) |
set gain More... | |
virtual void | set4Mom (const I4Momentum *const theI4Mom) override final |
set 4Momentum (will throw exception since cannot be implemented) More... | |
virtual void | set4Mom (const I4Momentum &theI4Mom) override final |
set 4Momentum (will throw exception since cannot be implemented) More... | |
virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) override final |
set 4Momentum (will throw exception since cannot be implemented) More... | |
virtual std::unique_ptr< CaloCell > | clone () const |
clone a CaloCell More... | |
void | set (const CaloDetDescrElement *caloDDE, const Identifier &ID) |
Fast method to change the identity of a cell. More... | |
void | set (float energy, float time, uint16_t quality, uint16_t provenance, CaloGain::CaloGain gain) |
Fast method to change the data of a cell. More... | |
void | set (float energy, float time, double quality, CaloGain::CaloGain gain) |
Fast method to change the data of a cell. 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 | 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 | 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... | |
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 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) |
virtual void | fillToken (INavigationToken &thisToken) const =0 |
virtual void | fillToken (INavigationToken &thisToken, const std::any &weight) const =0 |
virtual void | fillToken (INavigationToken &) const |
virtual void | fillToken (INavigationToken &, const std::any &) const |
Static Public Attributes | |
static const AthenaBarCode_t | UNDEFINEDBARCODE = (AthenaBarCode_t)(-1) |
static const AthenaBarCode_t | UNDEFINEDVERSION = UNDEFINEDBARCODE |
Protected Attributes | |
float | m_energy |
energy (in MeV) More... | |
float | m_time |
time More... | |
union { | |
int m_quality = 0 | |
uint16_t m_qualProv [2] | |
uint8_t m_tileQual [4] | |
}; | |
quality More... | |
Identifier | m_ID |
offline identifier More... | |
CaloGain::CaloGain | m_gain |
gain More... | |
const CaloDetDescrElement * | m_caloDDE |
pointer to static CaloDetDescrElement to access information that does not change from event to event More... | |
Data object for each calorimeter readout cell.
CaloCell is a class with nearly all information on a calorimeter cell in a given event. It has 4-momentum behavior through P4EEtaPhiMBase inheritance, and Navigable behavior through INavigable4Momentum, and NavigableTerminalNode inheritance. Further static information can be obtained through the CaloDetDescrElement obtained with caloDDE() method. CaloCell is a base class to LArCell and TileCell.
Definition at line 54 of file CaloCell.h.
|
inherited |
Enumerator | |
---|---|
P4EETAPHIM | |
P4IPTCOTTHPHIM | |
P4PTETAPHIM | |
P4PXPYPZE | |
UNKNOWN |
Definition at line 33 of file I4Momentum.h.
|
inline |
default constructor (should not be used, only there for persistency reason)
Definition at line 247 of file CaloCell.h.
CaloCell::CaloCell | ( | const CaloDetDescrElement * | caloDDE, |
float | energy, | ||
float | time, | ||
double | quality, | ||
CaloGain::CaloGain | gain | ||
) |
CaloCell::CaloCell | ( | const CaloDetDescrElement * | caloDDE, |
float | energy, | ||
float | time, | ||
uint16_t | quality, | ||
uint16_t | provenance, | ||
CaloGain::CaloGain | gain | ||
) |
CaloCell::CaloCell | ( | const CaloDetDescrElement * | caloDDE, |
const Identifier & | ID, | ||
float | energy, | ||
float | time, | ||
double | quality, | ||
CaloGain::CaloGain | gain | ||
) |
CaloCell::CaloCell | ( | const CaloDetDescrElement * | caloDDE, |
const Identifier & | ID, | ||
float | energy, | ||
float | time, | ||
uint16_t | quality, | ||
uint16_t | provenance, | ||
CaloGain::CaloGain | gain | ||
) |
Main constructor for MBTS cells which doesn't use caloDDE to get ID.
Definition at line 69 of file CaloCell.cxx.
|
virtual |
|
virtual |
|
inline |
|
virtual |
check is cell is dead
Reimplemented in TileCell, and LArCell.
Definition at line 210 of file CaloCell.cxx.
|
inline |
get pointer to CaloDetDescrElement (data member)
Definition at line 305 of file CaloCell.h.
|
virtual |
|
inlinefinaloverridevirtual |
|
inlinefinaloverridevirtual |
get cos(theta) (derived from sinTh)
Reimplemented from P4EEtaPhiMBase.
Definition at line 380 of file CaloCell.h.
|
inlinefinaloverridevirtual |
|
virtualinherited |
|
inlinefinaloverridevirtual |
get energy (data member) (synonym to method energy()
Implements I4Momentum.
Definition at line 317 of file CaloCell.h.
|
inline |
get energy (data member)
Definition at line 311 of file CaloCell.h.
|
virtualinherited |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
Reimplemented in P4EEtaPhiM.
Definition at line 175 of file P4EEtaPhiMBase.cxx.
|
inlinefinaloverridevirtual |
|
inlinefinaloverridevirtual |
get eta (through CaloDetDescrElement)
Implements I4Momentum.
Definition at line 366 of file CaloCell.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
pure virtualinherited |
Implemented in egamma, eflowObject, Analysis::TauJet, 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 >, Analysis::Muon, 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 >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, Jet, Navigable< CONT, RPAR, COLL >, Navigable< INavigable4MomentumCollection, MissingETHandlers::Weight >, Navigable< MuonContainer, double >, Navigable< INavigable4MomentumCollection, double >, Navigable< DataVector< INavigable4Momentum > >, Navigable< EMShowerMinimalContainer, double >, Navigable< CaloClusterContainer, double >, Navigable< PhotonContainer, double >, Navigable< ExampleHitContainer, double >, Navigable< ExampleHitContainer >, Navigable< Analysis::MuonContainer, double >, Navigable< DataVector< INavigable4Momentum >, double >, Navigable< CaloCellLinkContainer, double >, Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, Navigable< Rec::TrackParticleContainer, double >, Navigable< CaloCellContainer, double >, Navigable< egammaContainer, double >, Navigable< ElectronContainer, double >, Navigable< TruthParticleContainer, double >, Navigable< JetCollection, double >, CaloClusterNavigable, Analysis::ParticleShallowClone, Analysis::ISvxConstituent, Analysis::ISvxAssociation, Analysis::MuonAssociation, and NavigableTerminalNode.
|
pure virtualinherited |
Implemented in 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 >, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, eflowObject, egamma, Analysis::TauJet, Analysis::Muon, Navigable< CONT, RPAR, COLL >, Navigable< INavigable4MomentumCollection, MissingETHandlers::Weight >, Navigable< MuonContainer, double >, Navigable< INavigable4MomentumCollection, double >, Navigable< DataVector< INavigable4Momentum > >, Navigable< EMShowerMinimalContainer, double >, Navigable< CaloClusterContainer, double >, Navigable< PhotonContainer, double >, Navigable< ExampleHitContainer, double >, Navigable< ExampleHitContainer >, Navigable< Analysis::MuonContainer, double >, Navigable< DataVector< INavigable4Momentum >, double >, Navigable< CaloCellLinkContainer, double >, Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, Navigable< Rec::TrackParticleContainer, double >, Navigable< CaloCellContainer, double >, Navigable< egammaContainer, double >, Navigable< ElectronContainer, double >, Navigable< TruthParticleContainer, double >, Navigable< JetCollection, double >, Jet, CaloClusterNavigable, Analysis::ParticleShallowClone, Analysis::ISvxConstituent, Analysis::ISvxAssociation, Analysis::MuonAssociation, and NavigableTerminalNode.
|
inline |
|
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.
Reimplemented in CaloCluster.
Definition at line 134 of file P4EEtaPhiMBase.cxx.
|
inline |
get ID (from cached data member) non-virtual and inline for fast access
Definition at line 279 of file CaloCell.h.
|
virtualinherited |
inverse of transverse momentum
Implements I4Momentum.
Definition at line 111 of file P4EEtaPhiMBase.cxx.
|
inlinevirtualinherited |
tells what kind of P4XYZT this is
Implements I4Momentum.
Definition at line 65 of file P4EEtaPhiMBase.h.
|
inlinefinaloverridevirtual |
|
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 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.
|
inlinefinaloverridevirtual |
get phi (through CaloDetDescrElement)
Implements I4Momentum.
Definition at line 359 of file CaloCell.h.
|
inline |
get provenance (data member)
Definition at line 338 of file CaloCell.h.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
inline |
get quality (data member)
Definition at line 332 of file CaloCell.h.
|
virtualinherited |
|
virtual |
void CaloCell::set | ( | const CaloDetDescrElement * | caloDDE, |
const Identifier & | ID | ||
) |
void CaloCell::set | ( | float | energy, |
float | time, | ||
double | quality, | ||
CaloGain::CaloGain | gain | ||
) |
void CaloCell::set | ( | float | energy, |
float | time, | ||
uint16_t | quality, | ||
uint16_t | provenance, | ||
CaloGain::CaloGain | gain | ||
) |
|
finaloverridevirtual |
set 4Momentum (will throw exception since cannot be implemented)
Reimplemented from P4EEtaPhiMBase.
Definition at line 193 of file CaloCell.cxx.
|
finaloverridevirtual |
set 4Momentum (will throw exception since cannot be implemented)
Reimplemented from P4EEtaPhiMBase.
Definition at line 187 of file CaloCell.cxx.
|
finaloverridevirtual |
set 4Momentum (will throw exception since cannot be implemented)
Reimplemented from P4EEtaPhiMBase.
Definition at line 179 of file CaloCell.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.
|
virtual |
set pointer to CaloDetDescrElement
Definition at line 127 of file CaloCell.cxx.
|
virtual |
void CaloCell::setGain | ( | CaloGain::CaloGain | gain = CaloGain::INVALIDGAIN | ) |
void CaloCell::setProvenance | ( | uint16_t | prov | ) |
set Provenance
Definition at line 167 of file CaloCell.cxx.
|
virtual |
|
virtual |
|
virtual |
|
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.
|
inlinefinaloverridevirtual |
|
inlinefinaloverridevirtual |
get sin(theta) (through CaloDetDescrElement)
Reimplemented from P4EEtaPhiMBase.
Definition at line 373 of file CaloCell.h.
|
virtualinherited |
|
inline |
|
inline |
get x (through CaloDetDescrElement)
Definition at line 413 of file CaloCell.h.
|
inline |
get y (through CaloDetDescrElement)
Definition at line 420 of file CaloCell.h.
|
inline |
get z (through CaloDetDescrElement)
Definition at line 427 of file CaloCell.h.
union { ... } |
quality
|
protected |
pointer to static CaloDetDescrElement to access information that does not change from event to event
Definition at line 240 of file CaloCell.h.
|
protected |
energy (in MeV)
Definition at line 214 of file CaloCell.h.
|
protected |
gain
Definition at line 237 of file CaloCell.h.
|
protected |
offline identifier
Definition at line 235 of file CaloCell.h.
int CaloCell::m_quality = 0 |
Definition at line 229 of file CaloCell.h.
uint16_t CaloCell::m_qualProv[2] |
Definition at line 230 of file CaloCell.h.
uint8_t CaloCell::m_tileQual[4] |
Definition at line 231 of file CaloCell.h.
|
protected |
time
Definition at line 216 of file CaloCell.h.
|
staticinherited |
Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
staticinherited |
Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.