![]() |
ATLAS Offline Software
|
Test class for D3PD maker. More...
#include <Obj3.h>
Public Types | |
| typedef NavigableTerminalNode | navigable_type |
| publish the type of the base class (ie: 'traits-itize' it) | |
| typedef P4PtEtaPhiM | momentum_type |
| publish the type of the base class (ie: 'traits-itize' it) | |
| typedef ParticleEvent::Base | particle_type |
| publish the type of the base class (ie: 'traits-itize' it) | |
| typedef ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM, ParticleEvent::Base > | self_type |
| publish the type of the base class (ie: 'traits-itize' it) | |
| enum | Kind { P4EETAPHIM , P4IPTCOTTHPHIM , P4PTETAPHIM , P4PXPYPZE , UNKNOWN } |
Public Member Functions | |
| Obj3 () | |
| Obj3 (double pt, double eta, double phi, double m) | |
| const navigable_type & | navigableBase () const |
| access to underlying base type (INavigable-like) | |
| const momentum_type & | momentumBase () const |
| access to underlying base type (I4Momentum-like) | |
| const particle_type & | particleBase () const |
| access to underlying base type (IParticle-like) | |
| virtual void | fillToken (INavigationToken &thisToken, const std::any &weight) const =0 |
| virtual void | set4Mom (const I4Momentum &p4) |
| set 4Momentum (will throw exception if cannot be implemented) | |
| virtual void | set4Mom (const I4Momentum *const theI4Mom)=0 |
| set 4Momentum (will throw exception if cannot be implemented) | |
| virtual void | set4Mom (const CLHEP::HepLorentzVector &theHlv)=0 |
| set 4Momentum (will throw exception if cannot be implemented) | |
| virtual void | set_dataType (ParticleDataType::DataType x) |
| virtual void | set_charge (ChargeType x) |
| virtual void | set_pdgId (int x) |
| virtual void | set_origin (const VxContainer *theContainer, int index) |
| virtual void | fillToken (INavigationToken &thisToken) const |
| AthenaBarCode_t | getAthenaBarCode () const |
| void | setAthenaBarCode (AthenaBarCode_t) |
| bool | hasSameAthenaBarCode (const IAthenaBarCode &) const |
| bool | hasSameAthenaBarCodeExceptVersion (const IAthenaBarCode &) const |
| AthenaBarCodeVersion_t | getVersion () const |
| void | newVersion () |
| void | setVersion (AthenaBarCodeVersion_t newversion) |
| 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 | m () const |
| mass | |
| virtual double | m2 () const |
| mass squared | |
| virtual double | p () const |
| mass momentum magnitude | |
| virtual double | p2 () const |
| square of momentum magnitude | |
| virtual double | rapidity () const |
| rapidity | |
| virtual double | eta () const |
| pseudo rapidity | |
| virtual double | phi () const |
| phi in [-pi,pi[ | |
| virtual double | e () const |
| energy | |
| virtual double | et () const |
| transverse energy defined to be e*sin(theta) | |
| virtual double | pt () const |
| transverse momentum | |
| virtual double | iPt () const |
| inverse of transverse momentum | |
| virtual double | cosPhi () const |
| cosinus phi | |
| virtual double | sinPhi () const |
| sinus phi | |
| virtual double | tanTh () const |
| tan theta | |
| virtual double | cosTh () const |
| cosinus theta | |
| virtual double | sinTh () const |
| sinus theta | |
| virtual double | cotTh () const |
| cottan theta | |
| virtual CLHEP::HepLorentzVector | hlv () const |
| CLHEP HepLorentzVector. | |
| virtual const I4MomentumError * | errors () const |
| Access to errors, if available; returns 0 if no errors. | |
| virtual I4Momentum::Kind | kind () const |
| add Kind which tells what kind (P4XYZ) the underlying implementation has | |
| virtual std::ostream & | dump (std::ostream &out) const |
Print I4Momentum content. | |
| virtual ParticleDataType::DataType | dataType () const |
| Return enum indicating real data, fast, or full simulation Return Type has a DataType enum with the following values: {Data = 0, Full = 1, FastShower = 2, Fast = 3, True = 4}. | |
| virtual const Trk::RecVertex * | origin () const |
| Return a RecVertex corresponding to particle Origin. | |
| virtual const ElementLink< VxContainer > & | originLink () const |
| Return an ElementLink corresponding to particle's Origin. | |
| virtual bool | hasCharge () const |
| method to check if charge information is available | |
| virtual ChargeType | charge () const |
| returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface | |
| virtual bool | hasPdgId () const |
| method to check if particle id information is available | |
| virtual int | pdgId () const |
| Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h. | |
Static Public Attributes | |
| static const AthenaBarCode_t | UNDEFINEDBARCODE = (AthenaBarCode_t)(-1) |
| static const AthenaBarCode_t | UNDEFINEDVERSION = UNDEFINEDBARCODE |
Private Attributes | |
| NavigableTerminalNode | m_nav |
| The navigable part. | |
| P4PtEtaPhiM | m_mom |
| The 4-momentum part. | |
| ParticleEvent::Base | m_part |
| The particle-id part. | |
|
inherited |
publish the type of the base class (ie: 'traits-itize' it)
Definition at line 52 of file ParticleImpl.h.
|
inherited |
publish the type of the base class (ie: 'traits-itize' it)
Definition at line 48 of file ParticleImpl.h.
|
inherited |
publish the type of the base class (ie: 'traits-itize' it)
Definition at line 56 of file ParticleImpl.h.
|
inherited |
publish the type of the base class (ie: 'traits-itize' it)
Definition at line 62 of file ParticleImpl.h.
|
inherited |
| Enumerator | |
|---|---|
| P4EETAPHIM | |
| P4IPTCOTTHPHIM | |
| P4PTETAPHIM | |
| P4PXPYPZE | |
| UNKNOWN | |
Definition at line 33 of file I4Momentum.h.
| D3PDTest::Obj3::Obj3 | ( | double | pt, |
| double | eta, | ||
| double | phi, | ||
| double | m ) |
Definition at line 25 of file Obj3.cxx.
|
inlinevirtualinherited |
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed to an int and ask jets to extend this interface
Implements IParticle.
Definition at line 248 of file ParticleImpl.h.
|
inlinevirtualinherited |
cosinus phi
Implements I4Momentum.
Definition at line 188 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Print I4Momentum content.
Implements I4Momentum.
Definition at line 221 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Access to errors, if available; returns 0 if no errors.
Implements I4Momentum.
Definition at line 214 of file ParticleImpl.h.
|
inlinevirtualinherited |
transverse energy defined to be e*sin(theta)
Implements I4Momentum.
Definition at line 176 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
pure virtualinherited |
Implemented in Analysis::ISvxAssociation, Analysis::ISvxConstituent, Analysis::Muon, Analysis::MuonAssociation, Analysis::ParticleShallowClone, Analysis::TauJet, CaloClusterNavigable, constituent_iter< ElectronContainer, double >, constituent_iter< INavigable4MomentumCollection, double >, constituent_iter< JetCollection, double >, constituent_iter< MuonContainer, double >, constituent_iter< PhotonContainer, double >, constituent_iter< TrackParticleContainer, double >, eflowObject, egamma, external_index_type< CaloCellContainer, double >, external_index_type< ElectronContainer, double >, external_index_type< INavigable4MomentumCollection, double >, external_index_type< JetCollection, double >, external_index_type< MuonContainer, double >, external_index_type< PhotonContainer, double >, external_index_type< TrackParticleContainer, double >, Jet, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Navigable< CONT, RPAR, COLL >, Navigable< CaloClusterContainer >, Navigable< collection_t, weight_t >, Navigable< INavigable4MomentumCollection, double >, NavigableTerminalNode, object_iter< CaloCellContainer, double >, object_iter< TrackParticleContainer, double >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, and ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE, ParticleEvent::Base >.
|
inlinevirtualinherited |
INavigable interface forwarding
Implements INavigable.
Definition at line 104 of file ParticleImpl.h.
|
inlinevirtualinherited |
IAthenaBarCode interface forwarding
Reimplemented from IAthenaBarCode.
Definition at line 114 of file ParticleImpl.h.
|
inlinevirtualinherited |
Reimplemented from IAthenaBarCode.
Definition at line 119 of file ParticleImpl.h.
|
inlinevirtualinherited |
method to check if charge information is available
Implements IParticle.
Definition at line 242 of file ParticleImpl.h.
|
inlinevirtualinherited |
method to check if particle id information is available
Implements IParticle.
Definition at line 252 of file ParticleImpl.h.
|
inlinevirtualinherited |
Reimplemented from IAthenaBarCode.
Definition at line 117 of file ParticleImpl.h.
|
inlinevirtualinherited |
Reimplemented from IAthenaBarCode.
Definition at line 118 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
inverse of transverse momentum
Implements I4Momentum.
Definition at line 184 of file ParticleImpl.h.
|
inlinevirtualinherited |
add Kind which tells what kind (P4XYZ) the underlying implementation has
Implements I4Momentum.
Definition at line 217 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlineinherited |
access to underlying base type (I4Momentum-like)
Definition at line 95 of file ParticleImpl.h.
|
inlineinherited |
access to underlying base type (INavigable-like)
Definition at line 91 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Return a RecVertex corresponding to particle Origin.
Implements IParticle.
Definition at line 234 of file ParticleImpl.h.
|
inlinevirtualinherited |
Return an ElementLink corresponding to particle's Origin.
Implements IParticle.
Definition at line 238 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlineinherited |
access to underlying base type (IParticle-like)
Definition at line 99 of file ParticleImpl.h.
|
inlinevirtualinherited |
Return enum indicating particle id the enum file is available in Event/EventKernel/PdtPdg.h.
Implements IParticle.
Definition at line 257 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
x component of momentum
I4Momentum interface forwarding
Implements I4Momentum.
Definition at line 132 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
pure virtualinherited |
set 4Momentum (will throw exception if cannot be implemented)
Implemented in CaloCell, CaloCluster, egamma, Nav4MomWrapper< Navigable_t, P4Momentum_t >, P4EEtaPhiM, P4EEtaPhiMBase, P4Impl< P4Mom_t >, P4IPtCotThPhiM, P4IPtCotThPhiMBase, P4PtEtaPhiM, P4PtEtaPhiMBase, P4PxPyPzE, P4PxPyPzEBase, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE, ParticleEvent::Base >, Rec::TrackParticle, and TruthParticle.
|
pure virtualinherited |
set 4Momentum (will throw exception if cannot be implemented)
Implemented in CaloCell, CaloCluster, egamma, Nav4MomWrapper< Navigable_t, P4Momentum_t >, Nav4MomWrapper< Navigable< DataVector< INavigable4Momentum >, double, std::vector< std::pair< ElementLink< DataVector< INavigable4Momentum > >, double > > >, P4ImplPxPyPzE >, P4EEtaPhiM, P4EEtaPhiMBase, P4Impl< P4Mom_t >, P4Impl< P4ImplEEtaPhiM >, P4Impl< P4ImplIPtCotThPhiM >, P4Impl< P4ImplPtEtaPhiM >, P4Impl< P4ImplPxPyPzE >, P4IPtCotThPhiM, P4IPtCotThPhiMBase, P4PtEtaPhiM, P4PtEtaPhiMBase, P4PxPyPzE, P4PxPyPzEBase, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< ::Analysis::MuonNavigation, ::P4ImplIPtCotThPhiM >, ParticleImpl< ::Analysis::TauJetNavigation, ::P4ImplEEtaPhiM >, ParticleImpl< CompositeParticleNavigation, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< egammaNavigation, P4ImplEEtaPhiM >, ParticleImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleImpl< NavigableTerminalNode, P4ImplEEtaPhiM, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplIPtCotThPhiM, ParticleEvent::Base >, ParticleImpl< NavigableTerminalNode, P4ImplPxPyPzE, ParticleEvent::Base >, ParticleImpl< NeutrinoNavigation, P4ImplPxPyPzE >, ParticleImpl< TruthParticleNavigation, TruthParticleMomentum, TruthParticleBase >, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< INavigable_t, I4Momentum_t, IParticle_t >, ParticleSigStateImpl< Navigable< INavigable4MomentumCollection, double >, P4ImplPxPyPzE, ParticleEvent::Base >, Rec::TrackParticle, and TruthParticle.
|
inlinevirtualinherited |
set 4Momentum (will throw exception if cannot be implemented)
Implements I4Momentum.
Definition at line 281 of file ParticleImpl.h.
|
inlinevirtualinherited |
Definition at line 291 of file ParticleImpl.h.
|
inlinevirtualinherited |
Definition at line 289 of file ParticleImpl.h.
|
inlinevirtualinherited |
Definition at line 295 of file ParticleImpl.h.
|
inlinevirtualinherited |
Definition at line 293 of file ParticleImpl.h.
|
inlinevirtualinherited |
Reimplemented from IAthenaBarCode.
Definition at line 115 of file ParticleImpl.h.
|
inlinevirtualinherited |
Reimplemented from IAthenaBarCode.
Definition at line 121 of file ParticleImpl.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
privateinherited |
The 4-momentum part.
Definition at line 310 of file ParticleImpl.h.
|
privateinherited |
The navigable part.
Definition at line 307 of file ParticleImpl.h.
|
privateinherited |
The particle-id part.
Definition at line 313 of file ParticleImpl.h.
|
staticinherited |
Definition at line 52 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.
|
staticinherited |
Definition at line 53 of file AthenaKernel/AthenaKernel/IAthenaBarCode.h.