OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
AbstractTracker.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: AbstractTracker.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Class: AbstractTracker
10 // An abstract visitor class allowing to tracking a bunch of particles
11 // through a beamline.
12 //
13 // ------------------------------------------------------------------------
14 // Class category: Algorithms
15 // ------------------------------------------------------------------------
16 //
17 // $Date: 2000/03/27 09:32:32 $
18 // $Author: fci $
19 //
20 // ------------------------------------------------------------------------
21 
23 #include "Algorithms/PartData.h"
24 
25 
26 //: Abstract tracker class.
27 // An abstract visitor class implementing the default behaviour for all
28 // visitors capable of tracking a particle bunch through a beam line.
29 // It implements access to the bunch, and keeps track of the beam
30 // reference data.
31 
32 // Class AbstractTracker
33 // ------------------------------------------------------------------------
34 
35 
37  const PartData &reference,
38  bool backBeam, bool backTrack):
39  DefaultVisitor(beamline, backBeam, backTrack),
40  itsReference(reference)
41 {}
42 
43 
45 {}
virtual ~AbstractTracker()
Particle reference data.
Definition: PartData.h:38
Default algorithms.
An abstract sequence of beam line components.
Definition: Beamline.h:37