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

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

+ Inheritance diagram for B5HadCalorimeterHit:
+ Collaboration diagram for B5HadCalorimeterHit:

Public Member Functions

 B5HadCalorimeterHit ()
 
 B5HadCalorimeterHit (G4int iCol, G4int iRow)
 
 B5HadCalorimeterHit (const B5HadCalorimeterHit &right)
 
virtual ~B5HadCalorimeterHit ()
 
const B5HadCalorimeterHitoperator= (const B5HadCalorimeterHit &right)
 
G4bool operator== (const B5HadCalorimeterHit &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 SetColumnID (G4int z)
 
G4int GetColumnID () const
 
void SetRowID (G4int z)
 
G4int GetRowID () const
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep () const
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos () const
 
void SetRot (G4RotationMatrix rmat)
 
G4RotationMatrix GetRot () const
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4bool operator== (const G4VHit &right) const
 

Private Attributes

G4int fColumnID
 
G4int fRowID
 
G4double fEdep
 
G4ThreeVector fPos
 
G4RotationMatrix fRot
 

Detailed Description

Hadron Calorimeter hit

It records:

  • the cell column ID and row ID
  • the energy deposit
  • the cell position and rotation

Definition at line 51 of file B5HadCalorimeterHit.hh.

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

Constructor & Destructor Documentation

B5HadCalorimeterHit::B5HadCalorimeterHit ( )

Definition at line 51 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 51 of file B5HadCalorimeterHit.cc

B5HadCalorimeterHit::B5HadCalorimeterHit ( G4int  iCol,
G4int  iRow 
)

Definition at line 58 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 58 of file B5HadCalorimeterHit.cc

B5HadCalorimeterHit::B5HadCalorimeterHit ( const B5HadCalorimeterHit right)

Definition at line 70 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 70 of file B5HadCalorimeterHit.cc

B5HadCalorimeterHit::~B5HadCalorimeterHit ( )
virtual

Definition at line 65 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 65 of file B5HadCalorimeterHit.cc

Member Function Documentation

void B5HadCalorimeterHit::AddEdep ( G4double  de)
inline

Definition at line 77 of file B5HadCalorimeterHit.hh.

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

References fEdep.

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

Reimplemented from G4VHit.

Definition at line 146 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 146 of file B5HadCalorimeterHit.cc

References G4UIcommand::ConvertToString(), fColumnID, fEdep, fPos, fRowID, G4BestUnit, and Acts::Test::values.

+ Here is the call graph for this function:

void B5HadCalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 101 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 101 of file B5HadCalorimeterHit.cc

References cm, fEdep, fPos, fRot, G4VVisManager::GetConcreteInstance(), GeV, CLHEP::HepRotation::inverse(), and m.

+ Here is the call graph for this function:

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

Reimplemented from G4VHit.

Definition at line 118 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 118 of file B5HadCalorimeterHit.cc

References G4AttDefStore::GetInstance().

+ Here is the call graph for this function:

G4int B5HadCalorimeterHit::GetColumnID ( ) const
inline

Definition at line 71 of file B5HadCalorimeterHit.hh.

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

References fColumnID.

G4double B5HadCalorimeterHit::GetEdep ( ) const
inline

Definition at line 78 of file B5HadCalorimeterHit.hh.

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

References fEdep.

G4ThreeVector B5HadCalorimeterHit::GetPos ( ) const
inline

Definition at line 81 of file B5HadCalorimeterHit.hh.

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

References fPos.

G4RotationMatrix B5HadCalorimeterHit::GetRot ( ) const
inline

Definition at line 84 of file B5HadCalorimeterHit.hh.

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

References fRot.

G4int B5HadCalorimeterHit::GetRowID ( ) const
inline

Definition at line 74 of file B5HadCalorimeterHit.hh.

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

References fRowID.

void B5HadCalorimeterHit::operator delete ( void aHit)
inline

Definition at line 106 of file B5HadCalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 106 of file B5HadCalorimeterHit.hh

References B5HadCalorimeterHitAllocator.

void * B5HadCalorimeterHit::operator new ( size_t  )
inline

Definition at line 98 of file B5HadCalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 98 of file B5HadCalorimeterHit.hh

References B5HadCalorimeterHitAllocator.

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

Definition at line 81 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 81 of file B5HadCalorimeterHit.cc

References fColumnID, fEdep, fPos, fRot, and fRowID.

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

Definition at line 94 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 94 of file B5HadCalorimeterHit.cc

References fColumnID, and fRowID.

void B5HadCalorimeterHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 167 of file B5HadCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 167 of file B5HadCalorimeterHit.cc

References fColumnID, fEdep, fPos, fRowID, G4cout, G4endl, and MeV.

void B5HadCalorimeterHit::SetColumnID ( G4int  z)
inline

Definition at line 70 of file B5HadCalorimeterHit.hh.

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

References fColumnID, and z.

void B5HadCalorimeterHit::SetEdep ( G4double  de)
inline

Definition at line 76 of file B5HadCalorimeterHit.hh.

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

References fEdep.

void B5HadCalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 80 of file B5HadCalorimeterHit.hh.

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

References fPos.

void B5HadCalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 83 of file B5HadCalorimeterHit.hh.

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

References fRot.

void B5HadCalorimeterHit::SetRowID ( G4int  z)
inline

Definition at line 73 of file B5HadCalorimeterHit.hh.

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

References fRowID, and z.

Member Data Documentation

G4int B5HadCalorimeterHit::fColumnID
private

Definition at line 87 of file B5HadCalorimeterHit.hh.

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

Referenced by CreateAttValues(), GetColumnID(), operator=(), operator==(), Print(), and SetColumnID().

G4double B5HadCalorimeterHit::fEdep
private

Definition at line 89 of file B5HadCalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 89 of file B5HadCalorimeterHit.hh

Referenced by AddEdep(), CreateAttValues(), Draw(), GetEdep(), operator=(), Print(), and SetEdep().

G4ThreeVector B5HadCalorimeterHit::fPos
private

Definition at line 90 of file B5HadCalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 90 of file B5HadCalorimeterHit.hh

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

G4RotationMatrix B5HadCalorimeterHit::fRot
private

Definition at line 91 of file B5HadCalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 91 of file B5HadCalorimeterHit.hh

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

G4int B5HadCalorimeterHit::fRowID
private

Definition at line 88 of file B5HadCalorimeterHit.hh.

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

Referenced by CreateAttValues(), GetRowID(), operator=(), operator==(), Print(), and SetRowID().


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