ATLAS Offline Software
IJetCnvTool.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef XAODJETCNV_IJETCNVTOOL_H
8 #define XAODJETCNV_IJETCNVTOOL_H
9 
10 // Gaudi/Athena include(s):
11 #include "GaudiKernel/IAlgTool.h"
12 
13 // EDM include(s):
14 #include "xAODJet/JetContainer.h"
16 #include "AthLinks/DataLink.h"
17 
18 class JetCollection;
19 
20 namespace xAODMaker {
21 
23  static const InterfaceID
24  IID_IJetCnvTool( "xAODMaker::IJetCnvTool", 1, 0 );
25 
38  class IJetCnvTool : public virtual IAlgTool {
39 
40  public:
42  virtual StatusCode convert( const JetCollection* aodCont,
43  xAOD::JetContainer* xaodCont,
45  bool constitSearch = false) const = 0;
46 
48  static const InterfaceID& interfaceID() {
49  return IID_IJetCnvTool;
50  }
51 
52  }; // class IJetCnvTool
53 
54 } // namespace xAODMaker
55 
56 #endif // XAODJETCNV_IJETCNVTOOL_H
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::IJetCnvTool::convert
virtual StatusCode convert(const JetCollection *aodCont, xAOD::JetContainer *xaodCont, DataLink< xAOD::IParticleContainer > xaodConstitCont=DataLink< xAOD::IParticleContainer >(), bool constitSearch=false) const =0
Function that fills an existing xAOD::JetContainer.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
xAODMaker::IJetCnvTool
Interface for the tool creating JetContainer from an AOD.
Definition: IJetCnvTool.h:38
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetContainer.h
JetCollection
Container for Jets
Definition: JetCollection.h:30
xAODMaker::IJetCnvTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: IJetCnvTool.h:48