ATLAS Offline Software
IConstituent.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  IConstituent.h - Description
7  -------------------
8  begin : January, 2005
9  authors : Kyle Cranmer, Andreas Wildauer
10  email : cranmer@cern.ch, andreas.wildauer@cern.ch
11 
12  changes :
13 
14 ***************************************************************************/
15 
16 #ifndef ANALYSIS_ICONSTITUENT_H
17 #define ANALYSIS_ICONSTITUENT_H
18 
19 #include<vector>
20 #include<string>
21 
22 #include "Navigation/INavigable.h"
23 
24 namespace Analysis
25 {
26 
27 
30  typedef std::string NameType;
31 
32 
42  class IConstituent : public virtual INavigable
43  {
44 
45  public:
46  //IConstituent() {};
47  virtual ~IConstituent() = default;
48 
49  virtual void setName(NameType& name) = 0;
51 
52  virtual NameType name() const = 0;
54 
55  virtual IConstituent* clone() const = 0;
57 
58 
59  // from INavigable we also have
60  //virtual void fillToken( INavigationToken & thisToken ) const = 0;
61  //virtual void fillToken( INavigationToken & thisToken, const std::any& ) const = 0;
62 
63 
64  }
65  ;
66 
67 }
68 
69 
70 #endif
INavigable.h
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::IConstituent::setName
virtual void setName(NameType &name)=0
to set the name
Analysis::IConstituent::~IConstituent
virtual ~IConstituent()=default
destructor
INavigable
Definition: INavigable.h:18
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::IConstituent::clone
virtual IConstituent * clone() const =0
a clone method for the proper workings of the copy constructor
Analysis::IConstituent::name
virtual NameType name() const =0
returns the infoType of the info objects.
NameType
std::string NameType
Definition: JetINav4MomAssociation.h:29