CMS 3D CMS Logo

LayerNavigator.h
Go to the documentation of this file.
1 #ifndef FASTSIM_LAYERNAVIGATOR_H
2 #define FASTSIM_LAYERNAVIGATOR_H
3 
4 #include <string>
5 
6 
8 // Author: L. Vanelderen, S. Kurz
9 // Date: 29 May 2017
11 
12 
13 namespace fastsim
14 {
15  class SimplifiedGeometry;
16  class ForwardSimplifiedGeometry;
17  class BarrelSimplifiedGeometry;
18  class Geometry;
19  class Particle;
20 
22 
52  {
53  public:
55 
59 
61 
66  bool moveParticleToNextLayer(Particle & particle, const SimplifiedGeometry * & layer);
67 
68  private:
69  const Geometry * const geometry_;
75  };
76 }
77 
78 #endif
Implementation of a forward detector layer (disk).
Implementation of a generic detector layer (base class for forward/barrel layers).
const BarrelSimplifiedGeometry * previousBarrelLayer_
Pointer to the previous (opposite direction of the particle&#39;s momentum) barrel layer.
LayerNavigator(const Geometry &geometry)
Constructor.
Handles/tracks (possible) intersections of particle&#39;s trajectory and tracker layers.
Implementation of a barrel detector layer (cylindrical).
bool moveParticleToNextLayer(Particle &particle, const SimplifiedGeometry *&layer)
Move particle along its trajectory to the next intersection with any of the tracker layers...
const BarrelSimplifiedGeometry * nextBarrelLayer_
Pointer to the next (direction of the particle&#39;s momentum) barrel layer.
const Geometry *const geometry_
The geometry of the tracker material.
const ForwardSimplifiedGeometry * previousForwardLayer_
Pointer to the previous (opposite direction of the particle&#39;s momentum) forward layer.
Definition the tracker geometry (vectors of forward/barrel layers).
Definition: Geometry.h:34
const ForwardSimplifiedGeometry * nextForwardLayer_
Pointer to the next (direction of the particle&#39;s momentum) forward layer.
static const std::string MESSAGECATEGORY