ATLAS Offline Software
GradedTrack.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETTAGTOOLS_GRADEDTRACK
6 #define JETTAGTOOLS_GRADEDTRACK
7 
8 /******************************************************
9  @class GradedTrack
10 ********************************************************/
11 
12 #include "JetTagInfo/TrackGrade.h"
13 #include <string>
14 #include <utility>
15 #include <vector>
16 #include <iostream>
17 
18 //#include "xAODTracking/TrackParticle.h"
20 
21 class MsgStream;
22 //namespace xAOD { class TrackParticle; }
23 
24 namespace Analysis {
25 
26 class ITrackGradeFactory;
27 
29 
30 class GradedTrack {
31  public:
32 
33  // GradedTrack(const xAOD::TrackParticle*, TrackGrade);
34  GradedTrack(const tracklink_t&, const TrackGrade&);
35  // const xAOD::TrackParticle* track;
38 };
39 //MsgStream& operator<<(MsgStream& out, const GradedTrack&);
40 //std::ostream& operator<<(std::ostream& out, const GradedTrack&);
41 
42 
44  public:
46  TrackGradePartition(const std::string&,const ITrackGradeFactory&);
48  void add(const TrackGrade&);
49  const std::vector<TrackGrade>& grades() const;
50  const std::string suffix() const;
51  int size() const;
52  private:
53  std::vector<TrackGrade> m_grades;
54 };
55 
56 MsgStream& operator<<(MsgStream& out, const TrackGradePartition&);
57 std::ostream& operator<<(std::ostream& out, const TrackGradePartition&);
58 
59 
60 }
61 #endif // JETTAGTOOLS_GRADEDTRACK
Analysis::TrackGrade
Definition: TrackGrade.h:11
Analysis::TrackGradePartition::add
void add(const TrackGrade &)
Definition: GradedTrack.cxx:54
Analysis::TrackGradePartition
Definition: GradedTrack.h:43
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Analysis::GradedTrack::grade
TrackGrade grade
Definition: GradedTrack.h:37
Analysis::GradedTrack::track
const tracklink_t & track
Definition: GradedTrack.h:36
Analysis::GradedTrack::GradedTrack
GradedTrack(const tracklink_t &, const TrackGrade &)
Definition: GradedTrack.cxx:17
Analysis::TrackGradePartition::grades
const std::vector< TrackGrade > & grades() const
Definition: GradedTrack.cxx:58
Analysis::ITrackGradeFactory
Definition: ITrackGradeFactory.h:47
Analysis::TrackGradePartition::~TrackGradePartition
~TrackGradePartition()
Definition: GradedTrack.cxx:51
Analysis::tracklink_t
ElementLink< xAOD::TrackParticleContainer > tracklink_t
Definition: GradedTrack.h:26
ITrackGradeFactory
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TrackGradePartition::TrackGradePartition
TrackGradePartition()
Definition: GradedTrack.cxx:23
Analysis::TrackGradePartition::m_grades
std::vector< TrackGrade > m_grades
Definition: GradedTrack.h:53
TrackGrade.h
Analysis::TrackGradePartition::size
int size() const
Definition: GradedTrack.cxx:74
Analysis::TrackGradePartition::suffix
const std::string suffix() const
Definition: GradedTrack.cxx:62
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
Analysis::GradedTrack
Definition: GradedTrack.h:30
TrackParticleContainer.h