12#ifndef _DEFINE_CYLINDER_H_
13#define _DEFINE_CYLINDER_H_
15#include "CLHEP/Geometry/Point3D.h"
16#ifndef ENABLE_BACKWARDS_COMPATIBILITY
31 double inner_radius,
double thick,
36 ro_ = inner_radius + thick;
HepGeom::Point3D< double > HepPoint3D
Cylinder is an Element whose shape is a cylinder.
KalFitCylinder(const KalFitMaterial *material, double inner_radius, double thick, double length, double z0)
Constructor.
bool isInside(const HepPoint3D &x) const
Check if the position x is inside the current cylinder.
virtual double intersect(const KalFitTrack &track, HepPoint3D &x) const
Find intersection with Helix.
bool isInside2(const HepPoint3D &x) const
virtual double radius(void) const
Extract radius of the cylinder.
const KalFitMaterial & material(void) const
Return Material of which Element is made.
Description of a track class (<- Helix.cc)