ATLAS Offline Software
ITrackParticleCompressorTool.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 // $Id: ITrackParticleCompressorTool.h 789457 2016-12-13 12:00:43Z krasznaa $
8 #ifndef XAODTRACKINGCNV_ITRACKPARTICLECOMPRESSORTOOL_H
9 #define XAODTRACKINGCNV_ITRACKPARTICLECOMPRESSORTOOL_H
10 
11 // Gaudi/Athena include(s):
12 #include "GaudiKernel/IAlgTool.h"
13 #include "GaudiKernel/StatusCode.h"
14 
15 // EDM include(s):
17 
18 namespace xAODMaker {
19 
21  static const InterfaceID
22  IID_ITrackParticleCompressorTool( "xAODMaker::ITrackParticleCompressorTool",
23  1, 0 );
24 
36  class ITrackParticleCompressorTool : public virtual IAlgTool {
37 
38  public:
40  virtual StatusCode compress( xAOD::TrackParticle& tp ) const = 0;
41 
43  static const InterfaceID& interfaceID() {
44  return IID_ITrackParticleCompressorTool;
45  }
46 
47  }; // class ITrackParticleCompressorTool
48 
49 } // namespace xAODMaker
50 
51 #endif // XAODTRACKINGCNV_ITRACKPARTICLECOMPRESSORTOOL_H
xAODMaker::ITrackParticleCompressorTool
Interface for the tool(s) compressing xAOD::TrackParticle objects.
Definition: ITrackParticleCompressorTool.h:36
ParticleTest.tp
tp
Definition: ParticleTest.py:25
xAODMaker
Definition: StoreGateSvc.h:72
xAODMaker::ITrackParticleCompressorTool::compress
virtual StatusCode compress(xAOD::TrackParticle &tp) const =0
Function compressing the properties of a track particle.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
xAODMaker::ITrackParticleCompressorTool::interfaceID
static const InterfaceID & interfaceID()
Gaudi interface definition.
Definition: ITrackParticleCompressorTool.h:43
TrackParticle.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43