ATLAS Offline Software
JetAssociationBase.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 #ifndef JETEVENT_JETASSOCIATIONBASE_H
6 #define JETEVENT_JETASSOCIATIONBASE_H
7 
10 
11 namespace Analysis {
12  class TrackAssociationCnv_p1;
13  class PhotonAssociationCnv_p1;
14  class MuonAssociationCnv_p1;
15  class ElectronAssociationCnv_p1;
16  class ISvxAssociationCnv_p1;
17 }
18 
19 // RS HERE
20 class JetAssociationBase : public virtual INavigable
21 {
22  // make the templated converter base friend
23  template <class PERS>
24  friend class JetConverterBase;
25 
26  public:
27 
29  typedef name_t NameType; // FIXME backward compatibility
30 
31  virtual ~JetAssociationBase() = default;
32 
33  void setName(const name_t& name);
34  const name_t& name() const;
35  size_t keyIndex() const { return m_keyIndex; }
36 
37  virtual JetAssociationBase* clone() const = 0;// { return 0; };
38 
39  // RS
41 
42  // virtual void fillToken(INavigationToken&) const { };
43 
44  // virtual void fillToken(INavigationToken&, const std::any&) const { };
45 
46 protected:
53 
54  // JetAssociationBase();
55 
56  size_t m_keyIndex;
58 
59 };
60 #endif
INavigable.h
JetAssociationBase::NameType
name_t NameType
Definition: JetAssociationBase.h:29
Analysis::TrackAssociationCnv_p1
Definition: TrackAssociationCnv_p1.h:24
JetKeyDescriptor.h
Analysis::MuonAssociationCnv_p1
Definition: MuonAssociationCnv_p1.h:24
JetKeyDescriptor::key_t
std::string key_t
Definition: JetKeyDescriptor.h:52
JetAssociationBase::keyIndex
size_t keyIndex() const
Definition: JetAssociationBase.h:35
JetAssociationBase::name_t
JetKeyDescriptor::key_t name_t
Definition: JetAssociationBase.h:28
JetAssociationBase::clone
virtual JetAssociationBase * clone() const =0
JetAssociationBase::~JetAssociationBase
virtual ~JetAssociationBase()=default
JetAssociationBase::setName
void setName(const name_t &name)
Definition: JetAssociationBase.cxx:15
Analysis::PhotonAssociationCnv_p1
Definition: PhotonAssociationCnv_p1.h:24
JetAssociationBaseCnv_p1
Definition: JetAssociationBaseCnv_p1.h:16
JetAssociationBase::JetAssociationBase
JetAssociationBase()
Definition: JetAssociationBase.cxx:10
JetConverterBase
Definition: JetConverterBase.h:32
INavigable
Definition: INavigable.h:18
JetAssociationBase
Definition: JetAssociationBase.h:21
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
JetAssociationBase::m_keyIndex
size_t m_keyIndex
Definition: JetAssociationBase.h:56
JetAssociationBase::m_jetKeyDescr
JetKeyDescriptorInstance * m_jetKeyDescr
Definition: JetAssociationBase.h:57
Analysis::ElectronAssociationCnv_p1
Definition: ElectronAssociationCnv_p1.h:24
Analysis::ISvxAssociationCnv_p1
Definition: ISvxAssociationCnv_p1.h:23
JetKeyDescriptorInstance
Definition: JetKeyDescriptor.h:100
JetAssociationBase::name
const name_t & name() const
Definition: JetAssociationBase.cxx:20