Add truth and p4 vector observable
Release notes
Add new observables: TQTruthParticleInfoObservable and IParticleFourVectorVectorObservable
Details
The TQTruthParticleInfoObservable
can be used to get truth information from a xAOD::TruthParticle
. A factory is used to create the observable with the following syntax: TRUTH:MyContainer[idx]:property
, where MyContainer
is the name of the particle container, idx
the index of the particle, and property
one of the following options:
- hasprodvtx
- hasdecayvtx
- nparents
- nchildren
- abspdgid
- pdgid
- status
- charge
The IParticleFourVectorVectorObservable
is the vector version of the IParticleFourVectorObservable
. It can be created via a factory with P4V:MyContainer:property
, where property is one of the following options:
- pt
- eta
- phi
- m
- e
Note that there is no need to specify the index of the particle, since this is a vector observable.