ATLAS Offline Software
QuirkStackingAction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef QUIRKSTACKINGACTION_H
6 #define QUIRKSTACKINGACTION_H
7 
8 #include "G4UserStackingAction.hh"
9 #include "globals.hh"
10 
11 class QuirkStackingAction : public G4UserStackingAction {
12 public:
13  QuirkStackingAction(G4UserStackingAction* defaultStackingAction = 0);
14  virtual ~QuirkStackingAction();
15  virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track* aTrack);
16  virtual void NewStage();
17  virtual void PrepareNewEvent();
18 private:
19  G4bool m_firstTrack;
20  G4UserStackingAction* m_defaultStackingAction;
21 };
22 
23 #endif
QuirkStackingAction::NewStage
virtual void NewStage()
Definition: QuirkStackingAction.cxx:37
QuirkStackingAction::ClassifyNewTrack
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
Definition: QuirkStackingAction.cxx:20
QuirkStackingAction::m_defaultStackingAction
G4UserStackingAction * m_defaultStackingAction
Definition: QuirkStackingAction.h:20
QuirkStackingAction::PrepareNewEvent
virtual void PrepareNewEvent()
Definition: QuirkStackingAction.cxx:44
QuirkStackingAction::m_firstTrack
G4bool m_firstTrack
Definition: QuirkStackingAction.h:19
QuirkStackingAction::QuirkStackingAction
QuirkStackingAction(G4UserStackingAction *defaultStackingAction=0)
Definition: QuirkStackingAction.cxx:11
QuirkStackingAction
Definition: QuirkStackingAction.h:11
QuirkStackingAction::~QuirkStackingAction
virtual ~QuirkStackingAction()
Definition: QuirkStackingAction.cxx:16