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 // >> 23 // >> 24 // $Id: G4VUserEventInformation.hh,v 1.1 2003/09/09 20:09:17 asaim Exp $ >> 25 // GEANT4 tag $Name: geant4-08-00-patch-01 $ >> 26 // >> 27 // >> 28 //--------------------------------------------------------------- >> 29 // 26 // G4VUserEventInformation 30 // G4VUserEventInformation 27 // 31 // 28 // Class description: << 32 // Class Description: 29 // 33 // 30 // Abstract class the user can derive from for << 34 // Abstract class which the user can derive his/her own concrete 31 // information associating with a G4Event clas << 35 // class for toring user's information associating with a G4Event >> 36 // class object. 32 // 37 // 33 // It is user's responsibility to construct a << 38 // It is user's responsibility to construct a concrete class object 34 // and set the pointer to a proper G4Event obj << 39 // and set the pointer to proper G4Event object. 35 // 40 // 36 // To set a pointer of a concrete class object << 41 // To set a pointer of a concrete class object to G4Event in 37 // G4UserEventAction concrete implementation, << 42 // G4UserEventingAction concrete implementation, given the G4Event 38 // object is available only by "pointer to con 43 // object is available only by "pointer to const", SetUserEventInformation() 39 // method of G4EventManager is available. 44 // method of G4EventManager is available. 40 // Alternatively, the user may modify Generate << 45 // Alternatively, the user may modify GenerateEvent() method of 41 // his/her own RunManager. 46 // his/her own RunManager. 42 // 47 // 43 // The concrete class object is deleted by the << 48 // The concrete class object is deleted by Geant4 kernel when 44 // associated G4Event object is deleted. 49 // associated G4Event object is deleted. 45 50 46 // Author: Makoto Asai (SLAC) << 51 47 // ------------------------------------------- << 52 #ifndef G4VUserEventInformation_H 48 #ifndef G4VUserEventInformation_hh << 53 #define G4VUserEventInformation_H 1 49 #define G4VUserEventInformation_hh 1 << 50 54 51 class G4VUserEventInformation 55 class G4VUserEventInformation 52 { 56 { 53 public: 57 public: 54 << 58 G4VUserEventInformation() {;} 55 G4VUserEventInformation() = default; << 59 virtual ~G4VUserEventInformation() {;} 56 virtual ~G4VUserEventInformation() = defau << 57 60 58 public: 61 public: 59 << 60 virtual void Print() const = 0; 62 virtual void Print() const = 0; 61 }; 63 }; 62 64 63 #endif 65 #endif >> 66 64 67