Belle II Software development
SteppingAction.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//-----------------------------------------------------------------------------
10// Description : A class to control a track in G4
11//-----------------------------------------------------------------------------
12
13#ifndef TRGCDCSteppingAction_FLAG_
14#define TRGCDCSteppingAction_FLAG_
15
16#include "G4UserSteppingAction.hh"
17#include "globals.hh"
18
19#ifdef TRGCDC_SHORT_NAMES
20#define TCSAction TRGCDCSteppingAction
21#endif
22
23namespace Belle2 {
30 class TRGCDCSteppingAction : public G4UserSteppingAction {
31
32 public:
35
37 virtual ~TRGCDCSteppingAction();
38
40 virtual void UserSteppingAction(const G4Step*);
41 };
42
43//-----------------------------------------------------------------------------
44
46} // namespace Belle2
47
48#endif /* TRGCDCSteppingAction_FLAG_ */
49
A class to control a track in G4.
virtual void UserSteppingAction(const G4Step *)
Stepping action to control a step in G4.
virtual ~TRGCDCSteppingAction()
Destructor.
Abstract base class for different kinds of events.