ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
B5DriftChamberHit Class Reference

#include <geant4/tree/geant4-10.6-release/examples/basic/B5/include/B5DriftChamberHit.hh>

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

Public Member Functions

 B5DriftChamberHit ()
 
 B5DriftChamberHit (G4int layerID)
 
 B5DriftChamberHit (const B5DriftChamberHit &right)
 
virtual ~B5DriftChamberHit ()
 
const B5DriftChamberHitoperator= (const B5DriftChamberHit &right)
 
G4bool operator== (const B5DriftChamberHit &right) const
 
voidoperator 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 ()
 
G4bool 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 51 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 51 of file B5DriftChamberHit.hh

Constructor & Destructor Documentation

B5DriftChamberHit::B5DriftChamberHit ( )

Definition at line 50 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 50 of file B5DriftChamberHit.cc

B5DriftChamberHit::B5DriftChamberHit ( G4int  layerID)

Definition at line 57 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 57 of file B5DriftChamberHit.cc

B5DriftChamberHit::B5DriftChamberHit ( const B5DriftChamberHit right)

Definition at line 69 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 69 of file B5DriftChamberHit.cc

B5DriftChamberHit::~B5DriftChamberHit ( )
virtual

Definition at line 64 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 64 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.

View newest version in sPHENIX GitHub at line 137 of file B5DriftChamberHit.cc

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

+ Here is the call graph for this function:

void B5DriftChamberHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 97 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 97 of file B5DriftChamberHit.cc

References 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.

View newest version in sPHENIX GitHub 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 71 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 71 of file B5DriftChamberHit.hh

References fLayerID.

G4ThreeVector B5DriftChamberHit::GetLocalPos ( ) const
inline

Definition at line 77 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 77 of file B5DriftChamberHit.hh

References fLocalPos.

G4double B5DriftChamberHit::GetTime ( ) const
inline

Definition at line 74 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 74 of file B5DriftChamberHit.hh

References fTime.

G4ThreeVector B5DriftChamberHit::GetWorldPos ( ) const
inline

Definition at line 80 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 80 of file B5DriftChamberHit.hh

References fWorldPos.

void B5DriftChamberHit::operator delete ( void aHit)
inline

Definition at line 101 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 101 of file B5DriftChamberHit.hh

References B5DriftChamberHitAllocator.

void * B5DriftChamberHit::operator new ( size_t  )
inline

Definition at line 93 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 93 of file B5DriftChamberHit.hh

References B5DriftChamberHitAllocator.

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

Definition at line 79 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 79 of file B5DriftChamberHit.cc

References fLayerID, fLocalPos, fTime, and fWorldPos.

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

Definition at line 90 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 90 of file B5DriftChamberHit.cc

void B5DriftChamberHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 155 of file B5DriftChamberHit.cc.

View newest version in sPHENIX GitHub at line 155 of file B5DriftChamberHit.cc

References fLayerID, fLocalPos, fTime, G4cout, G4endl, ns, CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().

+ Here is the call graph for this function:

void B5DriftChamberHit::SetLayerID ( G4int  z)
inline

Definition at line 70 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 70 of file B5DriftChamberHit.hh

References fLayerID, and z.

void B5DriftChamberHit::SetLocalPos ( G4ThreeVector  xyz)
inline

Definition at line 76 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 76 of file B5DriftChamberHit.hh

References fLocalPos.

void B5DriftChamberHit::SetTime ( G4double  t)
inline

Definition at line 73 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 73 of file B5DriftChamberHit.hh

References fTime, and t.

void B5DriftChamberHit::SetWorldPos ( G4ThreeVector  xyz)
inline

Definition at line 79 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 79 of file B5DriftChamberHit.hh

References fWorldPos.

Member Data Documentation

G4int B5DriftChamberHit::fLayerID
private

Definition at line 83 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 83 of file B5DriftChamberHit.hh

Referenced by CreateAttValues(), GetLayerID(), operator=(), Print(), and SetLayerID().

G4ThreeVector B5DriftChamberHit::fLocalPos
private

Definition at line 85 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 85 of file B5DriftChamberHit.hh

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

G4double B5DriftChamberHit::fTime
private

Definition at line 84 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 84 of file B5DriftChamberHit.hh

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

G4ThreeVector B5DriftChamberHit::fWorldPos
private

Definition at line 86 of file B5DriftChamberHit.hh.

View newest version in sPHENIX GitHub at line 86 of file B5DriftChamberHit.hh

Referenced by CreateAttValues(), Draw(), GetWorldPos(), operator=(), and SetWorldPos().


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