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
9#pragma once
10
11#include <simulation/kernel/SensitiveDetectorBase.h>
12
13namespace Belle2 {
18 namespace ir {
42
43 public:
44
49
55 bool step(G4Step* aStep, G4TouchableHistory*) override;
56
57 private:
58
59 }; // SensitiveDetector class
60 } //end of namespace IR
62} // end of namespace Belle2
Base class for all Sensitive Detectors to create hits during simulation.
The IR Sensitive Detector class.
bool step(G4Step *aStep, G4TouchableHistory *) override
Process each step and calculate variables defined in IRSimHit.
Abstract base class for different kinds of events.