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

#include <GammaRayTelAnticoincidenceHit.hh>

Inheritance diagram for GammaRayTelAnticoincidenceHit:
Collaboration diagram for GammaRayTelAnticoincidenceHit:

Public Member Functions

 GammaRayTelAnticoincidenceHit ()
 
 ~GammaRayTelAnticoincidenceHit ()
 
 GammaRayTelAnticoincidenceHit (const GammaRayTelAnticoincidenceHit &)
 
const
GammaRayTelAnticoincidenceHit
operator= (const GammaRayTelAnticoincidenceHit &)
 
int operator== (const GammaRayTelAnticoincidenceHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
void Print ()
 
void AddEnergy (G4double de)
 
void SetACDTileNumber (G4int i)
 
void SetACDType (G4int i)
 
void SetPos (G4ThreeVector xyz)
 
G4double GetEdepACD ()
 
G4int GetACDTileNumber ()
 
G4int GetACDType ()
 
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 GammaRayTelAnticoincidenceHit.hh.

Constructor & Destructor Documentation

GammaRayTelAnticoincidenceHit::GammaRayTelAnticoincidenceHit ( )

Definition at line 46 of file GammaRayTelAnticoincidenceHit.cc.

47 {
48  EdepACD = 0.;
49  ACDTileNumber = 0;
50  IsACDPlane = 0;
51  pos = G4ThreeVector(0.,0.,0.);
52 }
CLHEP::Hep3Vector G4ThreeVector
GammaRayTelAnticoincidenceHit::~GammaRayTelAnticoincidenceHit ( )

Definition at line 56 of file GammaRayTelAnticoincidenceHit.cc.

57 {;}
GammaRayTelAnticoincidenceHit::GammaRayTelAnticoincidenceHit ( const GammaRayTelAnticoincidenceHit right)

Definition at line 61 of file GammaRayTelAnticoincidenceHit.cc.

62  : G4VHit()
63 {
64  EdepACD = right.EdepACD;
65  ACDTileNumber = right.ACDTileNumber;
66  IsACDPlane = right.IsACDPlane;
67  pos = right.pos;
68 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

void GammaRayTelAnticoincidenceHit::AddEnergy ( G4double  de)
inline

Definition at line 76 of file GammaRayTelAnticoincidenceHit.hh.

76 {EdepACD += de;};

Here is the caller graph for this function:

void GammaRayTelAnticoincidenceHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 90 of file GammaRayTelAnticoincidenceHit.cc.

91 {;}
G4int GammaRayTelAnticoincidenceHit::GetACDTileNumber ( )
inline

Definition at line 82 of file GammaRayTelAnticoincidenceHit.hh.

82 { return ACDTileNumber; };
G4int GammaRayTelAnticoincidenceHit::GetACDType ( )
inline

Definition at line 83 of file GammaRayTelAnticoincidenceHit.hh.

83 {return IsACDPlane;};
G4double GammaRayTelAnticoincidenceHit::GetEdepACD ( )
inline

Definition at line 81 of file GammaRayTelAnticoincidenceHit.hh.

81 { return EdepACD; };
G4ThreeVector GammaRayTelAnticoincidenceHit::GetPos ( )
inline

Definition at line 84 of file GammaRayTelAnticoincidenceHit.hh.

84 { return pos; };
void GammaRayTelAnticoincidenceHit::operator delete ( void aHit)
inline

Definition at line 105 of file GammaRayTelAnticoincidenceHit.hh.

106 {
108 }
G4ThreadLocal G4Allocator< GammaRayTelAnticoincidenceHit > * GammaRayTelAnticoincidenceHitAllocator
void * GammaRayTelAnticoincidenceHit::operator new ( size_t  )
inline

Definition at line 96 of file GammaRayTelAnticoincidenceHit.hh.

97 {
100  return (void*) GammaRayTelAnticoincidenceHitAllocator->MallocSingle();
101 }
G4ThreadLocal G4Allocator< GammaRayTelAnticoincidenceHit > * GammaRayTelAnticoincidenceHitAllocator
const GammaRayTelAnticoincidenceHit & GammaRayTelAnticoincidenceHit::operator= ( const GammaRayTelAnticoincidenceHit right)

Definition at line 72 of file GammaRayTelAnticoincidenceHit.cc.

73 {
74  EdepACD = right.EdepACD;
75  ACDTileNumber = right.ACDTileNumber;
76  IsACDPlane = right.IsACDPlane;
77  pos = right.pos;
78  return *this;
79 }
int GammaRayTelAnticoincidenceHit::operator== ( const GammaRayTelAnticoincidenceHit right) const

Definition at line 83 of file GammaRayTelAnticoincidenceHit.cc.

84 {
85  return((EdepACD==right.EdepACD)&&(ACDTileNumber==right.ACDTileNumber)&&(IsACDPlane==right.IsACDPlane)&& (pos==right.pos));
86 }
void GammaRayTelAnticoincidenceHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 95 of file GammaRayTelAnticoincidenceHit.cc.

96 {;}
void GammaRayTelAnticoincidenceHit::SetACDTileNumber ( G4int  i)
inline

Definition at line 77 of file GammaRayTelAnticoincidenceHit.hh.

77 {ACDTileNumber = i;};

Here is the caller graph for this function:

void GammaRayTelAnticoincidenceHit::SetACDType ( G4int  i)
inline

Definition at line 78 of file GammaRayTelAnticoincidenceHit.hh.

78 {IsACDPlane = i;};

Here is the caller graph for this function:

void GammaRayTelAnticoincidenceHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 79 of file GammaRayTelAnticoincidenceHit.hh.

79 { pos = xyz; }

Here is the caller graph for this function:


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