12#ifndef _DEFINE_CYLINDER_H_
13#define _DEFINE_CYLINDER_H_
14#include "CLHEP/Geometry/Point3D.h"
15#ifndef ENABLE_BACKWARDS_COMPATIBILITY
18#include "TrkReco/RkFitMaterial.h"
19#include "TrkReco/TRunge.h"
31 double radius,
double thick,
32 double length,
double z0)
37 zf_ = z0 + length * .5;
38 zb_ = z0 - length * .5;
HepGeom::Point3D< double > HepPoint3D
Cylinder is an Element whose shape is a cylinder.
RkFitCylinder(const RkFitMaterial *material, double radius, double thick, double length, double z0)
Constructor.
bool isInside2(const HepPoint3D &x) const
const RkFitMaterial * material_
bool isInside(const HepPoint3D &x) const
Check if the position x is inside the current cylinder.
virtual double radius(void) const
Extract radius of the cylinder.
void updateTrack(TRunge &track, double y[6]) const
double intersect(TRunge &track, HepPoint3D &x) const
Find intersection with Helix.
A class to represent a track in tracking.