Belle II Software development
TRGCDCWireHitMC Class Reference

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

#include <WireHitMC.h>

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.

Friends And Related Function Documentation

◆ TRGCDC

friend class TRGCDC
friend

Definition at line 93 of file WireHitMC.h.

Member Data Documentation

◆ _direction

HepGeom::Vector3D<double> _direction
private

direction vector

Definition at line 81 of file WireHitMC.h.

◆ _distance

float _distance
private

distance

Definition at line 85 of file WireHitMC.h.

◆ _energy

float _energy
private

energy

Definition at line 87 of file WireHitMC.h.

◆ _entrance

HepGeom::Point3D<double> _entrance
private

entrance vector

Definition at line 79 of file WireHitMC.h.

◆ _hep

const TRGCDCTrackMC* _hep
private

pointer to TRGCDCTrackMC

Definition at line 89 of file WireHitMC.h.

◆ _hit

const TRGCDCWireHit* _hit
private

pointer to TRGCDCWireHit

Definition at line 75 of file WireHitMC.h.

◆ _leftRight

int _leftRight
private

leftright info

Definition at line 91 of file WireHitMC.h.

◆ _momentum

CLHEP::Hep3Vector _momentum
private

momentum

Definition at line 83 of file WireHitMC.h.

◆ _position

HepGeom::Point3D<double> _position
private

position vector

Definition at line 77 of file WireHitMC.h.

◆ _wire

const TRGCDCWire* _wire
private

pointer to TRGCDCWire

Definition at line 73 of file WireHitMC.h.


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