![]() |
ATLAS Offline Software
|
base class for kinematics of composite calo object More...
#include <CaloCompositeKineBase.h>
Public Types | |
| enum | Kind { P4EETAPHIM , P4IPTCOTTHPHIM , P4PTETAPHIM , P4PXPYPZE , UNKNOWN } |
Public Member Functions | |
| virtual | ~CaloCompositeKineBase () |
| Destructor. | |
| virtual double | energy () const |
| Return energy. | |
| double | energy_nonvirt () const |
| Return energy (nonvirtual version) | |
| void | setRecoStatus (const CaloRecoStatus &recStatus) |
| Set the reconstruction status. | |
| void | setRecoStatus (const CaloRecoStatus::StatusIndicator &recIndic) |
| Set the reconstruction status indicator (recommended) | |
| bool | checkRecoStatus (const CaloRecoStatus::StatusIndicator &recIndic) const |
| Check if a given indicator is set. | |
| void | removeRecoStatus (const CaloRecoStatus::StatusIndicator &recIndic) |
| Remove a given indicator. | |
| void | removeRecoStatus () |
| Remove all indicators. | |
| const CaloRecoStatus & | getRecoStatus () const |
| Retrieve the reconstruction status. | |
| virtual double | getBasicEnergy () const =0 |
| Return uncalibrated energy. | |
| virtual void | setBasicEnergy (double theEnergy)=0 |
| Set uncalibrated energy. | |
| virtual double | e () const |
| get energy data member | |
| virtual double | eta () const |
| get eta data member | |
| virtual double | phi () const |
| get phi data member | |
| virtual double | m () const |
| get mass data member | |
| virtual void | setE (double theE) |
| set energy data member | |
| virtual void | setEta (double theEta) |
| set eta data member | |
| virtual void | setPhi (double thePhi) |
| set phi data member | |
| virtual void | setM (double theM) |
| set mass data member | |
| virtual void | set4Mom (const I4Momentum &theI4Mom) |
| set all 4-mom from another I4Momentum reference | |
| virtual void | set4Mom (const I4Momentum *const theI4Mom) |
| set all 4-mom from another I4Momentum pointer | |
| virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv) |
| set all 4-mom from a CLHEP HepLorentzVector | |
| virtual const I4MomentumError * | errors () const |
| Access to errors, if available; returns 0 if no errors. | |
| virtual double | px () const |
| x component of momentum | |
| virtual double | py () const |
| y component of momentum | |
| virtual double | pz () const |
| z component of momentum | |
| virtual double | et () const |
| transverse energy defined to be e*sin(theta) | |
| virtual double | p () const |
| magnitude of 3-momentum. | |
| virtual double | p2 () const |
| square of momentum magnitude | |
| virtual double | m2 () const |
| mass squared | |
| virtual double | pt () const |
| transverse momentum | |
| virtual double | iPt () const |
| inverse of transverse momentum | |
| virtual double | rapidity () const |
| rapidity | |
| virtual double | cosPhi () const |
| cosinus phi | |
| virtual double | sinPhi () const |
| sinus phi | |
| virtual double | cotTh () const |
| cottan theta | |
| virtual double | cosTh () const |
| cosinus theta | |
| virtual double | sinTh () const |
| sinus theta | |
| virtual double | tanTh () const |
| tan theta | |
| 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. | |
| I4Momentum::Kind | kind () const |
| tells what kind of P4XYZT this is | |
| virtual std::ostream & | dump (std::ostream &out=std::cout) const |
Print I4Momentum content. | |
Protected Member Functions | |
| CaloCompositeKineBase () | |
| Constructor. | |
Protected Attributes | |
| CaloRecoStatus | m_status |
| Calorimeter reconstruction status. | |
| double | m_e |
| double | m_eta |
| double | m_phi |
| double | m_m |
base class for kinematics of composite calo object
Abstract base class provides a complete interface to all kinematic quantities available for composite calorimeter reconstruction objects. This class basically extends the P4EEtaPhiM base class.
Definition at line 12 of file CaloCompositeKineBase.h.
|
inherited |
| Enumerator | |
|---|---|
| P4EETAPHIM | |
| P4IPTCOTTHPHIM | |
| P4PTETAPHIM | |
| P4PXPYPZE | |
| UNKNOWN | |
Definition at line 33 of file I4Momentum.h.
|
virtual |
|
protected |
Constructor.
All kinematic variables are reset when constructed.
Definition at line 8 of file CaloCompositeKineBase.cxx.
|
inline |
|
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 |
Print I4Momentum content.
Implements I4Momentum.
Definition at line 159 of file P4EEtaPhiMBase.cxx.
|
inlinevirtualinherited |
get energy data member
Implements I4Momentum.
Reimplemented in CaloCluster, and CaloTower.
Definition at line 102 of file P4EEtaPhiM.h.
|
inlinevirtual |
|
inline |
|
virtualinherited |
Access to errors, if available; returns 0 if no errors.
Reimplemented from P4EEtaPhiMBase.
Definition at line 15 of file P4EEtaPhiM.cxx.
|
virtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Reimplemented in CaloCell.
Definition at line 106 of file P4EEtaPhiMBase.cxx.
|
inlinevirtualinherited |
get eta data member
Implements I4Momentum.
Reimplemented in CaloCluster, and CaloTower.
Definition at line 105 of file P4EEtaPhiM.h.
|
pure virtual |
Return uncalibrated energy.
Implemented in CaloCluster.
|
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.
|
inlinevirtualinherited |
tells what kind of P4XYZT this is
Implements I4Momentum.
Definition at line 65 of file P4EEtaPhiMBase.h.
|
inlinevirtualinherited |
get mass data member
Implements I4Momentum.
Reimplemented in CaloCluster, and CaloTower.
Definition at line 111 of file P4EEtaPhiM.h.
|
virtualinherited |
|
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.
|
inlinevirtualinherited |
get phi data member
Implements I4Momentum.
Reimplemented in CaloCluster, and CaloTower.
Definition at line 108 of file P4EEtaPhiM.h.
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
rapidity
Implements I4Momentum.
Definition at line 115 of file P4EEtaPhiMBase.cxx.
|
inline |
Remove all indicators.
Definition at line 101 of file CaloCompositeKineBase.h.
|
inline |
Remove a given indicator.
Definition at line 96 of file CaloCompositeKineBase.h.
|
inlinevirtualinherited |
set all 4-mom from a CLHEP HepLorentzVector
Reimplemented from P4EEtaPhiMBase.
Reimplemented in CaloCluster.
Definition at line 139 of file P4EEtaPhiM.h.
|
inlinevirtualinherited |
set all 4-mom from another I4Momentum reference
Reimplemented from P4EEtaPhiMBase.
Reimplemented in CaloCluster.
Definition at line 126 of file P4EEtaPhiM.h.
|
inlinevirtualinherited |
set all 4-mom from another I4Momentum pointer
Reimplemented from P4EEtaPhiMBase.
Reimplemented in CaloCluster.
Definition at line 134 of file P4EEtaPhiM.h.
|
pure virtual |
|
inlinevirtualinherited |
set energy data member
Reimplemented in CaloCluster.
Definition at line 114 of file P4EEtaPhiM.h.
|
inlinevirtualinherited |
set eta data member
Reimplemented in CaloCluster.
Definition at line 117 of file P4EEtaPhiM.h.
|
inlinevirtualinherited |
set mass data member
Reimplemented in CaloCluster.
Definition at line 123 of file P4EEtaPhiM.h.
|
inlinevirtualinherited |
set phi data member
Reimplemented in CaloCluster.
Definition at line 120 of file P4EEtaPhiM.h.
|
inline |
Set the reconstruction status.
Definition at line 82 of file CaloCompositeKineBase.h.
|
inline |
Set the reconstruction status indicator (recommended)
Definition at line 86 of file CaloCompositeKineBase.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 |
tan theta
Implements I4Momentum.
Definition at line 64 of file P4EEtaPhiMBase.cxx.
|
protectedinherited |
Definition at line 75 of file P4EEtaPhiM.h.
|
protectedinherited |
Definition at line 76 of file P4EEtaPhiM.h.
|
protectedinherited |
Definition at line 78 of file P4EEtaPhiM.h.
|
protectedinherited |
Definition at line 77 of file P4EEtaPhiM.h.
|
protected |
Calorimeter reconstruction status.
Definition at line 58 of file CaloCompositeKineBase.h.