Geant4  10.02.p03
ExN04TrackerHit Class Reference

#include <ExN04TrackerHit.hh>

Inheritance diagram for ExN04TrackerHit:
Collaboration diagram for ExN04TrackerHit:

Public Member Functions

 ExN04TrackerHit ()
 
 ~ExN04TrackerHit ()
 
 ExN04TrackerHit (const ExN04TrackerHit &right)
 
const ExN04TrackerHitoperator= (const ExN04TrackerHit &right)
 
G4int operator== (const ExN04TrackerHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
void Draw ()
 
void Print ()
 
void SetEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
 ExN04TrackerHit ()
 
 ~ExN04TrackerHit ()
 
 ExN04TrackerHit (const ExN04TrackerHit &right)
 
const ExN04TrackerHitoperator= (const ExN04TrackerHit &right)
 
G4int operator== (const ExN04TrackerHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
void Draw ()
 
void Print ()
 
void SetEdep (G4double de)
 
void SetPos (G4ThreeVector xyz)
 
G4double GetEdep () const
 
G4ThreeVector GetPos () const
 
- 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

G4double edep
 
G4ThreeVector pos
 

Detailed Description

Constructor & Destructor Documentation

◆ ExN04TrackerHit() [1/4]

ExN04TrackerHit::ExN04TrackerHit ( )

Definition at line 42 of file eventgenerator/HepMC/HepMCEx01/src/ExN04TrackerHit.cc.

43 {
44 }
Here is the caller graph for this function:

◆ ~ExN04TrackerHit() [1/2]

ExN04TrackerHit::~ExN04TrackerHit ( )

Definition at line 47 of file eventgenerator/HepMC/HepMCEx01/src/ExN04TrackerHit.cc.

48 {
49 }

◆ ExN04TrackerHit() [2/4]

ExN04TrackerHit::ExN04TrackerHit ( const ExN04TrackerHit right)

◆ ExN04TrackerHit() [3/4]

ExN04TrackerHit::ExN04TrackerHit ( )

◆ ~ExN04TrackerHit() [2/2]

ExN04TrackerHit::~ExN04TrackerHit ( )

◆ ExN04TrackerHit() [4/4]

ExN04TrackerHit::ExN04TrackerHit ( const ExN04TrackerHit right)

Member Function Documentation

◆ Draw() [1/2]

void ExN04TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 74 of file eventgenerator/HepMC/HepMCEx01/src/ExN04TrackerHit.cc.

75 {
77  if(pVVisManager)
78  {
79  G4Circle circle(pos);
80  circle.SetScreenSize(0.04);
81  circle.SetFillStyle(G4Circle::filled);
82  G4Colour colour(1.,0.,0.);
83  G4VisAttributes attribs(colour);
84  circle.SetVisAttributes(attribs);
85  pVVisManager->Draw(circle);
86  }
87 }
virtual void Draw(const G4Circle &, const G4Transform3D &objectTransformation=G4Transform3D())=0
static G4VVisManager * GetConcreteInstance()
Here is the call graph for this function:

◆ Draw() [2/2]

void ExN04TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

◆ GetEdep() [1/2]

G4double ExN04TrackerHit::GetEdep ( )
inline

Definition at line 56 of file eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

Here is the caller graph for this function:

◆ GetEdep() [2/2]

G4double ExN04TrackerHit::GetEdep ( ) const
inline

◆ GetPos() [1/2]

G4ThreeVector ExN04TrackerHit::GetPos ( )
inline

Definition at line 58 of file eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

Here is the caller graph for this function:

◆ GetPos() [2/2]

G4ThreeVector ExN04TrackerHit::GetPos ( ) const
inline

◆ operator delete() [1/2]

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

Definition at line 77 of file eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

Here is the call graph for this function:

◆ operator delete() [2/2]

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

◆ operator new() [1/2]

void * ExN04TrackerHit::operator new ( size_t  )
inline

Definition at line 70 of file eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

71 {
72  void* aHit;
73  aHit = (void *) ExN04TrackerHitAllocator.MallocSingle();
74  return aHit;
75 }
G4Allocator< ExN04TrackerHit > ExN04TrackerHitAllocator
Here is the call graph for this function:

◆ operator new() [2/2]

void* ExN04TrackerHit::operator new ( size_t  )
inline

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

Definition at line 68 of file eventgenerator/HepMC/HepMCEx01/src/ExN04TrackerHit.cc.

69 {
70  return (this==&right) ? 1 : 0;
71 }

◆ operator==() [2/2]

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

◆ Print() [1/2]

void ExN04TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 90 of file eventgenerator/HepMC/HepMCEx01/src/ExN04TrackerHit.cc.

91 {
92 }

◆ Print() [2/2]

void ExN04TrackerHit::Print ( )
virtual

Reimplemented from G4VHit.

◆ SetEdep() [1/2]

void ExN04TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 55 of file eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

Here is the caller graph for this function:

◆ SetEdep() [2/2]

void ExN04TrackerHit::SetEdep ( G4double  de)
inline

◆ SetPos() [1/2]

void ExN04TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 57 of file eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

Here is the caller graph for this function:

◆ SetPos() [2/2]

void ExN04TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Member Data Documentation

◆ edep

G4double ExN04TrackerHit::edep
private

◆ pos

G4ThreeVector ExN04TrackerHit::pos
private

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