![]() |
ATLAS Offline Software
|
Class describing a Bphysics online composite object. More...
#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 , BCPIMUMU = 21 , LBPQMUMU = 22 , B2D0MUX = 23 , BD2DMMUX = 24 , BD2DSTMUX = 25 , BS2DSMUX = 26 , LB2LCMUX = 27 , BHH = 28 , UNKNOWNPTYPE = 9999 } |
| enum for different particle types More... | |
| enum | levelType { UNKOWNLEVEL = 0 , L2 = 2 , EF = 3 , HLT = 4 , LASTLEVEL } |
| enum to describe the level this object is operating at More... | |
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) |
| constructor replacement for particle of type "particleType" with mass "mass" and a secondary decay (given as ElementLink to another TrigEFBphys) | |
| void | 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) | |
| bool | operator== (const TrigBphys_v1 &rhs) const |
| bool | operator!= (const TrigBphys_v1 &rhs) const |
| uint32_t | roiId () const |
| accessor method: ID of L1 RoI | |
| pType | particleType () const |
| accessor method: particle Type | |
| levelType | level () const |
| accessor method: level Type | |
| float | eta () const |
| accessor method: eta | |
| float | phi () const |
| accessor method: phi | |
| float | pt () const |
| accessor method: pt | |
| float | mass () const |
| accessor method: mass | |
| float | fitmass () const |
| accessor method: mass from vertex fit | |
| float | fitchi2 () const |
| accessor method: chi2 from vertex fit | |
| int | fitndof () const |
| accessor method: ndof from vertex fit | |
| float | fitx () const |
| accessor method: x position of vertex | |
| float | fity () const |
| accessor method: y position of vertex | |
| float | fitz () const |
| accessor method: z position of vertex | |
| float | lxy () const |
| accessor method: lxy | |
| float | lxyError () const |
| accessor method: lxy uncertainty | |
| float | tau () const |
| accessor method: tau | |
| float | tauError () const |
| accessor method: tau uncertainty | |
| float | fitmassError () const |
| accessor method: fitmass uncertainty | |
| const TrigBphys_v1 * | secondaryDecay () const |
| accessor method: secondary decay particle | |
| const ElementLink< TrigBphysContainer_v1 > & | secondaryDecayLink () const |
| accessor method: secondary decay particle | |
| const std::vector< ElementLink< xAOD::TrackParticleContainer > > & | trackParticleLinks () const |
| accessor method:vector of tracks used to make particle | |
| void | setTrackParticleLinks (const std::vector< ElementLink< TrackParticleContainer > > &links) |
| Set the track particle links on the object. | |
| size_t | nTrackParticles () const |
| Number of tracks used to make particle. | |
| const xAOD::TrackParticle * | trackParticle (size_t i) const |
| Get the Nth track's pointer. | |
| void | setEta (float) |
| Set the pseudorapidity of the object. | |
| void | setPhi (float) |
| Set the azimuth angle of the object. | |
| void | setMass (float) |
| Set the mass of the object. | |
| void | setPt (float) |
| Set the pT of the object. | |
| void | setRoiId (uint32_t id) |
| set method: roiId | |
| void | setParticleType (pType type) |
| set method: particle type | |
| void | setLevel (levelType type) |
| set method: level type | |
| void | setFitmass (float FitMass) |
| set method: mass from vertex fit | |
| void | setFitchi2 (float FitChi2) |
| set method: chi2 from vertex fit | |
| void | setFitndof (int FitNdof) |
| set method: ndof from vertex fit | |
| void | setFitx (float FitX) |
| set method: x position of vertex | |
| void | setFity (float FitY) |
| set method: y position of vertex | |
| void | setFitz (float FitZ) |
| set method: z position of vertex | |
| void | addTrackParticleLink (const ElementLink< xAOD::TrackParticleContainer > &track) |
| set method: add track to particle | |
| void | setSecondaryDecayLink (const ElementLink< xAOD::TrigBphysContainer_v1 > &link) |
| set method: link to secondary decay particle | |
| void | setLxy (float v) |
| set method: lxy | |
| void | setLxyError (float v) |
| set method: lxyError | |
| void | setTau (float v) |
| set method: tau | |
| void | setTauError (float v) |
| set method: tauError | |
| void | setFitmassError (float v) |
| set method: fitmassError | |
| const std::vector< uint32_t > & | vecRoiIds () const |
| accessor method:vector of tracks used to make particle | |
| void | setVecRoiIds (const std::vector< uint32_t > &roiIds) |
| Set the track particle links on the object. | |
| size_t | nVecRoiIds () const |
| Number of tracks used to make particle. | |
| uint32_t | vecRoiId (size_t i) const |
| Get the Nth roiId. | |
| void | addVecRoiId (uint32_t roiId) |
| add a roiId to the vector | |
| const TrigBphys_v1 * | lowerChain () const |
| accessor method: lowerChain decay particle | |
| const ElementLink< TrigBphysContainer_v1 > & | lowerChainLink () const |
| accessor method: lowerChain decay particle | |
| void | setLowerChainLink (const ElementLink< xAOD::TrigBphysContainer_v1 > &link) |
| set method: link to lowerChain decay particle | |
| const std::vector< ElementLink< xAOD::IParticleContainer > > & | particleLinks () const |
| accessor method:vector of tracks used to make particle | |
| void | setParticleLinks (const std::vector< ElementLink< IParticleContainer > > &links) |
| Set the track particle links on the object. | |
| size_t | nParticles () const |
| Number of tracks used to make particle. | |
| const xAOD::IParticle * | particle (size_t i) const |
| Get the Nth track's pointer. | |
| void | addParticleLink (const ElementLink< xAOD::IParticleContainer > &particle) |
| add a track to the vector of particles | |
| TrigBphys_v1 & | operator= (const TrigBphys_v1 &rhs)=default |
Private Member Functions | |
| TrigBphys_v1 (const TrigBphys_v1 &rhs)=delete | |
Class describing a Bphysics online composite object.
This class describes the properties of BPhysics composite object in the xAOD format.
Definition at line 44 of file TrigBphys_v1.h.
enum to describe the level this object is operating at
| Enumerator | |
|---|---|
| UNKOWNLEVEL | |
| L2 | |
| EF | |
| HLT | |
| LASTLEVEL | |
Definition at line 83 of file TrigBphys_v1.h.
enum for different particle types
Definition at line 48 of file TrigBphys_v1.h.
| xAOD::TrigBphys_v1::TrigBphys_v1 | ( | ) |
Default constructor.
Definition at line 16 of file TrigBphys_v1.cxx.
|
privatedelete |
| void xAOD::TrigBphys_v1::addParticleLink | ( | const ElementLink< xAOD::IParticleContainer > & | particle | ) |
add a track to the vector of particles
Definition at line 322 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::addTrackParticleLink | ( | const ElementLink< xAOD::TrackParticleContainer > & | track | ) |
set method: add track to particle
add a track to the vector of tracks
Definition at line 232 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::addVecRoiId | ( | uint32_t | roiId | ) |
add a roiId to the vector
Definition at line 356 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::clone | ( | const TrigBphys_v1 & | rhs | ) |
Definition at line 54 of file TrigBphys_v1.cxx.
| 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
Definition at line 384 of file TrigBphys_v1.cxx.
| 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 | ( | ) |
Definition at line 22 of file TrigBphys_v1.cxx.
| 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)
Definition at line 157 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::initialise | ( | uint32_t | roi, |
| float | eta, | ||
| float | phi, | ||
| float | pt, | ||
| pType | particleType, | ||
| float | mass, | ||
| levelType | level ) |
Definition at line 79 of file TrigBphys_v1.cxx.
| 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)
Definition at line 144 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::initialise | ( | uint32_t | roi, |
| float | eta, | ||
| float | phi, | ||
| pType | particleType, | ||
| float | mass, | ||
| levelType | level ) |
Definition at line 111 of file TrigBphys_v1.cxx.
| 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
Definition at line 387 of file TrigBphys_v1.cxx.
| float xAOD::TrigBphys_v1::lxyError | ( | ) | const |
accessor method: lxy uncertainty
Definition at line 390 of file TrigBphys_v1.cxx.
| 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.
|
inline |
Definition at line 117 of file TrigBphys_v1.h.
|
default |
| bool xAOD::TrigBphys_v1::operator== | ( | const TrigBphys_v1 & | rhs | ) | const |
Definition at line 237 of file TrigBphys_v1.cxx.
Get the Nth track's pointer.
Definition at line 307 of file TrigBphys_v1.cxx.
| 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
Definition at line 362 of file TrigBphys_v1.cxx.
| 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::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
Definition at line 401 of file TrigBphys_v1.cxx.
| 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
Definition at line 405 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::setLxyError | ( | float | v | ) |
set method: lxyError
Definition at line 409 of file TrigBphys_v1.cxx.
| 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::setPt | ( | float | pt | ) |
Set the pT of the object.
Definition at line 371 of file TrigBphys_v1.cxx.
| 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
Definition at line 413 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::setTauError | ( | float | v | ) |
set method: tauError
Definition at line 417 of file TrigBphys_v1.cxx.
| void xAOD::TrigBphys_v1::setTrackParticleLinks | ( | const std::vector< ElementLink< TrackParticleContainer > > & | links | ) |
Set the track particle links on the object.
Set the track particle links on the object.
| float xAOD::TrigBphys_v1::tau | ( | ) | const |
accessor method: tau
Definition at line 393 of file TrigBphys_v1.cxx.
| float xAOD::TrigBphys_v1::tauError | ( | ) | const |
accessor method: tau uncertainty
Definition at line 396 of file TrigBphys_v1.cxx.
| const TrackParticle * xAOD::TrigBphys_v1::trackParticle | ( | size_t | i | ) | const |
Get the Nth track's pointer.
Definition at line 217 of file TrigBphys_v1.cxx.
| 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.
Definition at line 344 of file TrigBphys_v1.cxx.
accessor method:vector of tracks used to make particle