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

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh>

+ Inheritance diagram for ExN04CalorimeterHit:
+ Collaboration diagram for ExN04CalorimeterHit:

Public Member Functions

 ExN04CalorimeterHit ()
 
 ExN04CalorimeterHit (G4LogicalVolume *logVol, G4int z, G4int phi)
 
 ExN04CalorimeterHit (const ExN04CalorimeterHit &right)
 
virtual ~ExN04CalorimeterHit ()
 
const ExN04CalorimeterHitoperator= (const ExN04CalorimeterHit &right)
 
G4bool operator== (const ExN04CalorimeterHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetCellID (G4int z, G4int phi)
 
G4int GetZ ()
 
G4int GetPhi ()
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
void SetRot (G4RotationMatrix rmat)
 
G4RotationMatrix GetRot ()
 
const G4LogicalVolumeGetLogV ()
 
 ExN04CalorimeterHit ()
 
 ExN04CalorimeterHit (G4LogicalVolume *logVol, G4int z, G4int phi)
 
 ~ExN04CalorimeterHit ()
 
 ExN04CalorimeterHit (const ExN04CalorimeterHit &right)
 
const ExN04CalorimeterHitoperator= (const ExN04CalorimeterHit &right)
 
G4bool operator== (const ExN04CalorimeterHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
void Draw ()
 
void Print ()
 
void SetCellID (G4int z, G4int phi)
 
G4int GetZ ()
 
G4int GetPhi ()
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
void SetRot (G4RotationMatrix rmat)
 
G4RotationMatrix GetRot ()
 
const G4LogicalVolumeGetLogV ()
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4bool operator== (const G4VHit &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Private Attributes

G4int fZCellID
 
G4int fPhiCellID
 
G4double fedep
 
G4ThreeVector fpos
 
G4RotationMatrix frot
 
const G4LogicalVolumefpLogV
 
G4int ZCellID
 
G4int PhiCellID
 
G4double edep
 
G4ThreeVector pos
 
G4RotationMatrix rot
 
const G4LogicalVolumepLogV
 

Detailed Description

Definition at line 42 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 42 of file ExN04CalorimeterHit.hh

Constructor & Destructor Documentation

ExN04CalorimeterHit::ExN04CalorimeterHit ( )

Definition at line 40 of file ExN04CalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 40 of file ExN04CalorimeterHit.cc

ExN04CalorimeterHit::ExN04CalorimeterHit ( G4LogicalVolume logVol,
G4int  z,
G4int  phi 
)

Definition at line 46 of file ExN04CalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 46 of file ExN04CalorimeterHit.cc

ExN04CalorimeterHit::ExN04CalorimeterHit ( const ExN04CalorimeterHit right)

Definition at line 53 of file ExN04CalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 53 of file ExN04CalorimeterHit.cc

References fedep, fPhiCellID, fpLogV, fpos, frot, and fZCellID.

ExN04CalorimeterHit::~ExN04CalorimeterHit ( )
virtual

Definition at line 65 of file ExN04CalorimeterHit.cc.

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

ExN04CalorimeterHit::ExN04CalorimeterHit ( )
ExN04CalorimeterHit::ExN04CalorimeterHit ( G4LogicalVolume logVol,
G4int  z,
G4int  phi 
)
ExN04CalorimeterHit::~ExN04CalorimeterHit ( )
ExN04CalorimeterHit::ExN04CalorimeterHit ( const ExN04CalorimeterHit right)

Member Function Documentation

void ExN04CalorimeterHit::AddEdep ( G4double  de)
inline

Definition at line 102 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 102 of file ExN04CalorimeterHit.hh

References fedep.

void ExN04CalorimeterHit::AddEdep ( G4double  de)
inline

Definition at line 101 of file ExN04CalorimeterHit.hh.

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

References edep.

void ExN04CalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 91 of file ExN04CalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 91 of file ExN04CalorimeterHit.cc

References fpLogV, fpos, frot, G4VVisManager::GetConcreteInstance(), G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), and G4VisAttributes::SetForceWireframe().

+ Here is the call graph for this function:

void ExN04CalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

G4double ExN04CalorimeterHit::GetEdep ( )
inline

Definition at line 107 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 107 of file ExN04CalorimeterHit.hh

References fedep.

Referenced by MarshaledExN04CalorimeterHit::marshal3().

+ Here is the caller graph for this function:

G4double ExN04CalorimeterHit::GetEdep ( )
inline

Definition at line 103 of file ExN04CalorimeterHit.hh.

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

References edep.

const G4LogicalVolume * ExN04CalorimeterHit::GetLogV ( )
inline

Definition at line 132 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 132 of file ExN04CalorimeterHit.hh

References fpLogV.

const G4LogicalVolume* ExN04CalorimeterHit::GetLogV ( )
inline

Definition at line 113 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 113 of file ExN04CalorimeterHit.hh

References pLogV.

G4int ExN04CalorimeterHit::GetPhi ( )
inline

Definition at line 92 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 92 of file ExN04CalorimeterHit.hh

References fPhiCellID.

Referenced by MarshaledExN04CalorimeterHit::marshal2(), and MarshaledExN04CalorimeterHit::unmarshal1().

+ Here is the caller graph for this function:

G4int ExN04CalorimeterHit::GetPhi ( )
inline

Definition at line 98 of file ExN04CalorimeterHit.hh.

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

References PhiCellID.

G4ThreeVector ExN04CalorimeterHit::GetPos ( )
inline

Definition at line 117 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 117 of file ExN04CalorimeterHit.hh

References fpos.

Referenced by MarshaledExN04CalorimeterHit::marshal4().

+ Here is the caller graph for this function:

G4ThreeVector ExN04CalorimeterHit::GetPos ( )
inline

Definition at line 107 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 107 of file ExN04CalorimeterHit.hh

References pos.

G4RotationMatrix ExN04CalorimeterHit::GetRot ( )
inline

Definition at line 127 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 127 of file ExN04CalorimeterHit.hh

References frot.

G4RotationMatrix ExN04CalorimeterHit::GetRot ( )
inline

Definition at line 111 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 111 of file ExN04CalorimeterHit.hh

References rot.

G4int ExN04CalorimeterHit::GetZ ( )
inline

Definition at line 87 of file ExN04CalorimeterHit.hh.

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

References fZCellID.

Referenced by MarshaledExN04CalorimeterHit::marshal1(), and MarshaledExN04CalorimeterHit::unmarshal2().

+ Here is the caller graph for this function:

G4int ExN04CalorimeterHit::GetZ ( )
inline

Definition at line 97 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 97 of file ExN04CalorimeterHit.hh

References ZCellID.

void ExN04CalorimeterHit::operator delete ( void aHit)
inline

Definition at line 149 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 149 of file ExN04CalorimeterHit.hh

References G4Allocator< Type >::FreeSingle().

+ Here is the call graph for this function:

void ExN04CalorimeterHit::operator delete ( void aHit)
inline
void * ExN04CalorimeterHit::operator new ( size_t  )
inline

Definition at line 142 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 142 of file ExN04CalorimeterHit.hh

References G4Allocator< Type >::MallocSingle().

+ Here is the call graph for this function:

void* ExN04CalorimeterHit::operator new ( size_t  )
inline
const ExN04CalorimeterHit & ExN04CalorimeterHit::operator= ( const ExN04CalorimeterHit right)

Definition at line 71 of file ExN04CalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 71 of file ExN04CalorimeterHit.cc

References right.

const ExN04CalorimeterHit& ExN04CalorimeterHit::operator= ( const ExN04CalorimeterHit right)
G4bool ExN04CalorimeterHit::operator== ( const ExN04CalorimeterHit right) const

Definition at line 84 of file ExN04CalorimeterHit.cc.

View newest version in sPHENIX GitHub at line 84 of file ExN04CalorimeterHit.cc

References fPhiCellID, and fZCellID.

G4bool ExN04CalorimeterHit::operator== ( const ExN04CalorimeterHit right) const
void ExN04CalorimeterHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 109 of file ExN04CalorimeterHit.cc.

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

void ExN04CalorimeterHit::Print ( )
virtual

Reimplemented from G4VHit.

void ExN04CalorimeterHit::SetCellID ( G4int  z,
G4int  phi 
)
inline

Definition at line 81 of file ExN04CalorimeterHit.hh.

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

References fPhiCellID, fZCellID, phi, and z.

Referenced by MarshaledExN04CalorimeterHit::unmarshal1(), and MarshaledExN04CalorimeterHit::unmarshal2().

+ Here is the caller graph for this function:

void ExN04CalorimeterHit::SetCellID ( G4int  z,
G4int  phi 
)
inline

Definition at line 92 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 92 of file ExN04CalorimeterHit.hh

References phi, PhiCellID, z, and ZCellID.

void ExN04CalorimeterHit::SetEdep ( G4double  de)
inline

Definition at line 97 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 97 of file ExN04CalorimeterHit.hh

References fedep.

Referenced by MarshaledExN04CalorimeterHit::unmarshal3().

+ Here is the caller graph for this function:

void ExN04CalorimeterHit::SetEdep ( G4double  de)
inline

Definition at line 99 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 99 of file ExN04CalorimeterHit.hh

References edep.

void ExN04CalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 112 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 112 of file ExN04CalorimeterHit.hh

References fpos.

Referenced by MarshaledExN04CalorimeterHit::unmarshal4().

+ Here is the caller graph for this function:

void ExN04CalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 105 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 105 of file ExN04CalorimeterHit.hh

References pos.

void ExN04CalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 122 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 122 of file ExN04CalorimeterHit.hh

References frot.

void ExN04CalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

Definition at line 109 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 109 of file ExN04CalorimeterHit.hh

References rot.

Member Data Documentation

G4double ExN04CalorimeterHit::edep
private

Definition at line 78 of file ExN04CalorimeterHit.hh.

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

Referenced by AddEdep(), GetEdep(), and SetEdep().

G4double ExN04CalorimeterHit::fedep
private

Definition at line 74 of file ExN04CalorimeterHit.hh.

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

Referenced by AddEdep(), ExN04CalorimeterHit(), GetEdep(), and SetEdep().

G4int ExN04CalorimeterHit::fPhiCellID
private

Definition at line 73 of file ExN04CalorimeterHit.hh.

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

Referenced by ExN04CalorimeterHit(), GetPhi(), operator==(), and SetCellID().

const G4LogicalVolume* ExN04CalorimeterHit::fpLogV
private

Definition at line 77 of file ExN04CalorimeterHit.hh.

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

Referenced by Draw(), ExN04CalorimeterHit(), and GetLogV().

G4ThreeVector ExN04CalorimeterHit::fpos
private

Definition at line 75 of file ExN04CalorimeterHit.hh.

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

Referenced by Draw(), ExN04CalorimeterHit(), GetPos(), and SetPos().

G4RotationMatrix ExN04CalorimeterHit::frot
private

Definition at line 76 of file ExN04CalorimeterHit.hh.

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

Referenced by Draw(), ExN04CalorimeterHit(), GetRot(), and SetRot().

G4int ExN04CalorimeterHit::fZCellID
private

Definition at line 72 of file ExN04CalorimeterHit.hh.

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

Referenced by ExN04CalorimeterHit(), GetZ(), operator==(), and SetCellID().

G4int ExN04CalorimeterHit::PhiCellID
private

Definition at line 73 of file ExN04CalorimeterHit.hh.

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

Referenced by GetPhi(), and SetCellID().

const G4LogicalVolume* ExN04CalorimeterHit::pLogV
private

Definition at line 87 of file ExN04CalorimeterHit.hh.

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

Referenced by GetLogV().

G4ThreeVector ExN04CalorimeterHit::pos
private

Definition at line 82 of file ExN04CalorimeterHit.hh.

View newest version in sPHENIX GitHub at line 82 of file ExN04CalorimeterHit.hh

Referenced by GetPos(), and SetPos().

G4RotationMatrix ExN04CalorimeterHit::rot
private

Definition at line 86 of file ExN04CalorimeterHit.hh.

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

Referenced by GetRot(), and SetRot().

G4int ExN04CalorimeterHit::ZCellID
private

Definition at line 69 of file ExN04CalorimeterHit.hh.

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

Referenced by GetZ(), and SetCellID().


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