ATLAS Offline Software
Loading...
Searching...
No Matches
IParticleOrderingTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// IParticleOrderingTool.h, (c) ATLAS Detector software
8
9
10#ifndef ISF_INTERFACES_IORDERINGTOOL_H
11#define ISF_INTERFACES_IORDERINGTOOL_H 1
12
13
14#include "GaudiKernel/IAlgTool.h"
15
16// Simulation includes
19
20namespace ISF {
21
22 class ISFParticle;
23
34
35 class IParticleOrderingTool : virtual public IAlgTool {
36 public:
37
40
43
45 inline void setOrder( ISFParticle& p );
46
48 virtual ISF::ParticleOrder computeOrder( const ISFParticle &p ) const = 0;
49 };
50
51
52 //
53 // inline methods
54 //
55
59 p.setOrder( order );
60 }
61
62} // end of namespace
63
64#endif // ISF_INTERFACES_IORDERINGTOOL_H
The implementation of this AtheanAlgTool interface has to compute an order for each given particle.
void setOrder(ISFParticle &p)
set the order for the given particle
DeclareInterfaceID(IParticleOrderingTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual ~IParticleOrderingTool()
Virtual destructor.
virtual ISF::ParticleOrder computeOrder(const ISFParticle &p) const =0
compute the order for the given ISF particle
The generic ISF particle definition,.
Definition ISFParticle.h:42
ISFParticleOrderedQueue.
int ParticleOrder
particle order definition