ATLAS Offline Software
Classes | Functions
ElectronMuonTopoInfo.h File Reference
#include <string>
#include <map>
#include <cmath>
#include "GaudiKernel/MsgStream.h"
#include "TrigParticle/TrigElectron.h"
#include "TrigParticle/TrigTau.h"
#include "TrigMuonEvent/CombinedMuonFeature.h"
#include "egammaEvent/egammaContainer.h"
#include "tauEvent/TauJetContainer.h"
#include "tauEvent/TauJet.h"
#include "tauEvent/TauDetailsContainer.h"
#include "tauEvent/TauCommonDetails.h"
#include "tauEvent/TauCommonExtraDetails.h"
#include "tauEvent/TauPID.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ElectronMuonTopoInfo
 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. More...
 

Functions

std::string str (const ElectronMuonTopoInfo &d)
 Helper function for printing the object. More...
 
MsgStream & operator<< (MsgStream &m, const ElectronMuonTopoInfo &d)
 
bool operator== (const ElectronMuonTopoInfo &d1, const ElectronMuonTopoInfo &d2)
 
bool operator!= (const ElectronMuonTopoInfo &d1, const ElectronMuonTopoInfo &d2)
 

Function Documentation

◆ operator!=()

bool operator!= ( const ElectronMuonTopoInfo d1,
const ElectronMuonTopoInfo d2 
)
inline

Definition at line 156 of file ElectronMuonTopoInfo.h.

156  {
157  return !( d1 == d2 );
158  }

◆ operator<<()

MsgStream& operator<< ( MsgStream &  m,
const ElectronMuonTopoInfo d 
)

Definition at line 77 of file ElectronMuonTopoInfo.cxx.

78  {
79  return( m << str ( d ) );
80  }

◆ operator==()

bool operator== ( const ElectronMuonTopoInfo d1,
const ElectronMuonTopoInfo d2 
)

Definition at line 82 of file ElectronMuonTopoInfo.cxx.

83  {
84  return(d1.DeltaPhi()==d2.DeltaPhi() && d1.DeltaR()==d2.DeltaR() && d1.InvMass()==d2.InvMass()
85  && d1.OppositeCharge()==d2.OppositeCharge() && d1.VertexState() == d2.VertexState() );
86  }

◆ str()

std::string str ( const ElectronMuonTopoInfo d)

Helper function for printing the object.

Definition at line 63 of file ElectronMuonTopoInfo.cxx.

64  {
65  std::stringstream ss;
66  ss << "ElectronMuonTopoInfo at address: " << &d
67  << " RoIWord: " << d.RoiWord()
68  << " Delta Phi: " << d.DeltaPhi()
69  << " Delta R: " << d.DeltaR()
70  << " Invariant mass: " << d.InvMass()
71  << " electron valid: " << d.ElecValid()
72  << " opposite charge: " << d.OppositeCharge()
73  << " vertex state: " << d.VertexState();
74  return ss.str();
75  }
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
hist_file_dump.d
d
Definition: hist_file_dump.py:137
dq_defect_virtual_defect_validation.d1
d1
Definition: dq_defect_virtual_defect_validation.py:79
dq_defect_virtual_defect_validation.d2
d2
Definition: dq_defect_virtual_defect_validation.py:81
str
Definition: BTagTrackIpAccessor.cxx:11