Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExN04MuonHit Class Reference

#include <ExN04MuonHit.hh>

Inheritance diagram for ExN04MuonHit:
Collaboration diagram for ExN04MuonHit:

Public Member Functions

 ExN04MuonHit ()
 
 ~ExN04MuonHit ()
 
 ExN04MuonHit (const ExN04MuonHit &right)
 
const ExN04MuonHitoperator= (const ExN04MuonHit &right)
 
G4int operator== (const ExN04MuonHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
 ExN04MuonHit ()
 
 ~ExN04MuonHit ()
 
 ExN04MuonHit (const ExN04MuonHit &right)
 
const ExN04MuonHitoperator= (const ExN04MuonHit &right)
 
G4int operator== (const ExN04MuonHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
void Draw ()
 
void Print ()
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
- 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 ExN04MuonHit.hh.

Constructor & Destructor Documentation

ExN04MuonHit::ExN04MuonHit ( )

Definition at line 42 of file ExN04MuonHit.cc.

43 {
44 }
ExN04MuonHit::~ExN04MuonHit ( )

Definition at line 47 of file ExN04MuonHit.cc.

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

Definition at line 52 of file ExN04MuonHit.cc.

53  : G4VHit()
54 {
55  fedep = right.fedep;
56  fpos = right.fpos;
57 }
G4VHit()
Definition: G4VHit.cc:34
ExN04MuonHit::ExN04MuonHit ( )
ExN04MuonHit::~ExN04MuonHit ( )
ExN04MuonHit::ExN04MuonHit ( const ExN04MuonHit right)

Member Function Documentation

void ExN04MuonHit::AddEdep ( G4double  de)
inline

Definition at line 55 of file ExN04MuonHit.hh.

55 { fedep += de; }

Here is the caller graph for this function:

void ExN04MuonHit::AddEdep ( G4double  de)
inline

Definition at line 79 of file ExN04MuonHit.hh.

80  { edep += de; }
void ExN04MuonHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 74 of file ExN04MuonHit.cc.

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

Here is the call graph for this function:

void ExN04MuonHit::Draw ( )
virtual

Reimplemented from G4VHit.

G4double ExN04MuonHit::GetEdep ( )
inline

Definition at line 56 of file ExN04MuonHit.hh.

56 { return fedep; }

Here is the caller graph for this function:

G4double ExN04MuonHit::GetEdep ( )
inline

Definition at line 81 of file ExN04MuonHit.hh.

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

Definition at line 58 of file ExN04MuonHit.hh.

58 { return fpos; }

Here is the caller graph for this function:

G4ThreeVector ExN04MuonHit::GetPos ( )
inline

Definition at line 85 of file ExN04MuonHit.hh.

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

Definition at line 77 of file ExN04MuonHit.hh.

78 {
79  ExN04MuonHitAllocator.FreeSingle((ExN04MuonHit*) aHit);
80 }
G4Allocator< ExN04MuonHit > ExN04MuonHitAllocator
Definition: ExN04MuonHit.cc:39

Here is the call graph for this function:

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

Definition at line 70 of file ExN04MuonHit.hh.

71 {
72  void* aHit;
73  aHit = (void *) ExN04MuonHitAllocator.MallocSingle();
74  return aHit;
75 }
G4Allocator< ExN04MuonHit > ExN04MuonHitAllocator
Definition: ExN04MuonHit.cc:39

Here is the call graph for this function:

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

Definition at line 60 of file ExN04MuonHit.cc.

61 {
62  fedep = right.fedep;
63  fpos = right.fpos;
64  return *this;
65 }
const ExN04MuonHit& ExN04MuonHit::operator= ( const ExN04MuonHit right)
G4int ExN04MuonHit::operator== ( const ExN04MuonHit right) const

Definition at line 68 of file ExN04MuonHit.cc.

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

Reimplemented from G4VHit.

Definition at line 89 of file ExN04MuonHit.cc.

90 {
91 }
void ExN04MuonHit::Print ( )
virtual

Reimplemented from G4VHit.

void ExN04MuonHit::SetEdep ( G4double  de)
inline

Definition at line 54 of file ExN04MuonHit.hh.

54 { fedep = de; }

Here is the caller graph for this function:

void ExN04MuonHit::SetEdep ( G4double  de)
inline

Definition at line 77 of file ExN04MuonHit.hh.

78  { edep = de; }
void ExN04MuonHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 57 of file ExN04MuonHit.hh.

57 { fpos = xyz; }

Here is the caller graph for this function:

void ExN04MuonHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 83 of file ExN04MuonHit.hh.

84  { pos = xyz; }
static const G4double pos

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