Belle II Software  release-08-01-10
TRGCDCWireHitMC Class Reference

A class to represent a MC wire hit in CDC. More...

#include <WireHitMC.h>

Collaboration diagram for TRGCDCWireHitMC:

Public Member Functions

 TRGCDCWireHitMC (const TRGCDCWire *, const TRGCDCWireHit *)
 Constructor.
 
virtual ~TRGCDCWireHitMC ()
 Destructor.
 
float distance (void) const
 returns drift distance.
 
const HepGeom::Point3D< double > & hitPosition (void) const
 returns hit position.
 
const HepGeom::Point3D< double > & entrance (void) const
 returns an entrance point.
 
const HepGeom::Vector3D< double > & direction (void) const
 returns vector from entrance to exit point.
 
const CLHEP::Hep3Vector & momentum (void) const
 returns momentum vector at the entrance.
 
int leftRight (void) const
 returns left or right.
 
const TRGCDCWirewire (void) const
 returns a pointer to a TRGCDCWire.
 
const TRGCDCTrackMChep (void) const
 returns a pointer to a GEN_HEPEVT.
 
const TRGCDCWireHithit (void) const
 returns a pointer to a TRGCDCWireHit.
 

Private Attributes

const TRGCDCWire_wire
 pointer to TRGCDCWire
 
const TRGCDCWireHit_hit
 pointer to TRGCDCWireHit
 
HepGeom::Point3D< double > _position
 position vector
 
HepGeom::Point3D< double > _entrance
 entrance vector
 
HepGeom::Vector3D< double > _direction
 direction vector
 
CLHEP::Hep3Vector _momentum
 momentum
 
float _distance
 distance
 
float _energy
 energy
 
const TRGCDCTrackMC_hep
 pointer to TRGCDCTrackMC
 
int _leftRight
 leftright info
 

Friends

class TRGCDC
 

Detailed Description

A class to represent a MC wire hit in CDC.

Definition at line 34 of file WireHitMC.h.


The documentation for this class was generated from the following files: