Geant4  10.02.p03
ExN04CalorimeterHit Class Reference

#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)
 
G4int operator== (const ExN04CalorimeterHit &right) const
 
void * operator 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)
 
G4int operator== (const ExN04CalorimeterHit &right) const
 
void * operator 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 ()
 
G4int 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

Constructor & Destructor Documentation

◆ ExN04CalorimeterHit() [1/6]

ExN04CalorimeterHit::ExN04CalorimeterHit ( )

Definition at line 41 of file eventgenerator/HepMC/HepMCEx01/src/ExN04CalorimeterHit.cc.

42  : fpLogV(NULL)
43 {
44 }
Here is the caller graph for this function:

◆ ExN04CalorimeterHit() [2/6]

◆ ExN04CalorimeterHit() [3/6]

◆ ~ExN04CalorimeterHit() [1/2]

ExN04CalorimeterHit::~ExN04CalorimeterHit ( )
virtual

Definition at line 66 of file eventgenerator/HepMC/HepMCEx01/src/ExN04CalorimeterHit.cc.

67 {
68 }

◆ ExN04CalorimeterHit() [4/6]

ExN04CalorimeterHit::ExN04CalorimeterHit ( )

◆ ExN04CalorimeterHit() [5/6]

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

◆ ~ExN04CalorimeterHit() [2/2]

ExN04CalorimeterHit::~ExN04CalorimeterHit ( )

◆ ExN04CalorimeterHit() [6/6]

ExN04CalorimeterHit::ExN04CalorimeterHit ( const ExN04CalorimeterHit right)

Member Function Documentation

◆ AddEdep() [1/2]

void ExN04CalorimeterHit::AddEdep ( G4double  de)
inline

◆ AddEdep() [2/2]

void ExN04CalorimeterHit::AddEdep ( G4double  de)
inline

◆ Draw() [1/2]

void ExN04CalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 92 of file eventgenerator/HepMC/HepMCEx01/src/ExN04CalorimeterHit.cc.

93 {
95 
96  if(pVVisManager) {
97  G4Transform3D trans(frot, fpos);
98  G4VisAttributes attribs;
99  const G4VisAttributes* pVA = fpLogV-> GetVisAttributes();
100  if ( pVA ) attribs = *pVA;
101  G4Colour colour(1., 0., 0.);
102  attribs.SetColour(colour);
103  attribs.SetForceWireframe(false);
104  attribs.SetForceSolid(true);
105  pVVisManager-> Draw(*fpLogV, attribs, trans);
106  }
107 }
void SetColour(const G4Colour &)
void SetForceWireframe(G4bool)
static G4VVisManager * GetConcreteInstance()
void SetForceSolid(G4bool)
Here is the call graph for this function:

◆ Draw() [2/2]

void ExN04CalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

◆ GetEdep() [1/2]

G4double ExN04CalorimeterHit::GetEdep ( )
inline

Definition at line 108 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ GetEdep() [2/2]

G4double ExN04CalorimeterHit::GetEdep ( )
inline

◆ GetLogV() [1/2]

const G4LogicalVolume * ExN04CalorimeterHit::GetLogV ( )
inline

◆ GetLogV() [2/2]

const G4LogicalVolume* ExN04CalorimeterHit::GetLogV ( )
inline

◆ GetPhi() [1/2]

G4int ExN04CalorimeterHit::GetPhi ( )
inline

Definition at line 93 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ GetPhi() [2/2]

G4int ExN04CalorimeterHit::GetPhi ( )
inline

◆ GetPos() [1/2]

G4ThreeVector ExN04CalorimeterHit::GetPos ( )
inline

Definition at line 118 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ GetPos() [2/2]

G4ThreeVector ExN04CalorimeterHit::GetPos ( )
inline

◆ GetRot() [1/2]

G4RotationMatrix ExN04CalorimeterHit::GetRot ( )
inline

◆ GetRot() [2/2]

G4RotationMatrix ExN04CalorimeterHit::GetRot ( )
inline

◆ GetZ() [1/2]

G4int ExN04CalorimeterHit::GetZ ( )
inline

Definition at line 88 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ GetZ() [2/2]

G4int ExN04CalorimeterHit::GetZ ( )
inline

◆ operator delete() [1/2]

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

Definition at line 150 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the call graph for this function:

◆ operator delete() [2/2]

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

◆ operator new() [1/2]

void * ExN04CalorimeterHit::operator new ( size_t  )
inline

Definition at line 143 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

144 {
145  void* aHit;
146  aHit = (void*) ExN04CalorimeterHitAllocator.MallocSingle();
147  return aHit;
148 }
G4Allocator< ExN04CalorimeterHit > ExN04CalorimeterHitAllocator
Here is the call graph for this function:

◆ operator new() [2/2]

void* ExN04CalorimeterHit::operator new ( size_t  )
inline

◆ operator=() [1/2]

◆ operator=() [2/2]

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

◆ operator==() [1/2]

G4int ExN04CalorimeterHit::operator== ( const ExN04CalorimeterHit right) const

◆ operator==() [2/2]

G4int ExN04CalorimeterHit::operator== ( const ExN04CalorimeterHit right) const

◆ Print() [1/2]

void ExN04CalorimeterHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 110 of file eventgenerator/HepMC/HepMCEx01/src/ExN04CalorimeterHit.cc.

111 {
112 }

◆ Print() [2/2]

void ExN04CalorimeterHit::Print ( )
virtual

Reimplemented from G4VHit.

◆ SetCellID() [1/2]

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

Definition at line 82 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ SetCellID() [2/2]

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

◆ SetEdep() [1/2]

void ExN04CalorimeterHit::SetEdep ( G4double  de)
inline

Definition at line 98 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ SetEdep() [2/2]

void ExN04CalorimeterHit::SetEdep ( G4double  de)
inline

◆ SetPos() [1/2]

void ExN04CalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 113 of file eventgenerator/HepMC/HepMCEx01/include/ExN04CalorimeterHit.hh.

Here is the caller graph for this function:

◆ SetPos() [2/2]

void ExN04CalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

◆ SetRot() [1/2]

void ExN04CalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

◆ SetRot() [2/2]

void ExN04CalorimeterHit::SetRot ( G4RotationMatrix  rmat)
inline

Member Data Documentation

◆ edep

G4double ExN04CalorimeterHit::edep
private

◆ fedep

G4double ExN04CalorimeterHit::fedep
private

◆ fPhiCellID

G4int ExN04CalorimeterHit::fPhiCellID
private

◆ fpLogV

const G4LogicalVolume* ExN04CalorimeterHit::fpLogV
private

◆ fpos

G4ThreeVector ExN04CalorimeterHit::fpos
private

◆ frot

G4RotationMatrix ExN04CalorimeterHit::frot
private

◆ fZCellID

G4int ExN04CalorimeterHit::fZCellID
private

◆ PhiCellID

G4int ExN04CalorimeterHit::PhiCellID
private

◆ pLogV

const G4LogicalVolume* ExN04CalorimeterHit::pLogV
private

◆ pos

G4ThreeVector ExN04CalorimeterHit::pos
private

◆ rot

G4RotationMatrix ExN04CalorimeterHit::rot
private

◆ ZCellID

G4int ExN04CalorimeterHit::ZCellID
private

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