Belle II Software  release-05-01-25
SensitiveDetector.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luka Santelj *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef ARICHSENSITIVEDETECTOR_H
12 #define ARICHSENSITIVEDETECTOR_H
13 
14 #include <simulation/kernel/SensitiveDetectorBase.h>
15 #include <framework/database/DBObjPtr.h>
16 #include <arich/dbobjects/ARICHSimulationPar.h>
17 
18 namespace Belle2 {
23  namespace arich {
25 
28  class SensitiveDetector : public Simulation::SensitiveDetectorBase {
29 
30  public:
31 
37 
43  bool step(G4Step* aStep, G4TouchableHistory*) override;
44 
45 
46  private:
47 
50  }; // SensitiveDetector class
51  } // end of namespace arich
53 } // end of namespace Belle2
54 
55 #endif /* ARICHSENSITIVEDETECTOR_H */
Belle2::arich::SensitiveDetector::SensitiveDetector
SensitiveDetector()
Constructor.
Definition: SensitiveDetector.cc:37
Belle2::DBObjPtr
Class for accessing objects in the database.
Definition: DBObjPtr.h:31
Belle2::arich::SensitiveDetector::step
bool step(G4Step *aStep, G4TouchableHistory *) override
Process each step and calculate variables defined in PXDSimHit.
Definition: SensitiveDetector.cc:51
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::arich::SensitiveDetector::m_simPar
DBObjPtr< ARICHSimulationPar > m_simPar
simulation parameters from the DB
Definition: SensitiveDetector.h:56
Belle2::PXD::SensitiveDetector
VXD::SensitiveDetector< PXDSimHit, PXDTrueHit > SensitiveDetector
The PXD Sensitive Detector class.
Definition: SensitiveDetector.h:36