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

ElectronMuonTopoInfo is a class for storing information about combuned electron-muon object. More...

#include <ElectronMuonTopoInfo.h>

Collaboration diagram for ElectronMuonTopoInfo:

Public Member Functions

 ElectronMuonTopoInfo ()
 ElectronMuonTopoInfo (int roiWord, float deltaPhi=-1., float deltaR=-1., float invMass=-1., bool el_valid=false, bool oppositeCharge=0, unsigned short vertexState=0)
 ~ElectronMuonTopoInfo ()
int RoiWord () const
 accessor methods
float DeltaPhi () const
float DeltaR () const
float InvMass () const
bool ElecValid () const
bool OppositeCharge () const
unsigned short VertexState () const
void SetRoiWord (int RoiWord)
 set methods
void SetDeltaPhi (float DeltaPhi)
void SetDeltaR (float DeltaR)
void SetInvMass (float InvMass)
void SetElecValid (bool ElecValid)
void SetOppositeCharge (bool OppositeCharge)
void SetVertexState (unsigned short vextexState)

Private Attributes

int m_roiWord
 Identifier of the RoI.
float m_DeltaPhi
 Delta Phi between electron and muon.
float m_DeltaR
 Delta R between electron and muon.
float m_InvMass
 Invariant mass of electron and muon.
bool m_electronValid
 boolean flag showing the validity of electron
bool m_oppositeCharge
 True if electron and muon have opposite charged.
unsigned short m_vertexState
 3 bit description of vertex: 0=common, 1=not common, 3= not applicable

Detailed Description

ElectronMuonTopoInfo is a class for storing information about combuned electron-muon object.

It stores angular distance, invariant mass, common vertex information, and opposite charge bit

Definition at line 38 of file ElectronMuonTopoInfo.h.

Constructor & Destructor Documentation

◆ ElectronMuonTopoInfo() [1/2]

ElectronMuonTopoInfo::ElectronMuonTopoInfo ( )

Definition at line 24 of file ElectronMuonTopoInfo.cxx.

24 : m_roiWord(-1),
25 m_DeltaPhi(-1),
26 m_DeltaR(-1),
27 m_InvMass(-1),
28 m_electronValid(false),
29 m_oppositeCharge(false),
31
32{}
float m_DeltaR
Delta R between electron and muon.
unsigned short m_vertexState
3 bit description of vertex: 0=common, 1=not common, 3= not applicable
float m_DeltaPhi
Delta Phi between electron and muon.
int m_roiWord
Identifier of the RoI.
bool m_electronValid
boolean flag showing the validity of electron
float m_InvMass
Invariant mass of electron and muon.
bool m_oppositeCharge
True if electron and muon have opposite charged.

◆ ElectronMuonTopoInfo() [2/2]

ElectronMuonTopoInfo::ElectronMuonTopoInfo ( int roiWord,
float deltaPhi = -1.,
float deltaR = -1.,
float invMass = -1.,
bool el_valid = false,
bool oppositeCharge = 0,
unsigned short vertexState = 0 )

Definition at line 34 of file ElectronMuonTopoInfo.cxx.

35 : m_roiWord(roiWord),
38 m_InvMass(invMass),
39 m_electronValid(el_valid),
40 m_oppositeCharge(oppositeCharge),
41 m_vertexState(vertexState)
42
43{}
Scalar deltaPhi(const MatrixBase< Derived > &vec) const
Scalar deltaR(const MatrixBase< Derived > &vec) const

◆ ~ElectronMuonTopoInfo()

ElectronMuonTopoInfo::~ElectronMuonTopoInfo ( )

Definition at line 46 of file ElectronMuonTopoInfo.cxx.

46{}

Member Function Documentation

◆ DeltaPhi()

float ElectronMuonTopoInfo::DeltaPhi ( ) const
inline

Definition at line 50 of file ElectronMuonTopoInfo.h.

50{ return m_DeltaPhi; }

◆ DeltaR()

float ElectronMuonTopoInfo::DeltaR ( ) const
inline

Definition at line 51 of file ElectronMuonTopoInfo.h.

51{ return m_DeltaR; }

◆ ElecValid()

bool ElectronMuonTopoInfo::ElecValid ( ) const
inline

Definition at line 53 of file ElectronMuonTopoInfo.h.

53{ return m_electronValid; }

◆ InvMass()

float ElectronMuonTopoInfo::InvMass ( ) const
inline

Definition at line 52 of file ElectronMuonTopoInfo.h.

52{ return m_InvMass; }

◆ OppositeCharge()

bool ElectronMuonTopoInfo::OppositeCharge ( ) const
inline

Definition at line 54 of file ElectronMuonTopoInfo.h.

54{ return m_oppositeCharge; }

◆ RoiWord()

int ElectronMuonTopoInfo::RoiWord ( ) const
inline

accessor methods

Definition at line 49 of file ElectronMuonTopoInfo.h.

49{ return m_roiWord; }

◆ SetDeltaPhi()

void ElectronMuonTopoInfo::SetDeltaPhi ( float DeltaPhi)

Definition at line 51 of file ElectronMuonTopoInfo.cxx.

◆ SetDeltaR()

void ElectronMuonTopoInfo::SetDeltaR ( float DeltaR)

Definition at line 52 of file ElectronMuonTopoInfo.cxx.

◆ SetElecValid()

void ElectronMuonTopoInfo::SetElecValid ( bool ElecValid)

Definition at line 54 of file ElectronMuonTopoInfo.cxx.

◆ SetInvMass()

void ElectronMuonTopoInfo::SetInvMass ( float InvMass)

Definition at line 53 of file ElectronMuonTopoInfo.cxx.

◆ SetOppositeCharge()

void ElectronMuonTopoInfo::SetOppositeCharge ( bool OppositeCharge)

Definition at line 55 of file ElectronMuonTopoInfo.cxx.

◆ SetRoiWord()

void ElectronMuonTopoInfo::SetRoiWord ( int RoiWord)

set methods

Definition at line 50 of file ElectronMuonTopoInfo.cxx.

int RoiWord() const
accessor methods

◆ SetVertexState()

void ElectronMuonTopoInfo::SetVertexState ( unsigned short vextexState)

Definition at line 56 of file ElectronMuonTopoInfo.cxx.

56{m_vertexState = vertexState;}

◆ VertexState()

unsigned short ElectronMuonTopoInfo::VertexState ( ) const
inline

Definition at line 55 of file ElectronMuonTopoInfo.h.

55{ return m_vertexState;}

Member Data Documentation

◆ m_DeltaPhi

float ElectronMuonTopoInfo::m_DeltaPhi
private

Delta Phi between electron and muon.

Definition at line 71 of file ElectronMuonTopoInfo.h.

◆ m_DeltaR

float ElectronMuonTopoInfo::m_DeltaR
private

Delta R between electron and muon.

Definition at line 73 of file ElectronMuonTopoInfo.h.

◆ m_electronValid

bool ElectronMuonTopoInfo::m_electronValid
private

boolean flag showing the validity of electron

Definition at line 77 of file ElectronMuonTopoInfo.h.

◆ m_InvMass

float ElectronMuonTopoInfo::m_InvMass
private

Invariant mass of electron and muon.

Definition at line 75 of file ElectronMuonTopoInfo.h.

◆ m_oppositeCharge

bool ElectronMuonTopoInfo::m_oppositeCharge
private

True if electron and muon have opposite charged.

Definition at line 79 of file ElectronMuonTopoInfo.h.

◆ m_roiWord

int ElectronMuonTopoInfo::m_roiWord
private

Identifier of the RoI.

Definition at line 69 of file ElectronMuonTopoInfo.h.

◆ m_vertexState

unsigned short ElectronMuonTopoInfo::m_vertexState
private

3 bit description of vertex: 0=common, 1=not common, 3= not applicable

Definition at line 81 of file ElectronMuonTopoInfo.h.


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