|
||||
File indexing completed on 2025-01-18 09:57:53
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // 0027 // 20101010 M. Kelsey -- Migrate to integer A and Z 0028 0029 #ifndef G4ANALYSER_HH 0030 #define G4ANALYSER_HH 0031 0032 #define WITH_NUCLEI 0033 0034 #include "G4CollisionOutput.hh" 0035 //#include "G4InuclParticle.hh" 0036 #include "G4InuclElementaryParticle.hh" 0037 #include "G4InuclNuclei.hh" 0038 #include "G4NuclWatcher.hh" 0039 //#include "G4ExitonConfiguration.hh" 0040 0041 #include <vector> 0042 0043 class G4Analyser { 0044 0045 public: 0046 0047 G4Analyser(); 0048 void setInelCsec(G4double csec, G4bool withn); 0049 void setWatchers(const std::vector<G4NuclWatcher>& watchers); 0050 void try_watchers(G4int a, G4int z, G4bool if_nucl); 0051 void analyse(const G4CollisionOutput& output); 0052 void printResults(); 0053 void printResultsSimple(); 0054 void handleWatcherStatistics(); 0055 void printResultsNtuple(); 0056 0057 private: 0058 0059 G4int verboseLevel; 0060 G4double eventNumber; 0061 G4double averageMultiplicity; 0062 G4double averageProtonNumber; 0063 G4double averageNeutronNumber; 0064 G4double averagePionNumber; 0065 G4double averageNucleonKinEnergy; 0066 G4double averageProtonKinEnergy; 0067 G4double averageNeutronKinEnergy; 0068 G4double averagePionKinEnergy; 0069 G4double averageExitationEnergy; 0070 G4double averageOutgoingNuclei; 0071 G4double fissy_prob; 0072 G4double averagePionPl; 0073 G4double averagePionMin; 0074 G4double averagePion0; 0075 G4double averageA; 0076 G4double averageZ; 0077 std::vector<G4NuclWatcher> ana_watchers; 0078 G4double inel_csec; 0079 G4bool withNuclei; 0080 }; 0081 0082 #endif // G4ANALYSER_HH
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |