FairShip
Loading...
Searching...
No Matches
SHiP Namespace Reference

Namespaces

namespace  ActsFrame

Classes

class  ActsShipField
struct  StrawWire
 A straw wire in the SHiP frame (cm), for pattern recognition. More...
class  ActsStrawGeometry
class  ActsStrawTracker
struct  PatRecHit
struct  LineSegment
struct  TrackCandidate
class  StrawPatRec
class  Detector
class  DetectorHit
class  DetectorPoint
class  ScoringPlane
 Thin vacuum planes that record every track entering them. More...
class  RecoTrack
class  RecoVertex
class  Generator
class  TTreeGenerator
 A FairRoot generator that reads particle data from ROOT TTrees. More...

Functions

double signedWireDistance (const LineSegment &line, const StrawWire &wire)

Function Documentation

◆ signedWireDistance()

double SHiP::signedWireDistance ( const LineSegment & line,
const StrawWire & wire )

Signed distance of closest approach between a straight track and a wire, with the sign convention of the ACTS straw surface (loc0)

Definition at line 261 of file StrawPatRec.cpp.

261 {
262 const Eigen::Vector3d p(line.x(wire.z), line.y(wire.z), wire.z);
263 const Eigen::Vector3d c(wire.x, wire.y, wire.z);
264 return (p - c).dot(signDirection(line, wire));
265}
double y(double z) const
double x(double z) const
double x
Wire centre.