Monte Carlo LYSO
Geant4 simulation for the LYSO calorimeter prototype
Classes | Typedefs | Variables
hit.hh File Reference

Declaration of the class MyHit. More...

#include "G4VHit.hh"
#include "G4THitsCollection.hh"
#include "G4Allocator.hh"
#include "G4ThreeVector.hh"
#include "tls.hh"
#include "G4UnitsTable.hh"
Include dependency graph for hit.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MyHit
 Concrete class of G4VHit, representing a hit in the MySensitiveDetector. More...
 

Typedefs

using MyHitsCollection = G4THitsCollection< MyHit >
 Concrete hit collection class for MyHit. More...
 

Variables

G4ThreadLocal G4Allocator< MyHit > * MyHitAllocator
 G4Allocator for MyHit objects. More...
 

Detailed Description

Declaration of the class MyHit.

Definition in file hit.hh.

Typedef Documentation

◆ MyHitsCollection

using MyHitsCollection = G4THitsCollection<MyHit>

Concrete hit collection class for MyHit.

It is instantiated from G4THitsCollection, a template class derived from G4VHitsCollection (basically a vector collection of hits).

Definition at line 54 of file hit.hh.

Variable Documentation

◆ MyHitAllocator

G4ThreadLocal G4Allocator<MyHit>* MyHitAllocator
extern

G4Allocator for MyHit objects.

G4Allocator is a class for fast allocation of objects to the heap.

Definition at line 8 of file hit.cc.