Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
ExN04TrackerHit Class Reference

#include <ExN04TrackerHit.hh>

Inheritance diagram for ExN04TrackerHit:
G4VHit G4VHit ShadowedMarshaledExN04TrackerHit

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 eventgenerator/HepMC/HepMCEx01/include/ExN04TrackerHit.hh.

Constructor & Destructor Documentation

ExN04TrackerHit::ExN04TrackerHit ( )

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

43 {
44 }
ExN04TrackerHit::~ExN04TrackerHit ( )

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

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

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

53  : G4VHit()
54 {
55  edep = right.edep;
56  pos = right.pos;
57 }
G4VHit()
Definition: G4VHit.cc:34
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 eventgenerator/HepMC/HepMCEx01/src/ExN04TrackerHit.cc.

References G4VVisManager::Draw(), G4VMarker::filled, G4VVisManager::GetConcreteInstance(), G4VMarker::SetFillStyle(), G4VMarker::SetScreenSize(), and G4Visible::SetVisAttributes().

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()
void ExN04TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

G4double ExN04TrackerHit::GetEdep ( )
inline

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

Referenced by MarshaledExN04TrackerHit::marshal2().

56 { return edep; }
G4double ExN04TrackerHit::GetEdep ( ) const
inline

Definition at line 82 of file parallel/TopC/ParN04/include/ExN04TrackerHit.hh.

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

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

Referenced by MarshaledExN04TrackerHit::marshal1().

58 { return pos; }
G4ThreeVector ExN04TrackerHit::GetPos ( ) const
inline

Definition at line 83 of file parallel/TopC/ParN04/include/ExN04TrackerHit.hh.

83 {return pos;}
void ExN04TrackerHit::operator delete ( void aHit)
inline
void ExN04TrackerHit::operator delete ( void aHit)
inline
void * ExN04TrackerHit::operator new ( size_t  )
inline

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

References G4Allocator< Type >::MallocSingle().

71 {
72  void* aHit;
73  aHit = (void *) ExN04TrackerHitAllocator.MallocSingle();
74  return aHit;
75 }
G4Allocator< ExN04TrackerHit > ExN04TrackerHitAllocator
void* ExN04TrackerHit::operator new ( size_t  )
inline
const ExN04TrackerHit & ExN04TrackerHit::operator= ( const ExN04TrackerHit right)

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

61 {
62  edep = right.edep;
63  pos = right.pos;
64  return *this;
65 }
const ExN04TrackerHit& ExN04TrackerHit::operator= ( const ExN04TrackerHit right)
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 }
G4int ExN04TrackerHit::operator== ( const ExN04TrackerHit right) const
void ExN04TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

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

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

Reimplemented from G4VHit.

void ExN04TrackerHit::SetEdep ( G4double  de)
inline
void ExN04TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 79 of file parallel/TopC/ParN04/include/ExN04TrackerHit.hh.

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

Definition at line 80 of file parallel/TopC/ParN04/include/ExN04TrackerHit.hh.

80 {pos=xyz;}

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