Public Member Functions | Public Attributes | List of all members
TG4Event Class Reference

#include <TG4Event.h>

Inheritance diagram for TG4Event:

Public Member Functions

 TG4Event (void)
 
virtual ~TG4Event ()
 

Public Attributes

int RunId
 The run number. More...
 
int EventId
 The event number. More...
 
TG4PrimaryVertexContainer Primaries
 
TG4TrajectoryContainer Trajectories
 
TG4HitSegmentDetectors SegmentDetectors
 

Detailed Description

Definition at line 10 of file TG4Event.h.

Constructor & Destructor Documentation

TG4Event::TG4Event ( void  )
inline

Definition at line 12 of file TG4Event.h.

12 {}
virtual TG4Event::~TG4Event ( )
virtual

Member Data Documentation

int TG4Event::EventId

The event number.

Definition at line 19 of file TG4Event.h.

TG4PrimaryVertexContainer TG4Event::Primaries

A container of primary vertices (a vector). Sometimes, there is only one element, but you need to be careful since some neutrino events don't have any primary particles (e.g. neutral current events where the scattered nucleon is absorbed by the nucleus). It's also likely that an event will have multiple vertices (i.e. more than one interaction per spill). When no primary was provided, then a fake primary vertex will be inserted so that an empty event is generated.

Definition at line 28 of file TG4Event.h.

int TG4Event::RunId

The run number.

Definition at line 16 of file TG4Event.h.

TG4HitSegmentDetectors TG4Event::SegmentDetectors

A map of sensitive detector names and vectors of hit segments. The map is keyed using the sensitive volume name.

Definition at line 39 of file TG4Event.h.

TG4TrajectoryContainer TG4Event::Trajectories

A container of G4 trajectories (a vector).

Note
When trajectories are eliminated (e.g. very low energy electron trajectories) the TG4Trajectory::TrackId fields are adjusted so that (Trajectories[index].TrackId==index).

Definition at line 35 of file TG4Event.h.


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