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

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

+ Inheritance diagram for B5EmCalorimeterHit:
+ Collaboration diagram for B5EmCalorimeterHit:

Public Member Functions

 B5EmCalorimeterHit ()
 
 B5EmCalorimeterHit (G4int cellID)
 
 B5EmCalorimeterHit (const B5EmCalorimeterHit &right)
 
virtual ~B5EmCalorimeterHit ()
 
const B5EmCalorimeterHitoperator= (const B5EmCalorimeterHit &right)
 
G4bool operator== (const B5EmCalorimeterHit &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 SetCellID (G4int z)
 
G4int GetCellID () 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
 
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 fCellID
 
G4double fEdep
 
G4ThreeVector fPos
 
G4RotationMatrix fRot
 
const G4LogicalVolumefPLogV
 

Detailed Description

EM Calorimeter hit

It records:

  • the cell ID
  • the energy deposit
  • the cell logical volume, its position and rotation

Definition at line 51 of file B5EmCalorimeterHit.hh.

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

Constructor & Destructor Documentation

B5EmCalorimeterHit::B5EmCalorimeterHit ( )

Definition at line 49 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 49 of file B5EmCalorimeterHit.cc

B5EmCalorimeterHit::B5EmCalorimeterHit ( G4int  cellID)

Definition at line 56 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 56 of file B5EmCalorimeterHit.cc

B5EmCalorimeterHit::B5EmCalorimeterHit ( const B5EmCalorimeterHit right)

Definition at line 68 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 68 of file B5EmCalorimeterHit.cc

B5EmCalorimeterHit::~B5EmCalorimeterHit ( )
virtual

Definition at line 63 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 63 of file B5EmCalorimeterHit.cc

Member Function Documentation

void B5EmCalorimeterHit::AddEdep ( G4double  de)
inline

Definition at line 74 of file B5EmCalorimeterHit.hh.

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

References fEdep.

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

Reimplemented from G4VHit.

Definition at line 148 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 148 of file B5EmCalorimeterHit.cc

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

+ Here is the call graph for this function:

void B5EmCalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 99 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 99 of file B5EmCalorimeterHit.cc

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

+ Here is the call graph for this function:

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

Reimplemented from G4VHit.

Definition at line 120 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 120 of file B5EmCalorimeterHit.cc

References G4AttDefStore::GetInstance().

+ Here is the call graph for this function:

G4int B5EmCalorimeterHit::GetCellID ( ) const
inline

Definition at line 71 of file B5EmCalorimeterHit.hh.

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

References fCellID.

G4double B5EmCalorimeterHit::GetEdep ( ) const
inline

Definition at line 75 of file B5EmCalorimeterHit.hh.

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

References fEdep.

const G4LogicalVolume* B5EmCalorimeterHit::GetLogV ( ) const
inline

Definition at line 84 of file B5EmCalorimeterHit.hh.

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

References fPLogV.

G4ThreeVector B5EmCalorimeterHit::GetPos ( ) const
inline

Definition at line 78 of file B5EmCalorimeterHit.hh.

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

References fPos.

G4RotationMatrix B5EmCalorimeterHit::GetRot ( ) const
inline

Definition at line 81 of file B5EmCalorimeterHit.hh.

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

References fRot.

void B5EmCalorimeterHit::operator delete ( void aHit)
inline

Definition at line 106 of file B5EmCalorimeterHit.hh.

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

References B5EmCalorimeterHitAllocator.

void * B5EmCalorimeterHit::operator new ( size_t  )
inline

Definition at line 98 of file B5EmCalorimeterHit.hh.

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

References B5EmCalorimeterHitAllocator.

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

Definition at line 79 of file B5EmCalorimeterHit.cc.

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

References fCellID, fEdep, fPLogV, fPos, and fRot.

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

Definition at line 92 of file B5EmCalorimeterHit.cc.

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

References fCellID.

void B5EmCalorimeterHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 171 of file B5EmCalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 171 of file B5EmCalorimeterHit.cc

References fCellID, fEdep, G4cout, G4endl, and MeV.

void B5EmCalorimeterHit::SetCellID ( G4int  z)
inline

Definition at line 70 of file B5EmCalorimeterHit.hh.

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

References fCellID, and z.

void B5EmCalorimeterHit::SetEdep ( G4double  de)
inline

Definition at line 73 of file B5EmCalorimeterHit.hh.

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

References fEdep.

void B5EmCalorimeterHit::SetLogV ( G4LogicalVolume val)
inline

Definition at line 83 of file B5EmCalorimeterHit.hh.

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

References fPLogV.

void B5EmCalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 77 of file B5EmCalorimeterHit.hh.

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

References fPos.

void B5EmCalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 80 of file B5EmCalorimeterHit.hh.

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

References fRot.

Member Data Documentation

G4int B5EmCalorimeterHit::fCellID
private

Definition at line 87 of file B5EmCalorimeterHit.hh.

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

Referenced by CreateAttValues(), GetCellID(), operator=(), operator==(), Print(), and SetCellID().

G4double B5EmCalorimeterHit::fEdep
private

Definition at line 88 of file B5EmCalorimeterHit.hh.

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

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

const G4LogicalVolume* B5EmCalorimeterHit::fPLogV
private

Definition at line 91 of file B5EmCalorimeterHit.hh.

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

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

G4ThreeVector B5EmCalorimeterHit::fPos
private

Definition at line 89 of file B5EmCalorimeterHit.hh.

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

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

G4RotationMatrix B5EmCalorimeterHit::fRot
private

Definition at line 90 of file B5EmCalorimeterHit.hh.

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

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


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