Precalibrated Ion Beam Identification Detector Simulation 1.0
A pilot study detector simulation, written in C++ with Geant4.
Public Member Functions | Public Attributes
EventHit Class Reference

Holds accumulated statistics for a single event hit. More...

#include <EventHit.hh>

List of all members.

Public Member Functions

 EventHit (G4int numberOfScintillatorTubes, G4double defaultTime=0)
 Constructor, constructs the object.

Public Attributes

G4double time
 The time of the event start.
G4double upperFrontScintillatorPanelEnergy
 Energy in the upper front scintillator panel.
G4double lowerFrontScintillatorPanelEnergy
 Energy in the lower front scintillator panel.
G4double backScintillatorPanelEnergy
 Energy in the back scintillator panel.
G4double geDetectorEnergy
 Energy in the Ge detector.
std::vector< G4double > scintillatorTubeEnergies
 Energies in the scintillator tubes.

Detailed Description

Holds accumulated statistics for a single event hit.

Definition at line 24 of file EventHit.hh.


Constructor & Destructor Documentation

EventHit::EventHit ( G4int  numberOfScintillatorTubes,
G4double  defaultTime = 0 
)

Constructor, constructs the object.

Parameters:
numberOfScintillatorTubesNumber of scintillator tubes. This is used to preinitialize the scintilllator tube vector with the correct number of scintillator tubes.
defaultTimeThe default time to set.

Definition at line 3 of file EventHit.cc.

References backScintillatorPanelEnergy, geDetectorEnergy, lowerFrontScintillatorPanelEnergy, scintillatorTubeEnergies, time, and upperFrontScintillatorPanelEnergy.

{
  scintillatorTubeEnergies = std::vector<G4double>(numberOfScintillatorTubes,0);
  time=defaultTime;
  upperFrontScintillatorPanelEnergy = 0;
  lowerFrontScintillatorPanelEnergy = 0;
  backScintillatorPanelEnergy = 0;
  geDetectorEnergy = 0;
}

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark