ATLAS Offline Software
Loading...
Searching...
No Matches
TrigEFBphys Class Reference

#include <TrigEFBphys.h>

Collaboration diagram for TrigEFBphys:

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
}
 enum for different particle types More...

Public Member Functions

 TrigEFBphys ()
 constructors; note: default constructor needed by POOL
 TrigEFBphys (int roi, float eta, float phi, pType particleType, float mass)
 constructor for particle of type "particleType" with mass "mass"
 TrigEFBphys (int roi, float eta, float phi, pType particleType, float mass, const ElementLink< TrigEFBphysContainer > &sDecay)
 constructor for particle of type "particleType" with mass "mass" and a secondary decay (given as ElementLink to another TrigEFBphys)
 ~TrigEFBphys ()=default
 destructor
int roiId () const
 accessor method: ID of L1 RoI
pType particleType () const
 accessor method: particle Type
float eta () const
 accessor method: eta
float phi () const
 accessor method: phi
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
const TrigEFBphyspSecondDecay () const
 accessor method: secondary decay particle
const ElementLink< TrigEFBphysContainer > & secondaryDecayLink () const
const ElementLinkVector< Rec::TrackParticleContainer > & trackVector () const
 accessor method:vector of tracks used to make particle
void fitmass (float FitMass)
 set method: mass from vertex fit
void fitchi2 (float FitChi2)
 set method: chi2 from vertex fit
void fitndof (int FitNdof)
 set method: ndof from vertex fit
void fitx (float FitX)
 set method: x position of vertex
void fity (float FitY)
 set method: y position of vertex
void fitz (float FitZ)
 set method: z position of vertex
void addTrack (const ElementLink< Rec::TrackParticleContainer > &track)
 set method: add track to particle
void pSecondDecay (ElementLink< TrigEFBphysContainer > p_secondaryDecay)
 set method: link to secondary decay particle

Private Attributes

int m_roiID
pType m_particleType
float m_eta
float m_phi
float m_mass
float m_fitmass
float m_fitchi2
int m_fitndof
float m_fitx
float m_fity
float m_fitz
ElementLink< TrigEFBphysContainerm_secondaryDecay
ElementLinkVector< Rec::TrackParticleContainerm_trackVector

Detailed Description

Definition at line 42 of file TrigEFBphys.h.

Member Enumeration Documentation

◆ pType

enum for different particle types

Enumerator
PHIKK 
DSPHIPI 
BMUMU 
BMUMUX 
JPSIEE 
JPSIMUMU 
MULTIMU 
BKMUMU 
BDKSTMUMU 
BSPHIMUMU 
LBLMUMU 
BCDSMUMU 

Definition at line 47 of file TrigEFBphys.h.

Constructor & Destructor Documentation

◆ TrigEFBphys() [1/3]

TrigEFBphys::TrigEFBphys ( )

constructors; note: default constructor needed by POOL

File: TrigEFBphys.cxx.

Description: To be created by hypothesis algorithms at end of Level 2 chains. To be used as a way to communicate EF decisions and to keep information available only online so far.

Design: Must be light and easy to serialize AND to store in ESD; should avoid ElementLinks and try to persistify pointers instead; should avoid inheritance to be easy to serialize.

Authour: J.Kirk - Wed May 10

Definition at line 28 of file TrigEFBphys.cxx.

28 :
29 m_roiID(-1), m_particleType(PHIKK), m_eta(0), m_phi(0) ,
30 m_mass(0), m_fitmass(-99.), m_fitchi2(-99.), m_fitndof(-99),
31 m_fitx(-99.), m_fity(-99.), m_fitz(-99),
33{}
float m_fitmass
float m_fitchi2
ElementLinkVector< Rec::TrackParticleContainer > m_trackVector
pType m_particleType
ElementLink< TrigEFBphysContainer > m_secondaryDecay

◆ TrigEFBphys() [2/3]

TrigEFBphys::TrigEFBphys ( int roi,
float eta,
float phi,
pType particleType,
float mass )

constructor for particle of type "particleType" with mass "mass"

Definition at line 37 of file TrigEFBphys.cxx.

38 :
39 m_roiID(roi),
42 m_fitmass(-99.), m_fitchi2(-99.), m_fitndof(-99),m_fitx(-99.), m_fity(-99.), m_fitz(-99.),
44{}
float phi() const
accessor method: phi
Definition TrigEFBphys.h:69
pType particleType() const
accessor method: particle Type
Definition TrigEFBphys.h:65
float mass() const
accessor method: mass
Definition TrigEFBphys.h:71
float eta() const
accessor method: eta
Definition TrigEFBphys.h:67

◆ TrigEFBphys() [3/3]

TrigEFBphys::TrigEFBphys ( int roi,
float eta,
float phi,
pType particleType,
float mass,
const ElementLink< TrigEFBphysContainer > & sDecay )

constructor for particle of type "particleType" with mass "mass" and a secondary decay (given as ElementLink to another TrigEFBphys)

Definition at line 46 of file TrigEFBphys.cxx.

47 :
48 m_roiID(roi),
51 m_fitmass(-99.), m_fitchi2(-99.), m_fitndof(-99),m_fitx(-99.), m_fity(-99.), m_fitz(-99.),
53{}

◆ ~TrigEFBphys()

TrigEFBphys::~TrigEFBphys ( )
default

destructor

Member Function Documentation

◆ addTrack()

void TrigEFBphys::addTrack ( const ElementLink< Rec::TrackParticleContainer > & track)

set method: add track to particle

Definition at line 56 of file TrigEFBphys.cxx.

57{
58 m_trackVector.push_back( track);
59}

◆ eta()

float TrigEFBphys::eta ( ) const
inline

accessor method: eta

Definition at line 67 of file TrigEFBphys.h.

67{ return m_eta; }

◆ fitchi2() [1/2]

float TrigEFBphys::fitchi2 ( ) const
inline

accessor method: chi2 from vertex fit

Definition at line 75 of file TrigEFBphys.h.

75{ return m_fitchi2; }

◆ fitchi2() [2/2]

void TrigEFBphys::fitchi2 ( float FitChi2)

set method: chi2 from vertex fit

Definition at line 72 of file TrigEFBphys.cxx.

73{
74 m_fitchi2 = FitChi2;
75}

◆ fitmass() [1/2]

float TrigEFBphys::fitmass ( ) const
inline

accessor method: mass from vertex fit

Definition at line 73 of file TrigEFBphys.h.

73{ return m_fitmass; }

◆ fitmass() [2/2]

void TrigEFBphys::fitmass ( float FitMass)

set method: mass from vertex fit

Definition at line 67 of file TrigEFBphys.cxx.

68{
69 m_fitmass = FitMass;
70}

◆ fitndof() [1/2]

int TrigEFBphys::fitndof ( ) const
inline

accessor method: ndof from vertex fit

Definition at line 77 of file TrigEFBphys.h.

77{ return m_fitndof; }

◆ fitndof() [2/2]

void TrigEFBphys::fitndof ( int FitNdof)

set method: ndof from vertex fit

Definition at line 77 of file TrigEFBphys.cxx.

78{
79 m_fitndof = FitNdof;
80}

◆ fitx() [1/2]

float TrigEFBphys::fitx ( ) const
inline

accessor method: x position of vertex

Definition at line 79 of file TrigEFBphys.h.

79{ return m_fitx; }

◆ fitx() [2/2]

void TrigEFBphys::fitx ( float FitX)

set method: x position of vertex

Definition at line 82 of file TrigEFBphys.cxx.

83{
84 m_fitx = FitX;
85}

◆ fity() [1/2]

float TrigEFBphys::fity ( ) const
inline

accessor method: y position of vertex

Definition at line 81 of file TrigEFBphys.h.

81{ return m_fity; }

◆ fity() [2/2]

void TrigEFBphys::fity ( float FitY)

set method: y position of vertex

Definition at line 86 of file TrigEFBphys.cxx.

87{
88 m_fity = FitY;
89}

◆ fitz() [1/2]

float TrigEFBphys::fitz ( ) const
inline

accessor method: z position of vertex

Definition at line 83 of file TrigEFBphys.h.

83{ return m_fitz; }

◆ fitz() [2/2]

void TrigEFBphys::fitz ( float FitZ)

set method: z position of vertex

Definition at line 90 of file TrigEFBphys.cxx.

91{
92 m_fitz = FitZ;
93}

◆ mass()

float TrigEFBphys::mass ( ) const
inline

accessor method: mass

Definition at line 71 of file TrigEFBphys.h.

71{ return m_mass; }

◆ particleType()

pType TrigEFBphys::particleType ( ) const
inline

accessor method: particle Type

Definition at line 65 of file TrigEFBphys.h.

65{ return m_particleType; }

◆ phi()

float TrigEFBphys::phi ( ) const
inline

accessor method: phi

Definition at line 69 of file TrigEFBphys.h.

69{ return m_phi; }

◆ pSecondDecay() [1/2]

const TrigEFBphys * TrigEFBphys::pSecondDecay ( ) const

accessor method: secondary decay particle

Definition at line 166 of file TrigEFBphys.cxx.

166 {
167 if (m_secondaryDecay.isValid()) {
168 return *m_secondaryDecay;
169 } else {
170 return NULL;
171 }
172}

◆ pSecondDecay() [2/2]

void TrigEFBphys::pSecondDecay ( ElementLink< TrigEFBphysContainer > p_secondaryDecay)

set method: link to secondary decay particle

Definition at line 61 of file TrigEFBphys.cxx.

62{
63 m_secondaryDecay=p_secondaryDecay;
64}

◆ roiId()

int TrigEFBphys::roiId ( ) const
inline

accessor method: ID of L1 RoI

Definition at line 63 of file TrigEFBphys.h.

63{ return m_roiID; }

◆ secondaryDecayLink()

const ElementLink< TrigEFBphysContainer > & TrigEFBphys::secondaryDecayLink ( ) const

Definition at line 175 of file TrigEFBphys.cxx.

176{
177 return m_secondaryDecay;
178}

◆ trackVector()

const ElementLinkVector< Rec::TrackParticleContainer > & TrigEFBphys::trackVector ( ) const
inline

accessor method:vector of tracks used to make particle

Definition at line 89 of file TrigEFBphys.h.

89{return m_trackVector;}

Member Data Documentation

◆ m_eta

float TrigEFBphys::m_eta
private

Definition at line 114 of file TrigEFBphys.h.

◆ m_fitchi2

float TrigEFBphys::m_fitchi2
private

Definition at line 118 of file TrigEFBphys.h.

◆ m_fitmass

float TrigEFBphys::m_fitmass
private

Definition at line 117 of file TrigEFBphys.h.

◆ m_fitndof

int TrigEFBphys::m_fitndof
private

Definition at line 119 of file TrigEFBphys.h.

◆ m_fitx

float TrigEFBphys::m_fitx
private

Definition at line 120 of file TrigEFBphys.h.

◆ m_fity

float TrigEFBphys::m_fity
private

Definition at line 121 of file TrigEFBphys.h.

◆ m_fitz

float TrigEFBphys::m_fitz
private

Definition at line 122 of file TrigEFBphys.h.

◆ m_mass

float TrigEFBphys::m_mass
private

Definition at line 116 of file TrigEFBphys.h.

◆ m_particleType

pType TrigEFBphys::m_particleType
private

Definition at line 113 of file TrigEFBphys.h.

◆ m_phi

float TrigEFBphys::m_phi
private

Definition at line 115 of file TrigEFBphys.h.

◆ m_roiID

int TrigEFBphys::m_roiID
private

Definition at line 112 of file TrigEFBphys.h.

◆ m_secondaryDecay

ElementLink< TrigEFBphysContainer> TrigEFBphys::m_secondaryDecay
private

Definition at line 123 of file TrigEFBphys.h.

◆ m_trackVector

ElementLinkVector<Rec::TrackParticleContainer> TrigEFBphys::m_trackVector
private

Definition at line 124 of file TrigEFBphys.h.


The documentation for this class was generated from the following files: