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 MICROTPC_SENSITIVEDETECTOR_H
9#define MICROTPC_SENSITIVEDETECTOR_H
10
11#include <simulation/kernel/SensitiveDetectorBase.h>
12
13namespace Belle2 {
19 namespace microtpc {
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:
38
43 bool step(G4Step* step, G4TouchableHistory*) override;
46 };
47 } //microtpc namespace
49} //Belle2 namespace
50
51#endif
Base class for all Sensitive Detectors to create hits during simulation.
Sensitive Detector implementation of the MICROTPC 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.