Belle II Software  release-05-01-25
EKLMSensitiveDetector.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Timofey Uglov, Kirill Chilikin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/dataobjects/eklm/EKLMElementNumbers.h>
15 #include <klm/dataobjects/eklm/EKLMSimHit.h>
16 
17 /* Belle 2 headers. */
18 #include <framework/datastore/StoreArray.h>
19 #include <simulation/kernel/SensitiveDetectorBase.h>
20 
21 namespace Belle2 {
27  namespace EKLM {
28 
36  class EKLMSensitiveDetector : public Simulation::SensitiveDetectorBase {
37 
38  public:
39 
43  explicit EKLMSensitiveDetector(G4String name);
44 
49 
54  bool step(G4Step* aStep, G4TouchableHistory* history) override;
55 
56  private:
57 
60 
63 
68  G4double m_ThresholdHitTime;
69 
70  };
71 
72  }
73 
75 }
Belle2::EKLMElementNumbers
EKLM element numbers.
Definition: EKLMElementNumbers.h:34
Belle2::EKLM::EKLMSensitiveDetector::~EKLMSensitiveDetector
~EKLMSensitiveDetector()
Destructor.
Definition: EKLMSensitiveDetector.cc:45
Belle2::EKLM::EKLMSensitiveDetector::step
bool step(G4Step *aStep, G4TouchableHistory *history) override
Process each step and calculate variables for EKLMSimHit store EKLMSimHit.
Definition: EKLMSensitiveDetector.cc:49
Belle2::EKLM::EKLMSensitiveDetector::EKLMSensitiveDetector
EKLMSensitiveDetector(G4String name)
Constructor.
Definition: EKLMSensitiveDetector.cc:30
Belle2::EKLM::EKLMSensitiveDetector::m_SimHits
StoreArray< EKLMSimHit > m_SimHits
Simulation hits.
Definition: EKLMSensitiveDetector.h:70
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::EKLM::EKLMSensitiveDetector::m_ElementNumbers
const EKLMElementNumbers * m_ElementNumbers
Element numbers.
Definition: EKLMSensitiveDetector.h:67
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::EKLM::EKLMSensitiveDetector::m_ThresholdHitTime
G4double m_ThresholdHitTime
All hits with time large than m_ThresholdHitTime will be dropped.
Definition: EKLMSensitiveDetector.h:76