ATLAS Offline Software
ITruthParticleVisitor.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // ITruthParticleVisitor.h
8 // Header file for class ITruthParticleVisitor
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef MCPARTICLEKERNEL_ITRUTHPARTICLEVISITOR_H
12 #define MCPARTICLEKERNEL_ITRUTHPARTICLEVISITOR_H
13 
22 // STL includes
23 
24 // Gaudi includes
25 
26 // Forward declaration
27 class TruthParticle;
28 
30 {
31 
33  // Public methods:
35  public:
36 
40 
44 
48 
54  virtual ~ITruthParticleVisitor();
55 
57  // Const methods:
59 
63  virtual
64  void visit( TruthParticle* truthParticle ) const = 0;
65 
66 
67 };
68 
72 
73 #endif //> MCPARTICLEKERNEL_ITRUTHPARTICLEVISITOR_H
ITruthParticleVisitor::operator=
ITruthParticleVisitor & operator=(const ITruthParticleVisitor &rhs)
Assignment operator:
Definition: ITruthParticleVisitor.cxx:32
TruthParticle
Definition: PhysicsAnalysis/TruthParticleID/McParticleEvent/McParticleEvent/TruthParticle.h:58
ITruthParticleVisitor::~ITruthParticleVisitor
virtual ~ITruthParticleVisitor()
Constructor with parameters:
Definition: ITruthParticleVisitor.cxx:42
ITruthParticleVisitor
Definition: ITruthParticleVisitor.h:30
ITruthParticleVisitor::ITruthParticleVisitor
ITruthParticleVisitor()
Default constructor:
Definition: ITruthParticleVisitor.cxx:25
ITruthParticleVisitor::visit
virtual void visit(TruthParticle *truthParticle) const =0
The method to visit a TruthParticle to apply further modifications to the instance at hand.