#include <TrigBphys_v1.h>
Public Types | |
enum | pType { PHIKK = 0, DSPHIPI = 1, BMUMU = 2, BMUMUX = 3, JPSIEE = 4, JPSIMUMU = 5, MULTIMU = 6, BKMUMU = 7, BDKSTMUMU = 8, BSPHIMUMU = 9, LBLMUMU = 10, BCDSMUMU = 11, LAMBDAPIP = 12, BCDPMUMU = 13, BCDSTMUMU = 14, OMEGALAMK = 15, XILAMPI = 16, DSTDZPI = 17, DZMUKX = 18, DZKPI = 19, DPKPIPI = 20, UNKNOWNPTYPE = 9999 } |
enum | levelType { UNKOWNLEVEL = 0, L2 = 2, EF = 3, HLT = 4, LASTLEVEL } |
Public Member Functions | |
TrigBphys_v1 () | |
Default constructor. | |
void | clone (const TrigBphys_v1 &rhs) |
void | initialise () |
void | initialise (uint32_t roi, float eta, float phi, float pt, pType particleType, float mass, levelType level) |
void | initialise (uint32_t roi, float eta, float phi, pType particleType, float mass, levelType level) |
void | initialise (uint32_t roi, float eta, float phi, float pt, pType particleType, float mass, const ElementLink< xAOD::TrigBphysContainer_v1 > &sDecay, levelType level) |
void | initialise (uint32_t roi, float eta, float phi, pType particleType, float mass, const ElementLink< xAOD::TrigBphysContainer_v1 > &sDecay, levelType level) |
bool | operator== (const TrigBphys_v1 &rhs) const |
bool | operator!= (const TrigBphys_v1 &rhs) const |
uint32_t | roiId () const |
pType | particleType () const |
levelType | level () const |
float | eta () const |
float | phi () const |
float | pt () const |
float | mass () const |
float | fitmass () const |
float | fitchi2 () const |
int | fitndof () const |
float | fitx () const |
float | fity () const |
float | fitz () const |
float | lxy () const |
float | lxyError () const |
float | tau () const |
float | tauError () const |
float | fitmassError () const |
const TrigBphys_v1 * | secondaryDecay () const |
const ElementLink < TrigBphysContainer_v1 > & | secondaryDecayLink () const |
const std::vector< ElementLink < xAOD::TrackParticleContainer > > & | trackParticleLinks () const |
void | setTrackParticleLinks (const std::vector< ElementLink< TrackParticleContainer > > &links) |
size_t | nTrackParticles () const |
const xAOD::TrackParticle * | trackParticle (size_t i) const |
void | setEta (float) |
void | setPhi (float) |
void | setMass (float) |
void | setPt (float) |
void | setRoiId (uint32_t id) |
void | setParticleType (pType type) |
void | setLevel (levelType type) |
void | setFitmass (float FitMass) |
void | setFitchi2 (float FitChi2) |
void | setFitndof (int FitNdof) |
void | setFitx (float FitX) |
void | setFity (float FitY) |
void | setFitz (float FitZ) |
void | addTrackParticleLink (const ElementLink< xAOD::TrackParticleContainer > &track) |
void | setSecondaryDecayLink (const ElementLink< xAOD::TrigBphysContainer_v1 > &link) |
void | setLxy (float v) |
void | setLxyError (float v) |
void | setTau (float v) |
void | setTauError (float v) |
void | setFitmassError (float v) |
const std::vector< uint32_t > & | vecRoiIds () const |
void | setVecRoiIds (const std::vector< uint32_t > &roiIds) |
size_t | nVecRoiIds () const |
uint32_t | vecRoiId (size_t i) const |
void | addVecRoiId (uint32_t roiId) |
const TrigBphys_v1 * | lowerChain () const |
const ElementLink < TrigBphysContainer_v1 > & | lowerChainLink () const |
void | setLowerChainLink (const ElementLink< xAOD::TrigBphysContainer_v1 > &link) |
const std::vector< ElementLink < xAOD::IParticleContainer > > & | particleLinks () const |
void | setParticleLinks (const std::vector< ElementLink< IParticleContainer > > &links) |
size_t | nParticles () const |
const xAOD::IParticle * | particle (size_t i) const |
void | addParticleLink (const ElementLink< xAOD::IParticleContainer > &particle) |
Class describing a Bphysics online composite object
This class describes the properties of BPhysics composite object in the xAOD format.
enum to describe the level this object is operating at
enum for different particle types
void xAOD::TrigBphys_v1::addParticleLink | ( | const ElementLink< xAOD::IParticleContainer > & | particle | ) |
add a track to the vector of particles
void xAOD::TrigBphys_v1::addTrackParticleLink | ( | const ElementLink< xAOD::TrackParticleContainer > & | track | ) |
set method: add track to particle
add a track to the vector of tracks
void xAOD::TrigBphys_v1::addVecRoiId | ( | uint32_t | roiId | ) |
add a roiId to the vector
float xAOD::TrigBphys_v1::eta | ( | ) | const |
accessor method: eta
float xAOD::TrigBphys_v1::fitchi2 | ( | ) | const |
accessor method: chi2 from vertex fit
float xAOD::TrigBphys_v1::fitmass | ( | ) | const |
accessor method: mass from vertex fit
float xAOD::TrigBphys_v1::fitmassError | ( | ) | const |
accessor method: fitmass uncertainty
int xAOD::TrigBphys_v1::fitndof | ( | ) | const |
accessor method: ndof from vertex fit
float xAOD::TrigBphys_v1::fitx | ( | ) | const |
accessor method: x position of vertex
float xAOD::TrigBphys_v1::fity | ( | ) | const |
accessor method: y position of vertex
float xAOD::TrigBphys_v1::fitz | ( | ) | const |
accessor method: z position of vertex
void xAOD::TrigBphys_v1::initialise | ( | uint32_t | roi, | |
float | eta, | |||
float | phi, | |||
pType | particleType, | |||
float | mass, | |||
const ElementLink< xAOD::TrigBphysContainer_v1 > & | sDecay, | |||
levelType | level | |||
) |
constructor replacement for particle of type "particleType" with mass "mass" and a secondary decay (given as ElementLink to another TrigEFBphys)
void xAOD::TrigBphys_v1::initialise | ( | uint32_t | roi, | |
float | eta, | |||
float | phi, | |||
float | pt, | |||
pType | particleType, | |||
float | mass, | |||
const ElementLink< xAOD::TrigBphysContainer_v1 > & | sDecay, | |||
levelType | level | |||
) |
constructor replacement for particle of type "particleType" with mass "mass" and a secondary decay (given as ElementLink to another TrigEFBphys)
const TrigBphys_v1* xAOD::TrigBphys_v1::lowerChain | ( | ) | const |
accessor method: lowerChain decay particle
const ElementLink< TrigBphysContainer_v1 >& xAOD::TrigBphys_v1::lowerChainLink | ( | ) | const |
accessor method: lowerChain decay particle
float xAOD::TrigBphys_v1::lxy | ( | ) | const |
accessor method: lxy
float xAOD::TrigBphys_v1::lxyError | ( | ) | const |
accessor method: lxy uncertainty
float xAOD::TrigBphys_v1::mass | ( | ) | const |
accessor method: mass
size_t xAOD::TrigBphys_v1::nParticles | ( | ) | const |
Number of tracks used to make particle
size_t xAOD::TrigBphys_v1::nTrackParticles | ( | ) | const |
Number of tracks used to make particle
size_t xAOD::TrigBphys_v1::nVecRoiIds | ( | ) | const |
Number of tracks used to make particle
const IParticle * xAOD::TrigBphys_v1::particle | ( | size_t | i | ) | const |
Get the Nth track's pointer
const std::vector< ElementLink< xAOD::IParticleContainer > >& xAOD::TrigBphys_v1::particleLinks | ( | ) | const |
accessor method:vector of tracks used to make particle
float xAOD::TrigBphys_v1::phi | ( | ) | const |
accessor method: phi
float xAOD::TrigBphys_v1::pt | ( | ) | const |
accessor method: pt
uint32_t xAOD::TrigBphys_v1::roiId | ( | ) | const |
accessor method: ID of L1 RoI
const TrigBphys_v1* xAOD::TrigBphys_v1::secondaryDecay | ( | ) | const |
accessor method: secondary decay particle
const ElementLink< TrigBphysContainer_v1 >& xAOD::TrigBphys_v1::secondaryDecayLink | ( | ) | const |
accessor method: secondary decay particle
void xAOD::TrigBphys_v1::setEta | ( | float | ) |
Set the pseudorapidity of the object
void xAOD::TrigBphys_v1::setFitchi2 | ( | float | FitChi2 | ) |
set method: chi2 from vertex fit
void xAOD::TrigBphys_v1::setFitmass | ( | float | FitMass | ) |
set method: mass from vertex fit
void xAOD::TrigBphys_v1::setFitmassError | ( | float | v | ) |
set method: fitmassError
void xAOD::TrigBphys_v1::setFitndof | ( | int | FitNdof | ) |
set method: ndof from vertex fit
void xAOD::TrigBphys_v1::setFitx | ( | float | FitX | ) |
set method: x position of vertex
void xAOD::TrigBphys_v1::setFity | ( | float | FitY | ) |
set method: y position of vertex
void xAOD::TrigBphys_v1::setFitz | ( | float | FitZ | ) |
set method: z position of vertex
void xAOD::TrigBphys_v1::setLevel | ( | levelType | type | ) |
set method: level type
void xAOD::TrigBphys_v1::setLowerChainLink | ( | const ElementLink< xAOD::TrigBphysContainer_v1 > & | link | ) |
set method: link to lowerChain decay particle
void xAOD::TrigBphys_v1::setLxy | ( | float | v | ) |
set method: lxy
void xAOD::TrigBphys_v1::setLxyError | ( | float | v | ) |
set method: lxyError
void xAOD::TrigBphys_v1::setMass | ( | float | ) |
Set the mass of the object
void xAOD::TrigBphys_v1::setParticleLinks | ( | const std::vector< ElementLink< IParticleContainer > > & | links | ) |
Set the track particle links on the object
void xAOD::TrigBphys_v1::setParticleType | ( | pType | type | ) |
set method: particle type
void xAOD::TrigBphys_v1::setPhi | ( | float | ) |
Set the azimuth angle of the object
void xAOD::TrigBphys_v1::setPt | ( | float | pt | ) |
Set the pT of the object
void xAOD::TrigBphys_v1::setRoiId | ( | uint32_t | id | ) |
set method: roiId
void xAOD::TrigBphys_v1::setSecondaryDecayLink | ( | const ElementLink< xAOD::TrigBphysContainer_v1 > & | link | ) |
set method: link to secondary decay particle
void xAOD::TrigBphys_v1::setTau | ( | float | v | ) |
set method: tau
void xAOD::TrigBphys_v1::setTauError | ( | float | v | ) |
set method: tauError
void xAOD::TrigBphys_v1::setTrackParticleLinks | ( | const std::vector< ElementLink< TrackParticleContainer > > & | links | ) |
Set the track particle links on the object
void xAOD::TrigBphys_v1::setVecRoiIds | ( | const std::vector< uint32_t > & | roiIds | ) |
Set the track particle links on the object
float xAOD::TrigBphys_v1::tau | ( | ) | const |
accessor method: tau
float xAOD::TrigBphys_v1::tauError | ( | ) | const |
accessor method: tau uncertainty
const TrackParticle * xAOD::TrigBphys_v1::trackParticle | ( | size_t | i | ) | const |
Get the Nth track's pointer
const std::vector< ElementLink< xAOD::TrackParticleContainer > >& xAOD::TrigBphys_v1::trackParticleLinks | ( | ) | const |
accessor method:vector of tracks used to make particle
uint32_t xAOD::TrigBphys_v1::vecRoiId | ( | size_t | i | ) | const |
Get the Nth roiId
const std::vector< uint32_t >& xAOD::TrigBphys_v1::vecRoiIds | ( | ) | const |
accessor method:vector of tracks used to make particle