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

#include <GammaRayTelTrackerHit.hh>

Inheritance diagram for GammaRayTelTrackerHit:
Collaboration diagram for GammaRayTelTrackerHit:

Public Member Functions

 GammaRayTelTrackerHit ()
 
 ~GammaRayTelTrackerHit ()
 
 GammaRayTelTrackerHit (const GammaRayTelTrackerHit &)
 
const GammaRayTelTrackerHitoperator= (const GammaRayTelTrackerHit &)
 
int operator== (const GammaRayTelTrackerHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
void Print ()
 
void AddSil (G4double de)
 
void SetNStrip (G4int i)
 
void SetNSilPlane (G4int i)
 
void SetPlaneType (G4int i)
 
void SetPos (G4ThreeVector xyz)
 
G4double GetEdepSil ()
 
G4int GetNStrip ()
 
G4int GetNSilPlane ()
 
G4int GetPlaneType ()
 
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 50 of file GammaRayTelTrackerHit.hh.

Constructor & Destructor Documentation

GammaRayTelTrackerHit::GammaRayTelTrackerHit ( )

Definition at line 46 of file GammaRayTelTrackerHit.cc.

47 {
48  EdepSil = 0.;
49  NStrip = 0; NSilPlane = 0; IsXPlane = 0;
50  pos = G4ThreeVector(0.,0.,0.);
51 }
CLHEP::Hep3Vector G4ThreeVector
GammaRayTelTrackerHit::~GammaRayTelTrackerHit ( )

Definition at line 55 of file GammaRayTelTrackerHit.cc.

56 {;}
GammaRayTelTrackerHit::GammaRayTelTrackerHit ( const GammaRayTelTrackerHit right)

Definition at line 60 of file GammaRayTelTrackerHit.cc.

61  :G4VHit()
62 {
63  EdepSil = right.EdepSil;
64  NStrip = right.NStrip; NSilPlane = right.NSilPlane;
65  IsXPlane = right.IsXPlane;
66  pos = right.pos;
67 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

void GammaRayTelTrackerHit::AddSil ( G4double  de)
inline

Definition at line 76 of file GammaRayTelTrackerHit.hh.

76 {EdepSil += de;};

Here is the caller graph for this function:

void GammaRayTelTrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 89 of file GammaRayTelTrackerHit.cc.

90 {;}
G4double GammaRayTelTrackerHit::GetEdepSil ( )
inline

Definition at line 82 of file GammaRayTelTrackerHit.hh.

82 { return EdepSil; };
G4int GammaRayTelTrackerHit::GetNSilPlane ( )
inline

Definition at line 84 of file GammaRayTelTrackerHit.hh.

84 { return NSilPlane; };
G4int GammaRayTelTrackerHit::GetNStrip ( )
inline

Definition at line 83 of file GammaRayTelTrackerHit.hh.

83 { return NStrip; };
G4int GammaRayTelTrackerHit::GetPlaneType ( )
inline

Definition at line 85 of file GammaRayTelTrackerHit.hh.

85 {return IsXPlane;};
G4ThreeVector GammaRayTelTrackerHit::GetPos ( )
inline

Definition at line 86 of file GammaRayTelTrackerHit.hh.

86 { return pos; };
void GammaRayTelTrackerHit::operator delete ( void aHit)
inline

Definition at line 107 of file GammaRayTelTrackerHit.hh.

108 {
110 }
G4ThreadLocal G4Allocator< GammaRayTelTrackerHit > * GammaRayTelTrackerHitAllocator
void * GammaRayTelTrackerHit::operator new ( size_t  )
inline

Definition at line 98 of file GammaRayTelTrackerHit.hh.

99 {
102  return (void*) GammaRayTelTrackerHitAllocator->MallocSingle();
103 }
G4ThreadLocal G4Allocator< GammaRayTelTrackerHit > * GammaRayTelTrackerHitAllocator
const GammaRayTelTrackerHit & GammaRayTelTrackerHit::operator= ( const GammaRayTelTrackerHit right)

Definition at line 71 of file GammaRayTelTrackerHit.cc.

72 {
73  EdepSil = right.EdepSil;
74  NStrip = right.NStrip; NSilPlane = right.NSilPlane;
75  IsXPlane = right.IsXPlane;
76  pos =right.pos;
77  return *this;
78 }
int GammaRayTelTrackerHit::operator== ( const GammaRayTelTrackerHit right) const

Definition at line 82 of file GammaRayTelTrackerHit.cc.

83 {
84  return((EdepSil==right.EdepSil)&&(NStrip==right.NStrip)&&(IsXPlane==right.IsXPlane)&& (pos==right.pos));
85 }
void GammaRayTelTrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 94 of file GammaRayTelTrackerHit.cc.

95 {;}
void GammaRayTelTrackerHit::SetNSilPlane ( G4int  i)
inline

Definition at line 78 of file GammaRayTelTrackerHit.hh.

78 {NSilPlane = i;};

Here is the caller graph for this function:

void GammaRayTelTrackerHit::SetNStrip ( G4int  i)
inline

Definition at line 77 of file GammaRayTelTrackerHit.hh.

77 {NStrip = i;};

Here is the caller graph for this function:

void GammaRayTelTrackerHit::SetPlaneType ( G4int  i)
inline

Definition at line 79 of file GammaRayTelTrackerHit.hh.

79 {IsXPlane = i;};

Here is the caller graph for this function:

void GammaRayTelTrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 80 of file GammaRayTelTrackerHit.hh.

80 { pos = xyz; }

Here is the caller graph for this function:


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