InDetTrackSummary.h 1.38 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
/*
  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/

#ifndef TRK_INDETTRACKSUMMARY_H
#define TRK_INDETTRACKSUMMARY_H

#include "Identifier/Identifier.h"

class MsgStream;
11
12
class InDetTrackSummaryCnv_p1;
class TrackSummaryCnv_p2;
13
14
15
16
17
18
19
20
21
22
23
24
25
26


namespace InDet {
  class InDetTrackSummaryHelperTool;
}

namespace Trk {
 
  /** 
      Detailed track summary for the indet system 
  */
  class InDetTrackSummary {
  public:
    friend class InDet::InDetTrackSummaryHelperTool;
27
28
    friend class ::InDetTrackSummaryCnv_p1;
    friend class ::TrackSummaryCnv_p2;
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

    /** default constructor */
    InDetTrackSummary();

    /** destructor */
    ~InDetTrackSummary();
   
    /** access to the vector of likelihoods (pion/kaon/proton) */
    const std::vector<float>& likelihoodsPixeldEdx() const { return m_likelihoodspixeldedx; }

    /** access to mass calculated using pixel dEdx */
    float massPixeldEdx() const { return m_massdedx; }

  private:

    std::vector<float> m_likelihoodspixeldedx; //<! vector with likelihoods
    float m_massdedx; //<! mass calculated using pixel dEdx
  };

/**output. This dumps the values of each of the possible summary enums*/
MsgStream& operator<<(MsgStream& out, const InDetTrackSummary& trackSum);

/**output. This dumps the values of each of the possible summary enums*/
std::ostream& operator<<(std::ostream& out, const InDetTrackSummary& trackSum);

}
#endif