Belle II Software development
SensitiveDetector.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#ifndef HE3TUBE_SENSITIVEDETECTOR_H
9#define HE3TUBE_SENSITIVEDETECTOR_H
10
11#include <simulation/kernel/SensitiveDetectorBase.h>
12
13namespace Belle2 {
19 namespace he3tube {
20
23 public:
26
29 int trackID,
30 int PDG,
31 float Mass,
32 float Energy,
33 float vtx[3],
34 float mom[3]
35 );
36
37 protected:
42 bool step(G4Step* step, G4TouchableHistory*) override;
45 };
46
47 } //he3tube namespace
49} //Belle2 namespace
50
51#endif
Base class for all Sensitive Detectors to create hits during simulation.
Sensitive Detector implementation of the HE3TUBE detector.
int saveG4TrackInfo(int trackID, int PDG, float Mass, float Energy, float vtx[3], float mom[3])
Save saveG4TrackInfo into datastore.
bool step(G4Step *step, G4TouchableHistory *) override
Step processing method.
Abstract base class for different kinds of events.