2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 #include "GaudiKernel/MsgStream.h"
6 #include "Identifier/Identifier.h"
8 inline TrigL2HitResidual::TrigL2HitResidual(Identifier id, Region reg,
9 double phiR, double phiP) :
10 m_id(id), m_region(reg), m_phiRes(phiR), m_phiPull(phiP) {
12 m_etaRes=0.0;m_etaPull=0.0;
15 inline TrigL2HitResidual::TrigL2HitResidual(Identifier id, Region reg,
16 double phiR, double phiP,
17 double etaR, double etaP) :
18 m_id(id), m_region(reg), m_phiRes(phiR), m_phiPull(phiP), m_etaRes(etaR), m_etaPull(etaP) {
22 inline double TrigL2HitResidual::phiResidual() const {
26 inline double TrigL2HitResidual::etaResidual() const {
30 inline double TrigL2HitResidual::phiPull() const {
34 inline double TrigL2HitResidual::etaPull() const {
38 inline Identifier TrigL2HitResidual::identify() const {
42 inline Region TrigL2HitResidual::regionId() const {
46 inline std::string str( const TrigL2HitResidual& v ) {
49 ss << "Residual: region "<< static_cast<std::uint8_t>(v.regionId())
50 <<" phi: "<<v.phiResidual()
52 <<" eta: "<<v.etaResidual()
57 inline MsgStream& operator<< ( MsgStream& m, const TrigL2HitResidual& v ) {