ATLAS Offline Software
IInDetPhysValDecoratorTool.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 INDETPHYSVALMONITORING_IINDETPHYSVALDECORATORTOOL_H
6 #define INDETPHYSVALMONITORING_IINDETPHYSVALDECORATORTOOL_H
7 
13 //STL includes
14 #include <string>
15 
16 //Gaudi
17 #include "GaudiKernel/IAlgTool.h"
18 
21 
22 static const InterfaceID IID_IInDetPhysValDecoratorTool("IInDetPhysValDecoratorTool",1,0);
23 
24 //Interface class to decorate xAOD::IParticles with additional information required by validation
25 class IInDetPhysValDecoratorTool:virtual public IAlgTool{
26 public:
27  static const InterfaceID & interfaceID();
29  virtual bool decorateTruth(const xAOD::TruthParticle & /*particle*/, const std::string& /*prefix = ""*/) const {return false;} //default implementation
30  virtual bool decorateTrack(const xAOD::TrackParticle & /*particle*/, const std::string& /*prefix = ""*/) const {return false;}
31 };
32 
33 inline const InterfaceID & IInDetPhysValDecoratorTool::interfaceID(){
34  return IID_IInDetPhysValDecoratorTool;
35 }
36 
37 #endif
IInDetPhysValDecoratorTool
Definition: IInDetPhysValDecoratorTool.h:25
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
IInDetPhysValDecoratorTool::~IInDetPhysValDecoratorTool
virtual ~IInDetPhysValDecoratorTool()
Definition: IInDetPhysValDecoratorTool.h:28
IInDetPhysValDecoratorTool::decorateTrack
virtual bool decorateTrack(const xAOD::TrackParticle &, const std::string &) const
Definition: IInDetPhysValDecoratorTool.h:30
IInDetPhysValDecoratorTool::interfaceID
static const InterfaceID & interfaceID()
Definition: IInDetPhysValDecoratorTool.h:33
TrackParticle.h
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
TruthParticle.h
IInDetPhysValDecoratorTool::decorateTruth
virtual bool decorateTruth(const xAOD::TruthParticle &, const std::string &) const
Definition: IInDetPhysValDecoratorTool.h:29