ATLAS Offline Software
ISvxConstituent.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  ISvxConstituents.h - Description
7  -------------------
8  begin : March, 2007
9  authors : CSC b-tagging vertexing note group members
10  worked started by: Giacinto Piacquadio
11  email : giacinto.piacquadio@physik.uni-freiburg.de
12 
13  changes : new!
14 
15 ***************************************************************************/
16 
17 #ifndef ANALYSIS_ISVXCONSTITUENT_H
18 #define ANALYSIS_ISVXCONSTITUENT_H
19 
20 #include<vector>
21 #include<string>
22 
24 
25 namespace Trk {
26  class VxSecVertexInfo;
27 }
28 
29 namespace Analysis
30 {
31 
32 
35  typedef std::string NameType;
36 
37 
38 
39 
41  {
42 
43  public:
44  ISvxConstituent() ;
47  ISvxConstituent(const ISvxConstituent & rhs);
48  ~ISvxConstituent() ;
49 
50  virtual void setName(NameType& name);
52 
53  virtual NameType name() const;
55 
56  virtual ISvxConstituent* clone() const;
58 
59 
61 
62  /* retrieve method */
63  const Trk::VxSecVertexInfo* vertexInfo() const;
64 
65  /* PAY ATTENTION! */
66  /* Set function (OWNERSHIP of the object is taken by THIS class, so don't delete */
67  /* the pointer you are providing afterwards) */
69 
70  /* dummy method for INavigable */
71  virtual void fillToken( INavigationToken & /* thisToken */ ) const {
72  return;
73  }
74 
75  /* dummy method for INavigable */
76  virtual void fillToken( INavigationToken & /* thisToken */,
77  const std::any& /* weight */ ) const {
78  return;
79  }
80 
81 
82  private:
83  std::string m_name;
85 
86  } ;
87 }
88 #endif
Analysis::NameType
std::string NameType
string to identify the constituent
Definition: IConstituent.h:39
Analysis::IConstituent
Class IConstituent: This is the abstract base class for additional jet constituents to be put into th...
Definition: IConstituent.h:52
Analysis::ISvxConstituent::fillToken
virtual void fillToken(INavigationToken &, const std::any &) const
Definition: ISvxConstituent.h:76
Analysis::ISvxConstituent::ISvxConstituent
ISvxConstituent()
constructor
Definition: ISvxConstituent.cxx:34
Analysis::ISvxConstituent::m_name
std::string m_name
Definition: ISvxConstituent.h:83
IConstituent.h
Analysis::ISvxConstituent::setVertexInfo
void setVertexInfo(const Trk::VxSecVertexInfo *)
Definition: ISvxConstituent.cxx:94
INavigationToken
Definition: INavigationToken.h:24
Analysis::ISvxConstituent::operator=
ISvxConstituent & operator=(const ISvxConstituent &)
Definition: ISvxConstituent.cxx:72
Analysis::ISvxConstituent::m_vertexInfo
const Trk::VxSecVertexInfo * m_vertexInfo
Definition: ISvxConstituent.h:84
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::ISvxConstituent::clone
virtual ISvxConstituent * clone() const
a clone method for the proper workings of the copy constructor
Definition: ISvxConstituent.cxx:69
Trk::VxSecVertexInfo
Definition: VxSecVertexInfo.h:63
Analysis::ISvxConstituent::setName
virtual void setName(NameType &name)
to set the name
Definition: ISvxConstituent.cxx:65
Analysis::ISvxConstituent::fillToken
virtual void fillToken(INavigationToken &) const
Definition: ISvxConstituent.h:71
Analysis::ISvxConstituent::name
virtual NameType name() const
returns the infoType of the info objects.
Definition: ISvxConstituent.cxx:67
Analysis::ISvxConstituent::vertexInfo
const Trk::VxSecVertexInfo * vertexInfo() const
Definition: ISvxConstituent.cxx:87
Analysis::ISvxConstituent::~ISvxConstituent
~ISvxConstituent()
destructor
Definition: ISvxConstituent.cxx:42
Analysis::ISvxConstituent
Definition: ISvxConstituent.h:41