Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
voidoperator 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
 
voidoperator 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
 

Detailed Description

Definition at line 40 of file ExN04TrackerHit.hh.

Constructor & Destructor Documentation

ExN04TrackerHit::ExN04TrackerHit ( )

Definition at line 42 of file ExN04TrackerHit.cc.

43 {
44 }
ExN04TrackerHit::~ExN04TrackerHit ( )

Definition at line 47 of file ExN04TrackerHit.cc.

48 {
49 }
ExN04TrackerHit::ExN04TrackerHit ( const ExN04TrackerHit right)

Definition at line 52 of file ExN04TrackerHit.cc.

53  : G4VHit()
54 {
55  edep = right.edep;
56  pos = right.pos;
57 }
G4VHit()
Definition: G4VHit.cc:34
static const G4double pos
ExN04TrackerHit::ExN04TrackerHit ( )
ExN04TrackerHit::~ExN04TrackerHit ( )
ExN04TrackerHit::ExN04TrackerHit ( const ExN04TrackerHit right)

Member Function Documentation

void ExN04TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 74 of file 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()
static const G4double pos

Here is the call graph for this function:

void ExN04TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

G4double ExN04TrackerHit::GetEdep ( )
inline

Definition at line 56 of file ExN04TrackerHit.hh.

56 { return edep; }

Here is the caller graph for this function:

G4double ExN04TrackerHit::GetEdep ( ) const
inline

Definition at line 82 of file ExN04TrackerHit.hh.

82 {return edep;}
G4ThreeVector ExN04TrackerHit::GetPos ( )
inline

Definition at line 58 of file ExN04TrackerHit.hh.

58 { return pos; }
static const G4double pos

Here is the caller graph for this function:

G4ThreeVector ExN04TrackerHit::GetPos ( ) const
inline

Definition at line 83 of file ExN04TrackerHit.hh.

83 {return pos;}
static const G4double pos
void ExN04TrackerHit::operator delete ( void aHit)
inline

Definition at line 77 of file ExN04TrackerHit.hh.

78 {
79  ExN04TrackerHitAllocator.FreeSingle((ExN04TrackerHit*) aHit);
80 }
G4Allocator< ExN04TrackerHit > ExN04TrackerHitAllocator

Here is the call graph for this function:

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

Definition at line 70 of file 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:

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

Definition at line 60 of file ExN04TrackerHit.cc.

61 {
62  edep = right.edep;
63  pos = right.pos;
64  return *this;
65 }
static const G4double pos
const ExN04TrackerHit& ExN04TrackerHit::operator= ( const ExN04TrackerHit right)
G4int ExN04TrackerHit::operator== ( const ExN04TrackerHit right) const

Definition at line 68 of file ExN04TrackerHit.cc.

69 {
70  return (this==&right) ? 1 : 0;
71 }
G4int ExN04TrackerHit::operator== ( const ExN04TrackerHit right) const
void ExN04TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 90 of file ExN04TrackerHit.cc.

91 {
92 }
void ExN04TrackerHit::Print ( )
virtual

Reimplemented from G4VHit.

void ExN04TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 55 of file ExN04TrackerHit.hh.

55 { edep = de; }

Here is the caller graph for this function:

void ExN04TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 79 of file ExN04TrackerHit.hh.

79 {edep=de;}
void ExN04TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 57 of file ExN04TrackerHit.hh.

57 { pos = xyz; }
static const G4double pos

Here is the caller graph for this function:

void ExN04TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 80 of file ExN04TrackerHit.hh.

80 {pos=xyz;}
static const G4double pos

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