InDetTrackSummary.cxx 1.15 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/

#include "TrkTrackSummary/InDetTrackSummary.h"

#include <iostream>
#include "GaudiKernel/MsgStream.h"


Trk::InDetTrackSummary::InDetTrackSummary() : 
  m_likelihoodspixeldedx(3,-1),
  m_massdedx(-1){
}

Trk::InDetTrackSummary::~InDetTrackSummary() {
}


std::ostream& Trk::operator<<( std::ostream& out, const InDetTrackSummary& trackSum )
{
  out<<"InDetTrackSummary: likelihoods from pixel dEdx (pion/kaon/proton): " << trackSum.likelihoodsPixeldEdx()[0] << " " << trackSum.likelihoodsPixeldEdx()[1] << " " << trackSum.likelihoodsPixeldEdx()[2] << std::endl;
  out<<"InDetTrackSummary: mass calculated using pixel dEdx: " << trackSum.massPixeldEdx() << std::endl;
  return out;
}

MsgStream& Trk::operator<<( MsgStream& out, const InDetTrackSummary& trackSum )
{
29
30
  out<<"InDetTrackSummary: likelihoods from pixel dEdx (pion/kaon/proton): " << trackSum.likelihoodsPixeldEdx()[0] << " " << trackSum.likelihoodsPixeldEdx()[1] << " " << trackSum.likelihoodsPixeldEdx()[2] << endmsg;
  out<<"InDetTrackSummary: mass calculated using pixel dEdx: " << trackSum.massPixeldEdx() << endmsg;
31
32
  return out;
}