Geant4  10.01.p02
B5DriftChamberHit Class Reference

Drift chamber hit. More...

#include <B5DriftChamberHit.hh>

+ Inheritance diagram for B5DriftChamberHit:
+ Collaboration diagram for B5DriftChamberHit:

Public Member Functions

 B5DriftChamberHit ()
 
 B5DriftChamberHit (G4int z)
 
 B5DriftChamberHit (const B5DriftChamberHit &right)
 
virtual ~B5DriftChamberHit ()
 
const B5DriftChamberHitoperator= (const B5DriftChamberHit &right)
 
int operator== (const B5DriftChamberHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
virtual void Draw ()
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 
virtual void Print ()
 
void SetLayerID (G4int z)
 
G4int GetLayerID () const
 
void SetTime (G4double t)
 
G4double GetTime () const
 
void SetLocalPos (G4ThreeVector xyz)
 
G4ThreeVector GetLocalPos () const
 
void SetWorldPos (G4ThreeVector xyz)
 
G4ThreeVector GetWorldPos () const
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 

Private Attributes

G4int fLayerID
 
G4double fTime
 
G4ThreeVector fLocalPos
 
G4ThreeVector fWorldPos
 

Detailed Description

Drift chamber hit.

It records:

  • the layer ID
  • the particle time
  • the particle local and global positions

Definition at line 52 of file B5DriftChamberHit.hh.

Constructor & Destructor Documentation

B5DriftChamberHit::B5DriftChamberHit ( )

Definition at line 51 of file B5DriftChamberHit.cc.

B5DriftChamberHit::B5DriftChamberHit ( G4int  z)

Definition at line 57 of file B5DriftChamberHit.cc.

B5DriftChamberHit::B5DriftChamberHit ( const B5DriftChamberHit right)

Definition at line 68 of file B5DriftChamberHit.cc.

References fLayerID, fLocalPos, fTime, and fWorldPos.

B5DriftChamberHit::~B5DriftChamberHit ( )
virtual

Definition at line 63 of file B5DriftChamberHit.cc.

Member Function Documentation

std::vector< G4AttValue > * B5DriftChamberHit::CreateAttValues ( ) const
virtual

Reimplemented from G4VHit.

Definition at line 137 of file B5DriftChamberHit.cc.

References G4UIcommand::ConvertToString(), fLayerID, fTime, fWorldPos, and G4BestUnit.

+ Here is the call graph for this function:

void B5DriftChamberHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 96 of file B5DriftChamberHit.cc.

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

+ Here is the call graph for this function:

const std::map< G4String, G4AttDef > * B5DriftChamberHit::GetAttDefs ( ) const
virtual

Reimplemented from G4VHit.

Definition at line 113 of file B5DriftChamberHit.cc.

References G4AttDefStore::GetInstance().

+ Here is the call graph for this function:

G4int B5DriftChamberHit::GetLayerID ( ) const
inline

Definition at line 72 of file B5DriftChamberHit.hh.

References fLayerID.

Referenced by B5EventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4ThreeVector B5DriftChamberHit::GetLocalPos ( ) const
inline

Definition at line 78 of file B5DriftChamberHit.hh.

References fLocalPos.

Referenced by B5EventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4double B5DriftChamberHit::GetTime ( ) const
inline

Definition at line 75 of file B5DriftChamberHit.hh.

References fTime.

G4ThreeVector B5DriftChamberHit::GetWorldPos ( ) const
inline

Definition at line 81 of file B5DriftChamberHit.hh.

References fWorldPos.

void B5DriftChamberHit::operator delete ( void *  aHit)
inline

Definition at line 101 of file B5DriftChamberHit.hh.

References B5DriftChamberHitAllocator.

void * B5DriftChamberHit::operator new ( size_t  )
inline

Definition at line 94 of file B5DriftChamberHit.hh.

References B5DriftChamberHitAllocator.

const B5DriftChamberHit & B5DriftChamberHit::operator= ( const B5DriftChamberHit right)

Definition at line 78 of file B5DriftChamberHit.cc.

References fLayerID, fLocalPos, fTime, and fWorldPos.

int B5DriftChamberHit::operator== ( const B5DriftChamberHit right) const

Definition at line 89 of file B5DriftChamberHit.cc.

void B5DriftChamberHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 155 of file B5DriftChamberHit.cc.

References fLayerID, fLocalPos, fTime, G4cout, G4endl, and ns.

Referenced by B5EventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void B5DriftChamberHit::SetLayerID ( G4int  z)
inline

Definition at line 71 of file B5DriftChamberHit.hh.

References fLayerID, and z.

void B5DriftChamberHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 77 of file B5DriftChamberHit.hh.

References fLocalPos.

Referenced by B5DriftChamberSD::ProcessHits().

+ Here is the caller graph for this function:

void B5DriftChamberHit::SetTime ( G4double  t)
inline

Definition at line 74 of file B5DriftChamberHit.hh.

References fTime.

Referenced by B5DriftChamberSD::ProcessHits().

+ Here is the caller graph for this function:

void B5DriftChamberHit::SetWorldPos ( G4ThreeVector  xyz)
inline

Definition at line 80 of file B5DriftChamberHit.hh.

References fWorldPos.

Referenced by B5DriftChamberSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4int B5DriftChamberHit::fLayerID
private
G4ThreeVector B5DriftChamberHit::fLocalPos
private

Definition at line 86 of file B5DriftChamberHit.hh.

Referenced by B5DriftChamberHit(), GetLocalPos(), operator=(), Print(), and SetLocalPos().

G4double B5DriftChamberHit::fTime
private
G4ThreeVector B5DriftChamberHit::fWorldPos
private

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