Geant4  10.00.p02
B5HadCalorimeterHit Class Reference

Hadron Calorimeter hit. More...

#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)
 
int operator== (const B5HadCalorimeterHit &right) const
 
void * operator 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 ()
 
G4int 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 52 of file B5HadCalorimeterHit.hh.

Constructor & Destructor Documentation

B5HadCalorimeterHit::B5HadCalorimeterHit ( )

Definition at line 52 of file B5HadCalorimeterHit.cc.

B5HadCalorimeterHit::B5HadCalorimeterHit ( G4int  iCol,
G4int  iRow 
)

Definition at line 58 of file B5HadCalorimeterHit.cc.

B5HadCalorimeterHit::B5HadCalorimeterHit ( const B5HadCalorimeterHit right)

Definition at line 69 of file B5HadCalorimeterHit.cc.

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

B5HadCalorimeterHit::~B5HadCalorimeterHit ( )
virtual

Definition at line 64 of file B5HadCalorimeterHit.cc.

Member Function Documentation

void B5HadCalorimeterHit::AddEdep ( G4double  de)
inline

Definition at line 78 of file B5HadCalorimeterHit.hh.

References fEdep.

Referenced by B5HadCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

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

Reimplemented from G4VHit.

Definition at line 147 of file B5HadCalorimeterHit.cc.

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

+ Here is the call graph for this function:

void B5HadCalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 100 of file B5HadCalorimeterHit.cc.

References cm, G4VVisManager::Draw(), fEdep, fPos, fRot, G4VVisManager::GetConcreteInstance(), GeV, 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.

References G4AttDefStore::GetInstance().

+ Here is the call graph for this function:

G4int B5HadCalorimeterHit::GetColumnID ( ) const
inline

Definition at line 72 of file B5HadCalorimeterHit.hh.

References fColumnID.

Referenced by B5HadCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

G4double B5HadCalorimeterHit::GetEdep ( ) const
inline

Definition at line 79 of file B5HadCalorimeterHit.hh.

References fEdep.

Referenced by B5EventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4ThreeVector B5HadCalorimeterHit::GetPos ( ) const
inline

Definition at line 82 of file B5HadCalorimeterHit.hh.

References fPos.

G4RotationMatrix B5HadCalorimeterHit::GetRot ( ) const
inline

Definition at line 85 of file B5HadCalorimeterHit.hh.

References fRot.

G4int B5HadCalorimeterHit::GetRowID ( ) const
inline

Definition at line 75 of file B5HadCalorimeterHit.hh.

References fRowID.

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

Definition at line 106 of file B5HadCalorimeterHit.hh.

References B5HadCalorimeterHitAllocator.

void * B5HadCalorimeterHit::operator new ( size_t  )
inline

Definition at line 99 of file B5HadCalorimeterHit.hh.

References B5HadCalorimeterHitAllocator.

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

Definition at line 80 of file B5HadCalorimeterHit.cc.

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

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

Definition at line 93 of file B5HadCalorimeterHit.cc.

References fColumnID, and fRowID.

void B5HadCalorimeterHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 168 of file B5HadCalorimeterHit.cc.

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

void B5HadCalorimeterHit::SetColumnID ( G4int  z)
inline

Definition at line 71 of file B5HadCalorimeterHit.hh.

References fColumnID, and z.

Referenced by B5HadCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

void B5HadCalorimeterHit::SetEdep ( G4double  de)
inline

Definition at line 77 of file B5HadCalorimeterHit.hh.

References fEdep.

void B5HadCalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 81 of file B5HadCalorimeterHit.hh.

References fPos.

Referenced by B5HadCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

void B5HadCalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 84 of file B5HadCalorimeterHit.hh.

References fRot.

Referenced by B5HadCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

void B5HadCalorimeterHit::SetRowID ( G4int  z)
inline

Definition at line 74 of file B5HadCalorimeterHit.hh.

References fRowID, and z.

Referenced by B5HadCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4int B5HadCalorimeterHit::fColumnID
private
G4double B5HadCalorimeterHit::fEdep
private
G4ThreeVector B5HadCalorimeterHit::fPos
private
G4RotationMatrix B5HadCalorimeterHit::fRot
private

Definition at line 92 of file B5HadCalorimeterHit.hh.

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

G4int B5HadCalorimeterHit::fRowID
private

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