Geant4  10.03
B2TrackerHit Class Reference

Tracker hit class. More...

#include <B2TrackerHit.hh>

+ Inheritance diagram for B2TrackerHit:
+ Collaboration diagram for B2TrackerHit:

Public Member Functions

 B2TrackerHit ()
 
 B2TrackerHit (const B2TrackerHit &)
 
virtual ~B2TrackerHit ()
 
const B2TrackerHitoperator= (const B2TrackerHit &)
 
G4int operator== (const B2TrackerHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetTrackID (G4int track)
 
void SetChamberNb (G4int chamb)
 
void SetEdep (G4double de)
 
void SetPos (G4ThreeVector xyz)
 
G4int GetTrackID () const
 
G4int GetChamberNb () const
 
G4double GetEdep () const
 
G4ThreeVector GetPos () const
 
 B2TrackerHit ()
 
 B2TrackerHit (const B2TrackerHit &)
 
virtual ~B2TrackerHit ()
 
const B2TrackerHitoperator= (const B2TrackerHit &)
 
G4int operator== (const B2TrackerHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetTrackID (G4int track)
 
void SetChamberNb (G4int chamb)
 
void SetEdep (G4double de)
 
void SetPos (G4ThreeVector xyz)
 
G4int GetTrackID () const
 
G4int GetChamberNb () const
 
G4double GetEdep () const
 
G4ThreeVector GetPos () const
 
 B2TrackerHit ()
 
 B2TrackerHit (const B2TrackerHit &)
 
virtual ~B2TrackerHit ()
 
const B2TrackerHitoperator= (const B2TrackerHit &)
 
G4int operator== (const B2TrackerHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetTrackID (G4int track)
 
void SetChamberNb (G4int chamb)
 
void SetEdep (G4double de)
 
void SetPos (G4ThreeVector xyz)
 
G4int GetTrackID () const
 
G4int GetChamberNb () const
 
G4double GetEdep () const
 
G4ThreeVector GetPos () const
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Private Attributes

G4int fTrackID
 
G4int fChamberNb
 
G4double fEdep
 
G4ThreeVector fPos
 

Detailed Description

Tracker hit class.

It defines data members to store the trackID, chamberNb, energy deposit, and position of charged particles in a selected volume:

  • fTrackID, fChamberNB, fEdep, fPos

Definition at line 46 of file B2TrackerHit.hh.

Constructor & Destructor Documentation

B2TrackerHit::B2TrackerHit ( )

Definition at line 44 of file B2TrackerHit.cc.

B2TrackerHit::B2TrackerHit ( const B2TrackerHit right)

Definition at line 58 of file B2TrackerHit.cc.

References fChamberNb, fEdep, fPos, and fTrackID.

B2TrackerHit::~B2TrackerHit ( )
virtual

Definition at line 54 of file B2TrackerHit.cc.

B2TrackerHit::B2TrackerHit ( )
B2TrackerHit::B2TrackerHit ( const B2TrackerHit )
virtual B2TrackerHit::~B2TrackerHit ( )
virtual
B2TrackerHit::B2TrackerHit ( )
B2TrackerHit::B2TrackerHit ( const B2TrackerHit )
virtual B2TrackerHit::~B2TrackerHit ( )
virtual

Member Function Documentation

void B2TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 88 of file B2TrackerHit.cc.

References G4VVisManager::Draw(), G4VMarker::filled, fPos, G4VVisManager::GetConcreteInstance(), G4VMarker::SetFillStyle(), G4VMarker::SetScreenSize(), and G4Visible::SetVisAttributes().

+ Here is the call graph for this function:

virtual void B2TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

virtual void B2TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

G4int B2TrackerHit::GetChamberNb ( ) const
inline

Definition at line 72 of file B2TrackerHit.hh.

References fChamberNb.

G4int B2TrackerHit::GetChamberNb ( ) const
inline

Definition at line 72 of file B2TrackerHit.hh.

References fChamberNb.

G4int B2TrackerHit::GetChamberNb ( ) const
inline

Definition at line 72 of file B2TrackerHit.hh.

References fChamberNb.

G4double B2TrackerHit::GetEdep ( ) const
inline

Definition at line 73 of file B2TrackerHit.hh.

References fEdep.

G4double B2TrackerHit::GetEdep ( ) const
inline

Definition at line 73 of file B2TrackerHit.hh.

References fEdep.

G4double B2TrackerHit::GetEdep ( ) const
inline

Definition at line 73 of file B2TrackerHit.hh.

References fEdep.

G4ThreeVector B2TrackerHit::GetPos ( ) const
inline

Definition at line 74 of file B2TrackerHit.hh.

References fPos.

G4ThreeVector B2TrackerHit::GetPos ( ) const
inline

Definition at line 74 of file B2TrackerHit.hh.

References fPos.

G4ThreeVector B2TrackerHit::GetPos ( ) const
inline

Definition at line 74 of file B2TrackerHit.hh.

References fPos.

G4int B2TrackerHit::GetTrackID ( ) const
inline

Definition at line 71 of file B2TrackerHit.hh.

References fTrackID.

G4int B2TrackerHit::GetTrackID ( ) const
inline

Definition at line 71 of file B2TrackerHit.hh.

References fTrackID.

G4int B2TrackerHit::GetTrackID ( ) const
inline

Definition at line 71 of file B2TrackerHit.hh.

References fTrackID.

void B2TrackerHit::operator delete ( void *  )
inline
void B2TrackerHit::operator delete ( void *  )
inline
void B2TrackerHit::operator delete ( void *  hit)
inline

Definition at line 101 of file B2TrackerHit.hh.

References B2TrackerHitAllocator.

void * B2TrackerHit::operator new ( size_t  )
inline

Definition at line 92 of file B2TrackerHit.hh.

References B2TrackerHitAllocator.

void* B2TrackerHit::operator new ( size_t  )
inline
void* B2TrackerHit::operator new ( size_t  )
inline
const B2TrackerHit & B2TrackerHit::operator= ( const B2TrackerHit right)

Definition at line 69 of file B2TrackerHit.cc.

References fChamberNb, fEdep, fPos, and fTrackID.

const B2TrackerHit& B2TrackerHit::operator= ( const B2TrackerHit )
const B2TrackerHit& B2TrackerHit::operator= ( const B2TrackerHit )
G4int B2TrackerHit::operator== ( const B2TrackerHit right) const

Definition at line 81 of file B2TrackerHit.cc.

G4int B2TrackerHit::operator== ( const B2TrackerHit ) const
G4int B2TrackerHit::operator== ( const B2TrackerHit ) const
virtual void B2TrackerHit::Print ( )
virtual

Reimplemented from G4VHit.

virtual void B2TrackerHit::Print ( )
virtual

Reimplemented from G4VHit.

void B2TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 105 of file B2TrackerHit.cc.

References fChamberNb, fEdep, fPos, fTrackID, G4BestUnit, G4cout, and G4endl.

void B2TrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 66 of file B2TrackerHit.hh.

References fChamberNb.

void B2TrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 66 of file B2TrackerHit.hh.

References fChamberNb.

void B2TrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 66 of file B2TrackerHit.hh.

References fChamberNb.

Referenced by B2TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void B2TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 67 of file B2TrackerHit.hh.

References fEdep.

Referenced by B2TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void B2TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 67 of file B2TrackerHit.hh.

References fEdep.

void B2TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 67 of file B2TrackerHit.hh.

References fEdep.

void B2TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 68 of file B2TrackerHit.hh.

References fPos.

void B2TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 68 of file B2TrackerHit.hh.

References fPos.

Referenced by B2TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void B2TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 68 of file B2TrackerHit.hh.

References fPos.

void B2TrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 65 of file B2TrackerHit.hh.

References fTrackID.

Referenced by B2TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void B2TrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 65 of file B2TrackerHit.hh.

References fTrackID.

void B2TrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 65 of file B2TrackerHit.hh.

References fTrackID.

Member Data Documentation

G4int B2TrackerHit::fChamberNb
private

Definition at line 79 of file B2TrackerHit.hh.

Referenced by B2TrackerHit(), GetChamberNb(), operator=(), Print(), and SetChamberNb().

G4double B2TrackerHit::fEdep
private

Definition at line 80 of file B2TrackerHit.hh.

Referenced by B2TrackerHit(), GetEdep(), operator=(), Print(), and SetEdep().

G4ThreeVector B2TrackerHit::fPos
private

Definition at line 81 of file B2TrackerHit.hh.

Referenced by B2TrackerHit(), Draw(), GetPos(), operator=(), Print(), and SetPos().

G4int B2TrackerHit::fTrackID
private

Definition at line 74 of file B2TrackerHit.hh.

Referenced by B2TrackerHit(), GetTrackID(), operator=(), Print(), and SetTrackID().


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