Geant4  10.00.p03
B5HodoscopeHit Class Reference

Hodoscope hit. More...

#include <B5HodoscopeHit.hh>

+ Inheritance diagram for B5HodoscopeHit:
+ Collaboration diagram for B5HodoscopeHit:

Public Member Functions

 B5HodoscopeHit (G4int i, G4double t)
 
 B5HodoscopeHit (const B5HodoscopeHit &right)
 
virtual ~B5HodoscopeHit ()
 
const B5HodoscopeHitoperator= (const B5HodoscopeHit &right)
 
int operator== (const B5HodoscopeHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
void Draw ()
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 
void Print ()
 
G4int GetID () const
 
void SetTime (G4double val)
 
G4double GetTime () const
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos () const
 
void SetRot (G4RotationMatrix rmat)
 
G4RotationMatrix GetRot () const
 
void SetLogV (G4LogicalVolume *val)
 
const G4LogicalVolumeGetLogV () const
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 

Private Attributes

G4int fId
 
G4double fTime
 
G4ThreeVector fPos
 
G4RotationMatrix fRot
 
const G4LogicalVolumefPLogV
 

Detailed Description

Hodoscope hit.

It records:

  • the strip ID
  • the particle time
  • the strip logical volume, its position and rotation

Definition at line 52 of file B5HodoscopeHit.hh.

Constructor & Destructor Documentation

B5HodoscopeHit::B5HodoscopeHit ( G4int  i,
G4double  t 
)

Definition at line 51 of file B5HodoscopeHit.cc.

B5HodoscopeHit::B5HodoscopeHit ( const B5HodoscopeHit right)

Definition at line 62 of file B5HodoscopeHit.cc.

References fId, fPLogV, fPos, fRot, and fTime.

B5HodoscopeHit::~B5HodoscopeHit ( )
virtual

Definition at line 57 of file B5HodoscopeHit.cc.

Member Function Documentation

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

Reimplemented from G4VHit.

Definition at line 137 of file B5HodoscopeHit.cc.

References G4UIcommand::ConvertToString(), fId, fPLogV, fPos, fTime, G4BestUnit, and G4LogicalVolume::GetName().

+ Here is the call graph for this function:

void B5HodoscopeHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 92 of file B5HodoscopeHit.cc.

References G4VVisManager::Draw(), fPLogV, fPos, fRot, G4VVisManager::GetConcreteInstance(), and G4LogicalVolume::GetVisAttributes().

+ Here is the call graph for this function:

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

Reimplemented from G4VHit.

Definition at line 110 of file B5HodoscopeHit.cc.

References G4AttDefStore::GetInstance().

+ Here is the call graph for this function:

G4int B5HodoscopeHit::GetID ( ) const
inline

Definition at line 70 of file B5HodoscopeHit.hh.

References fId.

const G4LogicalVolume* B5HodoscopeHit::GetLogV ( ) const
inline

Definition at line 82 of file B5HodoscopeHit.hh.

References fPLogV.

G4ThreeVector B5HodoscopeHit::GetPos ( ) const
inline

Definition at line 76 of file B5HodoscopeHit.hh.

References fPos.

G4RotationMatrix B5HodoscopeHit::GetRot ( ) const
inline

Definition at line 79 of file B5HodoscopeHit.hh.

References fRot.

G4double B5HodoscopeHit::GetTime ( ) const
inline

Definition at line 73 of file B5HodoscopeHit.hh.

References fTime.

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

Definition at line 103 of file B5HodoscopeHit.hh.

References B5HodoscopeHitAllocator.

void * B5HodoscopeHit::operator new ( size_t  )
inline

Definition at line 96 of file B5HodoscopeHit.hh.

References B5HodoscopeHitAllocator.

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

Definition at line 73 of file B5HodoscopeHit.cc.

References fId, fPLogV, fPos, fRot, and fTime.

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

Definition at line 85 of file B5HodoscopeHit.cc.

void B5HodoscopeHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 160 of file B5HodoscopeHit.cc.

References fId, fTime, G4cout, G4endl, and ns.

Referenced by B5EventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void B5HodoscopeHit::SetLogV ( G4LogicalVolume val)
inline

Definition at line 81 of file B5HodoscopeHit.hh.

References fPLogV.

Referenced by B5HodoscopeSD::ProcessHits().

+ Here is the caller graph for this function:

void B5HodoscopeHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 75 of file B5HodoscopeHit.hh.

References fPos.

Referenced by B5HodoscopeSD::ProcessHits().

+ Here is the caller graph for this function:

void B5HodoscopeHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 78 of file B5HodoscopeHit.hh.

References fRot.

Referenced by B5HodoscopeSD::ProcessHits().

+ Here is the caller graph for this function:

void B5HodoscopeHit::SetTime ( G4double  val)
inline

Definition at line 72 of file B5HodoscopeHit.hh.

References fTime.

Member Data Documentation

G4int B5HodoscopeHit::fId
private

Definition at line 85 of file B5HodoscopeHit.hh.

Referenced by B5HodoscopeHit(), CreateAttValues(), GetID(), operator=(), and Print().

const G4LogicalVolume* B5HodoscopeHit::fPLogV
private

Definition at line 89 of file B5HodoscopeHit.hh.

Referenced by B5HodoscopeHit(), CreateAttValues(), Draw(), GetLogV(), operator=(), and SetLogV().

G4ThreeVector B5HodoscopeHit::fPos
private

Definition at line 87 of file B5HodoscopeHit.hh.

Referenced by B5HodoscopeHit(), CreateAttValues(), Draw(), GetPos(), operator=(), and SetPos().

G4RotationMatrix B5HodoscopeHit::fRot
private

Definition at line 88 of file B5HodoscopeHit.hh.

Referenced by B5HodoscopeHit(), Draw(), GetRot(), operator=(), and SetRot().

G4double B5HodoscopeHit::fTime
private

Definition at line 86 of file B5HodoscopeHit.hh.

Referenced by B5HodoscopeHit(), CreateAttValues(), GetTime(), operator=(), Print(), and SetTime().


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