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

#include <RMC01DoubleWithWeightHit.hh>

Inheritance diagram for RMC01DoubleWithWeightHit:
Collaboration diagram for RMC01DoubleWithWeightHit:

Public Member Functions

 RMC01DoubleWithWeightHit (G4double value, G4double weight)
 
virtual ~RMC01DoubleWithWeightHit ()
 
 RMC01DoubleWithWeightHit (const RMC01DoubleWithWeightHit &right)
 
const RMC01DoubleWithWeightHitoperator= (const RMC01DoubleWithWeightHit &right)
 
int operator== (const RMC01DoubleWithWeightHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
G4double GetValue ()
 
G4double GetWeight ()
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 
virtual void Draw ()
 
virtual void Print ()
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Detailed Description

Definition at line 57 of file RMC01DoubleWithWeightHit.hh.

Constructor & Destructor Documentation

RMC01DoubleWithWeightHit::RMC01DoubleWithWeightHit ( G4double  value,
G4double  weight 
)

Definition at line 48 of file RMC01DoubleWithWeightHit.cc.

50 : G4VHit(), fValue(aValue), fWeight(aWeight)
51 {;
52 }
G4VHit()
Definition: G4VHit.cc:34
RMC01DoubleWithWeightHit::~RMC01DoubleWithWeightHit ( )
virtual

Definition at line 56 of file RMC01DoubleWithWeightHit.cc.

57 {
58 }
RMC01DoubleWithWeightHit::RMC01DoubleWithWeightHit ( const RMC01DoubleWithWeightHit right)

Definition at line 62 of file RMC01DoubleWithWeightHit.cc.

64  : G4VHit()
65 {
66  fValue = right.fValue;
67  fWeight = right.fWeight;
68 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

G4double RMC01DoubleWithWeightHit::GetValue ( )
inline

Definition at line 75 of file RMC01DoubleWithWeightHit.hh.

75 {return fValue;}
G4double RMC01DoubleWithWeightHit::GetWeight ( )
inline

Definition at line 77 of file RMC01DoubleWithWeightHit.hh.

77 {return fWeight;}
void RMC01DoubleWithWeightHit::operator delete ( void aHit)
inline

Definition at line 100 of file RMC01DoubleWithWeightHit.hh.

101 {
103 }
G4Allocator< RMC01DoubleWithWeightHit > RMC01DoubleWithWeightHitAllocator

Here is the call graph for this function:

void * RMC01DoubleWithWeightHit::operator new ( size_t  )
inline

Definition at line 91 of file RMC01DoubleWithWeightHit.hh.

92 {
93  void *aHit;
94  aHit = (void *) RMC01DoubleWithWeightHitAllocator.MallocSingle();
95  return aHit;
96 }
G4Allocator< RMC01DoubleWithWeightHit > RMC01DoubleWithWeightHitAllocator

Here is the call graph for this function:

const RMC01DoubleWithWeightHit & RMC01DoubleWithWeightHit::operator= ( const RMC01DoubleWithWeightHit right)

Definition at line 72 of file RMC01DoubleWithWeightHit.cc.

74 {
75  fValue = right.fValue;
76  fWeight = right.fWeight;
77  return *this;
78 }
int RMC01DoubleWithWeightHit::operator== ( const RMC01DoubleWithWeightHit right) const

Definition at line 83 of file RMC01DoubleWithWeightHit.cc.

84 {
85  return(fValue == right.fValue && fWeight == right.fWeight);
86 }

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