13#ifndef TRGCDCWireHitMC_FLAG_
14#define TRGCDCWireHitMC_FLAG_
16#include "CLHEP/Geometry/Point3D.h"
17#include "CLHEP/Geometry/Vector3D.h"
19#ifdef TRGCDC_SHORT_NAMES
20#define TCWHitMC TRGCDCWireHitMC
54 const HepGeom::Vector3D<double>&
direction(
void)
const;
57 const CLHEP::Hep3Vector&
momentum(
void)
const;
120 const HepGeom::Vector3D<double>&
155 const CLHEP::Hep3Vector&
A class to represent a GEN_HEPEVT particle in tracking.
A class to represent a MC wire hit in CDC.
int _leftRight
leftright info
CLHEP::Hep3Vector _momentum
momentum
const TRGCDCWire * _wire
pointer to TRGCDCWire
const TRGCDCWireHit * _hit
pointer to TRGCDCWireHit
HepGeom::Vector3D< double > _direction
direction vector
const TRGCDCTrackMC * _hep
pointer to TRGCDCTrackMC
HepGeom::Point3D< double > _position
position vector
HepGeom::Point3D< double > _entrance
entrance vector
A class to represent a wire hit in CDC.
A class to represent a wire in CDC.
The instance of TRGCDC is a singleton.
const TRGCDCWire * wire(void) const
returns a pointer to a TRGCDCWire.
virtual ~TRGCDCWireHitMC()
Destructor.
const HepGeom::Point3D< double > & hitPosition(void) const
returns hit position.
const CLHEP::Hep3Vector & momentum(void) const
returns momentum vector at the entrance.
int leftRight(void) const
returns left or right.
float distance(void) const
returns drift distance.
const HepGeom::Point3D< double > & entrance(void) const
returns an entrance point.
const TRGCDCWireHit * hit(void) const
returns a pointer to a TRGCDCWireHit.
const TRGCDCTrackMC * hep(void) const
returns a pointer to a GEN_HEPEVT.
const HepGeom::Vector3D< double > & direction(void) const
returns vector from entrance to exit point.
Abstract base class for different kinds of events.