ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24namespace Analysis
25{
26
27
30 typedef std::string NameType;
31
32
41
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
Class IConstituent: This is the abstract base class for additional jet constituents to be put into th...
virtual ~IConstituent()=default
destructor
virtual void setName(NameType &name)=0
to set the name
virtual NameType name() const =0
returns the infoType of the info objects.
virtual IConstituent * clone() const =0
a clone method for the proper workings of the copy constructor
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string NameType
string to identify the constituent