-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathTG4Event.h
43 lines (34 loc) · 1.39 KB
/
TG4Event.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef TG4Event_hxx_seen
#define TG4Event_hxx_seen
#include "TG4PrimaryVertex.h"
#include "TG4Trajectory.h"
#include "TG4HitSegment.h"
#include <TObject.h>
class TG4Event : public TObject {
public:
TG4Event(void) {}
virtual ~TG4Event();
/// The run number
int RunId;
/// The event number
int EventId;
/// 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.
TG4PrimaryVertexContainer Primaries;
/// 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).
TG4TrajectoryContainer Trajectories;
/// A map of sensitive detector names and vectors of hit segments. The
/// map is keyed using the sensitive volume name.
TG4HitSegmentDetectors SegmentDetectors;
ClassDef(TG4Event,1)
};
#endif