ATLAS Offline Software
Loading...
Searching...
No Matches
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. More...

Functions

std::string str (const ElectronMuonTopoInfo &d)
 Helper function for printing the object.
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!=()

◆ 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 }
static Double_t ss