Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // 26 // G4TrackStatus << 27 // 23 // 28 // Description: << 24 // $Id: G4TrackStatus.hh,v 1.3 2001/07/11 10:08:37 gunter Exp $ >> 25 // GEANT4 tag $Name: geant4-05-00 $ 29 // 26 // 30 // Enumerator to define the current status of << 27 // 31 // is under transportation. << 28 //--------------------------------------------------------------- >> 29 // >> 30 // G4TrackStatus.hh >> 31 // >> 32 // Class Description: >> 33 // This is an enumerator to define the current status >> 34 // of the track which is under the transportation. >> 35 // >> 36 // Contact: >> 37 // Questions and comments to this code should be sent to >> 38 // Katsuya Amako (e-mail: Katsuya.Amako@kek.jp) >> 39 // Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp) >> 40 // >> 41 //--------------------------------------------------------------- 32 42 33 // Authors: << 43 #ifndef G4TrackStatus_h 34 // Katsuya Amako (e-mail: Katsuya.Amako@kek << 44 #define G4TrackStatus_h 1 35 // Takashi Sasaki (e-mail: Takashi.Sasaki@ke << 36 // ------------------------------------------- << 37 #ifndef G4TrackStatus_hh << 38 #define G4TrackStatus_hh 1 << 39 45 >> 46 ////////////////// 40 enum G4TrackStatus 47 enum G4TrackStatus >> 48 ////////////////// 41 { 49 { 42 fAlive, << 50 43 // Continue the tracking << 51 fAlive, // Continue the tracking 44 fStopButAlive, << 52 fStopButAlive, // Invoke active rest physics processes and 45 // Invoke active rest physics processes an << 53 // and kill the current track afterward 46 fStopAndKill, << 54 fStopAndKill, // Kill the current track 47 // Kill the current track << 55 48 fKillTrackAndSecondaries, 56 fKillTrackAndSecondaries, 49 // Kill the current track and also associa << 57 // Kill the current track and also associated 50 fSuspend, << 58 // secondaries. 51 // Suspend the current track << 59 fSuspend, // Suspend the current track 52 fSuspendAndWait, << 53 // Suspend the current track and send it t << 54 // won't be resumed until all other tracks << 55 // descendants have been tracked << 56 fPostponeToNextEvent 60 fPostponeToNextEvent 57 // Postpone the tracking of the current tr << 61 // Postpones the tracking of thecurrent track >> 62 // to the next event. >> 63 58 }; 64 }; 59 65 60 #endif 66 #endif >> 67 >> 68 61 69