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

#include <geant4/tree/geant4-10.6-release/examples/basic/B5/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)
 
G4bool operator== (const B5HodoscopeHit &right) const
 
voidoperator 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 ()
 
G4bool 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 51 of file B5HodoscopeHit.hh.

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

Constructor & Destructor Documentation

B5HodoscopeHit::B5HodoscopeHit ( G4int  i,
G4double  t 
)

Definition at line 50 of file B5HodoscopeHit.cc.

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

B5HodoscopeHit::B5HodoscopeHit ( const B5HodoscopeHit right)

Definition at line 62 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 62 of file B5HodoscopeHit.cc

B5HodoscopeHit::~B5HodoscopeHit ( )
virtual

Definition at line 57 of file B5HodoscopeHit.cc.

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

Member Function Documentation

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

Reimplemented from G4VHit.

Definition at line 135 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 135 of file B5HodoscopeHit.cc

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

+ Here is the call graph for this function:

void B5HodoscopeHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 92 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 92 of file B5HodoscopeHit.cc

References fPLogV, fPos, fRot, G4VVisManager::GetConcreteInstance(), G4LogicalVolume::GetVisAttributes(), and CLHEP::HepRotation::inverse().

+ Here is the call graph for this function:

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

Reimplemented from G4VHit.

Definition at line 109 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 109 of file B5HodoscopeHit.cc

References G4AttDefStore::GetInstance().

+ Here is the call graph for this function:

G4int B5HodoscopeHit::GetID ( ) const
inline

Definition at line 69 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 69 of file B5HodoscopeHit.hh

References fId.

const G4LogicalVolume* B5HodoscopeHit::GetLogV ( ) const
inline

Definition at line 81 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 81 of file B5HodoscopeHit.hh

References fPLogV.

G4ThreeVector B5HodoscopeHit::GetPos ( ) const
inline

Definition at line 75 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 75 of file B5HodoscopeHit.hh

References fPos.

G4RotationMatrix B5HodoscopeHit::GetRot ( ) const
inline

Definition at line 78 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 78 of file B5HodoscopeHit.hh

References fRot.

G4double B5HodoscopeHit::GetTime ( ) const
inline

Definition at line 72 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 72 of file B5HodoscopeHit.hh

References fTime.

void B5HodoscopeHit::operator delete ( void aHit)
inline

Definition at line 103 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 103 of file B5HodoscopeHit.hh

References B5HodoscopeHitAllocator.

void * B5HodoscopeHit::operator new ( size_t  )
inline

Definition at line 95 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 95 of file B5HodoscopeHit.hh

References B5HodoscopeHitAllocator.

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

Definition at line 73 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 73 of file B5HodoscopeHit.cc

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

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

Definition at line 85 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 85 of file B5HodoscopeHit.cc

void B5HodoscopeHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 158 of file B5HodoscopeHit.cc.

View newest version in sPHENIX GitHub at line 158 of file B5HodoscopeHit.cc

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

void B5HodoscopeHit::SetLogV ( G4LogicalVolume val)
inline

Definition at line 80 of file B5HodoscopeHit.hh.

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

References fPLogV.

void B5HodoscopeHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 74 of file B5HodoscopeHit.hh.

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

References fPos.

void B5HodoscopeHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 77 of file B5HodoscopeHit.hh.

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

References fRot.

void B5HodoscopeHit::SetTime ( G4double  val)
inline

Definition at line 71 of file B5HodoscopeHit.hh.

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

References fTime.

Member Data Documentation

G4int B5HodoscopeHit::fId
private

Definition at line 84 of file B5HodoscopeHit.hh.

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

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

const G4LogicalVolume* B5HodoscopeHit::fPLogV
private

Definition at line 88 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 88 of file B5HodoscopeHit.hh

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

G4ThreeVector B5HodoscopeHit::fPos
private

Definition at line 86 of file B5HodoscopeHit.hh.

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

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

G4RotationMatrix B5HodoscopeHit::fRot
private

Definition at line 87 of file B5HodoscopeHit.hh.

View newest version in sPHENIX GitHub at line 87 of file B5HodoscopeHit.hh

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

G4double B5HodoscopeHit::fTime
private

Definition at line 85 of file B5HodoscopeHit.hh.

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

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


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