ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetValidation
InDetPhysValMonitoring
InDetPhysValMonitoring
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
13
//STL includes
14
#include <string>
15
16
//Gaudi
17
#include "GaudiKernel/IAlgTool.h"
18
19
#include "
xAODTruth/TruthParticle.h
"
20
#include "
xAODTracking/TrackParticle.h
"
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
();
28
virtual
~IInDetPhysValDecoratorTool
(){}
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
TrackParticle.h
TruthParticle.h
IID_IInDetPhysValDecoratorTool
static const InterfaceID IID_IInDetPhysValDecoratorTool("IInDetPhysValDecoratorTool", 1, 0)
IInDetPhysValDecoratorTool
Definition
IInDetPhysValDecoratorTool.h:25
IInDetPhysValDecoratorTool::decorateTrack
virtual bool decorateTrack(const xAOD::TrackParticle &, const std::string &) const
Definition
IInDetPhysValDecoratorTool.h:30
IInDetPhysValDecoratorTool::decorateTruth
virtual bool decorateTruth(const xAOD::TruthParticle &, const std::string &) const
Definition
IInDetPhysValDecoratorTool.h:29
IInDetPhysValDecoratorTool::interfaceID
static const InterfaceID & interfaceID()
Definition
IInDetPhysValDecoratorTool.h:33
IInDetPhysValDecoratorTool::~IInDetPhysValDecoratorTool
virtual ~IInDetPhysValDecoratorTool()
Definition
IInDetPhysValDecoratorTool.h:28
xAOD::TrackParticle
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Definition
Event/xAOD/xAODTracking/xAODTracking/TrackParticle.h:13
xAOD::TruthParticle
TruthParticle_v1 TruthParticle
Typedef to implementation.
Definition
Event/xAOD/xAODTruth/xAODTruth/TruthParticle.h:15
Generated on
for ATLAS Offline Software by
1.17.0