Monte Carlo LYSO
Geant4 simulation for the LYSO calorimeter prototype
hit.cc
Go to the documentation of this file.
1 
5 #include "hit.hh"
6 
7 // Use the G4Allocator
8 G4ThreadLocal G4Allocator<MyHit>* MyHitAllocator = nullptr;
9 
10 
11 G4bool MyHit::operator==(const MyHit& right) const
12 {
13  return ( this == &right ) ? true : false;
14 }
Concrete class of G4VHit, representing a hit in the MySensitiveDetector.
Definition: hit.hh:20
G4bool operator==(const MyHit &) const
Equality operator, compares two MyHit objects for equality.
Definition: hit.cc:11
G4ThreadLocal G4Allocator< MyHit > * MyHitAllocator
G4Allocator for MyHit objects.
Definition: hit.cc:8
Declaration of the class MyHit.