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 << 7 // 6 // * the Geant4 Collaboration. It is provided << 8 // $Id: G4TrackStatus.hh,v 1.2 1999/11/07 16:32:04 kurasige Exp $ 7 // * conditions of the Geant4 Software License << 9 // GEANT4 tag $Name: geant4-01-00 $ 8 // * LICENSE and available at http://cern.ch/ << 10 // 9 // * include a list of copyright holders. << 11 // 10 // * << 12 //--------------------------------------------------------------- 11 // * Neither the authors of this software syst << 13 // 12 // * institutes,nor the agencies providing fin << 14 // G4TrackStatus.hh 13 // * work make any representation or warran << 15 // 14 // * regarding this software system or assum << 16 // Class Description: 15 // * use. Please see the license in the file << 17 // This is an enumerator to define the current status 16 // * for the full disclaimer and the limitatio << 18 // of the track which is under the transportation. 17 // * << 19 // 18 // * This code implementation is the result << 20 // Contact: 19 // * technical work of the GEANT4 collaboratio << 21 // Questions and comments to this code should be sent to 20 // * By using, copying, modifying or distri << 22 // Katsuya Amako (e-mail: Katsuya.Amako@kek.jp) 21 // * any work based on the software) you ag << 23 // Takashi Sasaki (e-mail: Takashi.Sasaki@kek.jp) 22 // * use in resulting scientific publicati << 24 // 23 // * acceptance of all terms of the Geant4 Sof << 25 //--------------------------------------------------------------- 24 // ******************************************* << 25 // << 26 // G4TrackStatus << 27 // << 28 // Description: << 29 // << 30 // Enumerator to define the current status of << 31 // is under transportation. << 32 << 33 // Authors: << 34 // Katsuya Amako (e-mail: Katsuya.Amako@kek << 35 // Takashi Sasaki (e-mail: Takashi.Sasaki@ke << 36 // ------------------------------------------- << 37 #ifndef G4TrackStatus_hh << 38 #define G4TrackStatus_hh 1 << 39 26 >> 27 #ifndef G4TrackStatus_h >> 28 #define G4TrackStatus_h 1 >> 29 >> 30 ////////////////// 40 enum G4TrackStatus 31 enum G4TrackStatus >> 32 ////////////////// 41 { 33 { 42 fAlive, << 34 43 // Continue the tracking << 35 fAlive, // Continue the tracking 44 fStopButAlive, << 36 fStopButAlive, // Invoke active rest physics processes and 45 // Invoke active rest physics processes an << 37 // and kill the current track afterward 46 fStopAndKill, << 38 fStopAndKill, // Kill the current track 47 // Kill the current track << 39 48 fKillTrackAndSecondaries, 40 fKillTrackAndSecondaries, 49 // Kill the current track and also associa << 41 // Kill the current track and also associated 50 fSuspend, << 42 // secondaries. 51 // Suspend the current track << 43 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 44 fPostponeToNextEvent 57 // Postpone the tracking of the current tr << 45 // Postpones the tracking of thecurrent track >> 46 // to the next event. >> 47 58 }; 48 }; 59 49 60 #endif 50 #endif >> 51 >> 52 61 53