| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

G4DhHit Class Reference

#include <G4DhHit.h>

Collaboration diagram for G4DhHit:

[legend]
List of all members.

Public Member Functions

 G4DhHit ()
 G4DhHit (DayaBay::SimHit *hit, int trackid=0)
virtual ~G4DhHit ()
void set (DayaBay::SimHit *hit)
DayaBay::SimHitget ()
void setTrackId (int)
int trackId () const

Private Attributes

DayaBay::SimHitm_hit
int m_g4trackid

Detailed Description

Definition at line 14 of file G4DhHit.h.


Constructor & Destructor Documentation

G4DhHit::G4DhHit (  ) 

Definition at line 9 of file G4DhHit.cc.

00010     : m_hit(0) 
00011     , m_g4trackid(0)
00012 {
00013 }

G4DhHit::G4DhHit ( DayaBay::SimHit hit,
int  trackid = 0 
)

Definition at line 4 of file G4DhHit.cc.

00005     : m_hit(hit) 
00006     , m_g4trackid(trackid)
00007 {
00008 }

G4DhHit::~G4DhHit (  )  [virtual]

Definition at line 14 of file G4DhHit.cc.

00015 {
00016 }


Member Function Documentation

void G4DhHit::set ( DayaBay::SimHit hit  ) 

Definition at line 18 of file G4DhHit.cc.

00019 { 
00020     m_hit = hit; 
00021 }

DayaBay::SimHit * G4DhHit::get (  ) 

Definition at line 22 of file G4DhHit.cc.

00023 { 
00024     return m_hit; 
00025 }

void G4DhHit::setTrackId ( int   ) 

Definition at line 27 of file G4DhHit.cc.

00028 {
00029   m_g4trackid = id;
00030 }

int G4DhHit::trackId (  )  const

Definition at line 32 of file G4DhHit.cc.

00033 {
00034   return m_g4trackid;
00035 }


Member Data Documentation

DayaBay::SimHit* G4DhHit::m_hit [private]

Definition at line 29 of file G4DhHit.h.

int G4DhHit::m_g4trackid [private]

Definition at line 30 of file G4DhHit.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:32:09 2011 for G4DataHelpers by doxygen 1.4.7