19#ifndef _ELECTRONMUONTOPOINFO_H_
20#define _ELECTRONMUONTOPOINFO_H_
27#include "GaudiKernel/MsgStream.h"
55 ElectronMuonTopoInfo(
int roiWord,
float deltaPhi=-1.,
float deltaR = -1.,
float invMass = -1.,
bool el_valid =
false,
bool oppositeCharge = 0,
unsigned short vertexState =0);
114 double invariantMass(
double Pt1,
double eta1,
double phi1,
double m1,
115 double Pt2,
double eta2,
double phi2,
double m2)
const ;
157 return !( d1 == d2 );
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool operator==(const ElectronMuonTopoInfo &d1, const ElectronMuonTopoInfo &d2)
MsgStream & operator<<(MsgStream &m, const ElectronMuonTopoInfo &d)
bool operator!=(const ElectronMuonTopoInfo &d1, const ElectronMuonTopoInfo &d2)
Declaration of tau jet transient class.
Declaration of details class for tau event.
Declaration of tau details container transient class.
Object for taus common for ESD and AOD.
ElectronMuonTopoInfo is a class for storing information about combuned electron-muon object.
bool opositeCharge(const TrigElectron *electron1, const CombinedMuonFeature *muon1)
Opposite charge @ L2.
float m_DeltaR
Delta R between electron and muon.
double deltaR(const TrigElectron *electron1, const CombinedMuonFeature *muon1)
Delta R @ L2.
void SetOppositeCharge(bool OppositeCharge)
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.
void SetElecValid(bool ElecValid)
unsigned short VertexState() const
void SetDeltaR(float DeltaR)
int m_roiWord
Identifier of the RoI.
void SetVertexState(unsigned short vextexState)
bool m_electronValid
boolean flag showing the validity of electron
void SetInvMass(float InvMass)
double invariantMass(const TrigElectron *electron1, const CombinedMuonFeature *muon1)
Invariant mass calculation @ L2.
double deltaPhi(const TrigElectron *electron1, const CombinedMuonFeature *muon1)
Delta phi @ L2.
void SetRoiWord(int RoiWord)
set methods
bool OppositeCharge() const
int RoiWord() const
accessor methods
float m_InvMass
Invariant mass of electron and muon.
Vertex commonVertex(const TrigElectron *electron1, const CombinedMuonFeature *muon1)
checking Vertex compatibility @ L2
void SetDeltaPhi(float DeltaPhi)
bool m_oppositeCharge
True if electron and muon have opposite charged.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee