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

#include <GammaRayTelCalorimeterHit.hh>

Inheritance diagram for GammaRayTelCalorimeterHit:
Collaboration diagram for GammaRayTelCalorimeterHit:

Public Member Functions

 GammaRayTelCalorimeterHit ()
 
 ~GammaRayTelCalorimeterHit ()
 
 GammaRayTelCalorimeterHit (const GammaRayTelCalorimeterHit &)
 
const GammaRayTelCalorimeterHitoperator= (const GammaRayTelCalorimeterHit &)
 
int operator== (const GammaRayTelCalorimeterHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
void Print ()
 
void AddEnergy (G4double de)
 
void SetCALBarNumber (G4int i)
 
void SetCALPlaneNumber (G4int i)
 
void SetCALType (G4int i)
 
void SetPos (G4ThreeVector xyz)
 
G4double GetEdepCAL ()
 
G4int GetCALBarNumber ()
 
G4int GetCALPlaneNumber ()
 
G4int GetCALType ()
 
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 GammaRayTelCalorimeterHit.hh.

Constructor & Destructor Documentation

GammaRayTelCalorimeterHit::GammaRayTelCalorimeterHit ( )

Definition at line 46 of file GammaRayTelCalorimeterHit.cc.

47 {
48  EdepCAL = 0.;
49  CALBarNumber = 0;
50  CALPlaneNumber = 0;
51  IsCALPlane = 0;
52  pos = G4ThreeVector(0.,0.,0.);
53 }
CLHEP::Hep3Vector G4ThreeVector
GammaRayTelCalorimeterHit::~GammaRayTelCalorimeterHit ( )

Definition at line 57 of file GammaRayTelCalorimeterHit.cc.

58 {;}
GammaRayTelCalorimeterHit::GammaRayTelCalorimeterHit ( const GammaRayTelCalorimeterHit right)

Definition at line 62 of file GammaRayTelCalorimeterHit.cc.

63  :G4VHit()
64 {
65  EdepCAL = right.EdepCAL;
66  CALBarNumber = right.CALBarNumber;
67  CALPlaneNumber = right.CALPlaneNumber;
68  IsCALPlane = right.IsCALPlane;
69  pos = right.pos;
70 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

void GammaRayTelCalorimeterHit::AddEnergy ( G4double  de)
inline

Definition at line 77 of file GammaRayTelCalorimeterHit.hh.

77 {EdepCAL += de;};

Here is the caller graph for this function:

void GammaRayTelCalorimeterHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 93 of file GammaRayTelCalorimeterHit.cc.

94 {;}
G4int GammaRayTelCalorimeterHit::GetCALBarNumber ( )
inline

Definition at line 84 of file GammaRayTelCalorimeterHit.hh.

84 { return CALBarNumber; };
G4int GammaRayTelCalorimeterHit::GetCALPlaneNumber ( )
inline

Definition at line 85 of file GammaRayTelCalorimeterHit.hh.

85 { return CALPlaneNumber; };
G4int GammaRayTelCalorimeterHit::GetCALType ( )
inline

Definition at line 86 of file GammaRayTelCalorimeterHit.hh.

86 {return IsCALPlane;};
G4double GammaRayTelCalorimeterHit::GetEdepCAL ( )
inline

Definition at line 83 of file GammaRayTelCalorimeterHit.hh.

83 { return EdepCAL; };
G4ThreeVector GammaRayTelCalorimeterHit::GetPos ( )
inline

Definition at line 87 of file GammaRayTelCalorimeterHit.hh.

87 { return pos; };
void GammaRayTelCalorimeterHit::operator delete ( void aHit)
inline

Definition at line 108 of file GammaRayTelCalorimeterHit.hh.

109 {
111 }
G4ThreadLocal G4Allocator< GammaRayTelCalorimeterHit > * GammaRayTelCalorimeterHitAllocator
void * GammaRayTelCalorimeterHit::operator new ( size_t  )
inline

Definition at line 99 of file GammaRayTelCalorimeterHit.hh.

100 {
103  return (void*) GammaRayTelCalorimeterHitAllocator->MallocSingle();
104 }
G4ThreadLocal G4Allocator< GammaRayTelCalorimeterHit > * GammaRayTelCalorimeterHitAllocator
const GammaRayTelCalorimeterHit & GammaRayTelCalorimeterHit::operator= ( const GammaRayTelCalorimeterHit right)

Definition at line 74 of file GammaRayTelCalorimeterHit.cc.

75 {
76  EdepCAL = right.EdepCAL;
77  CALBarNumber = right.CALBarNumber;
78  CALPlaneNumber = right.CALPlaneNumber;
79  IsCALPlane = right.IsCALPlane;
80  pos = right.pos;
81  return *this;
82 }
int GammaRayTelCalorimeterHit::operator== ( const GammaRayTelCalorimeterHit right) const

Definition at line 86 of file GammaRayTelCalorimeterHit.cc.

87 {
88  return((EdepCAL==right.EdepCAL)&&(CALBarNumber==right.CALBarNumber)&&(CALPlaneNumber==right.CALPlaneNumber)&&(IsCALPlane==right.IsCALPlane)&& (pos==right.pos));
89 }
void GammaRayTelCalorimeterHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 98 of file GammaRayTelCalorimeterHit.cc.

99 {;}
void GammaRayTelCalorimeterHit::SetCALBarNumber ( G4int  i)
inline

Definition at line 78 of file GammaRayTelCalorimeterHit.hh.

78 {CALBarNumber = i;};

Here is the caller graph for this function:

void GammaRayTelCalorimeterHit::SetCALPlaneNumber ( G4int  i)
inline

Definition at line 79 of file GammaRayTelCalorimeterHit.hh.

79 {CALPlaneNumber = i;};

Here is the caller graph for this function:

void GammaRayTelCalorimeterHit::SetCALType ( G4int  i)
inline

Definition at line 80 of file GammaRayTelCalorimeterHit.hh.

80 {IsCALPlane = i;};

Here is the caller graph for this function:

void GammaRayTelCalorimeterHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 81 of file GammaRayTelCalorimeterHit.hh.

81 { pos = xyz; }

Here is the caller graph for this function:


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