Belle II Software development
AWESOMESensitiveDetector.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/* AWESOME headers. */
12#include <online_book/awesome/dataobjects/AWESOMESimHit.h>
13
14/* Basf2 headers. */
15#include <framework/datastore/StoreArray.h>
16#include <framework/datastore/RelationArray.h>
17#include <mdst/dataobjects/MCParticle.h>
18#include <simulation/kernel/SensitiveDetectorBase.h>
19
20/* Geant4 headers. */
21#include <G4Step.hh>
22#include <G4TouchableHistory.hh>
23
24namespace Belle2::AWESOME {
25
28
29 public:
30
33
39 bool step(G4Step* step, G4TouchableHistory*) override;
40
41 private:
42
45
48
51
52 };
53
54}
Sensitive Detector implementation of the AWESOME detector.
StoreArray< AWESOMESimHit > m_SimHits
AWESOME simulated hits.
RelationArray m_MCParticlesToSimHits
Relation array between MCParticles and AWESOMESimHits.
StoreArray< MCParticle > m_MCParticles
MC particles.
bool step(G4Step *step, G4TouchableHistory *) override
Step processing method.
Low-level class to create/modify relations between StoreArrays.
Definition: RelationArray.h:62
Base class for all Sensitive Detectors to create hits during simulation.
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113