Geant4 Cross Reference |
>> 1 // This code implementation is the intellectual property of >> 2 // the GEANT4 collaboration. 1 // 3 // 2 // ******************************************* << 4 // By copying, distributing or modifying the Program (or any work 3 // * License and Disclaimer << 5 // based on the Program) you indicate your acceptance of this statement, 4 // * << 6 // and all its terms. 5 // * The Geant4 software is copyright of th << 6 // * the Geant4 Collaboration. It is provided << 7 // * conditions of the Geant4 Software License << 8 // * LICENSE and available at http://cern.ch/ << 9 // * include a list of copyright holders. << 10 // * << 11 // * Neither the authors of this software syst << 12 // * institutes,nor the agencies providing fin << 13 // * work make any representation or warran << 14 // * regarding this software system or assum << 15 // * use. Please see the license in the file << 16 // * for the full disclaimer and the limitatio << 17 // * << 18 // * This code implementation is the result << 19 // * technical work of the GEANT4 collaboratio << 20 // * By using, copying, modifying or distri << 21 // * any work based on the software) you ag << 22 // * use in resulting scientific publicati << 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* << 25 // 7 // 26 // G4UserSteppingAction << 8 // $Id: G4UserSteppingAction.hh,v 1.4.6.1 1999/12/07 20:53:05 gunter Exp $ >> 9 // GEANT4 tag $Name: geant4-01-00 $ 27 // 10 // 28 // Class description: << 29 // 11 // 30 // This class represents any action taken plac << 12 //--------------------------------------------------------------- 31 // end of stepping. << 13 // 32 << 14 // G4UserSteppingAction.hh >> 15 // >> 16 // Description: >> 17 // This class represents actions taken place by the user at each >> 18 // end of stepping. >> 19 // 33 // Contact: 20 // Contact: 34 // Questions and comments to this code shoul 21 // Questions and comments to this code should be sent to 35 // Katsuya Amako (e-mail: Katsuya.Amako@k 22 // Katsuya Amako (e-mail: Katsuya.Amako@kek.jp) 36 // Takashi Sasaki (e-mail: Takashi.Sasaki@ 23 // Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp) 37 // ------------------------------------------- << 24 // 38 #ifndef G4UserSteppingAction_hh << 25 //--------------------------------------------------------------- 39 #define G4UserSteppingAction_hh 1 << 26 >> 27 #ifndef G4UserSteppingAction_h >> 28 #define G4UserSteppingAction_h 1 40 29 41 class G4Step; 30 class G4Step; 42 class G4SteppingManager; << 31 class G4SteppingManager; // Forward declaration 43 32 44 class G4UserSteppingAction << 33 /////////////////////////// >> 34 class G4UserSteppingAction >> 35 /////////////////////////// 45 { 36 { 46 public: << 47 // Constructor and destructor << 48 << 49 G4UserSteppingAction(); << 50 virtual ~G4UserSteppingAction() = default; << 51 37 52 // Member functions << 38 //-------- >> 39 public: >> 40 //-------- >> 41 >> 42 // Constructor and destructors >> 43 G4UserSteppingAction(){;} >> 44 virtual ~G4UserSteppingAction(){;} >> 45 >> 46 // Member functions >> 47 void SetSteppingManagerPointer(G4SteppingManager* pValue); >> 48 virtual void UserSteppingAction(const G4Step* aStep){;} >> 49 >> 50 //----------- >> 51 protected: >> 52 //----------- 53 53 54 virtual void SetSteppingManagerPointer(G4Ste << 54 // Member data 55 virtual void UserSteppingAction(const G4Step << 55 G4SteppingManager* fpSteppingManager; 56 56 57 protected: << 58 G4SteppingManager* fpSteppingManager = nullp << 59 }; 57 }; 60 58 61 #endif 59 #endif >> 60 >> 61 62 62