|
|
|||
File indexing completed on 2026-09-11 08:29:29
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 /// \file RMC01SD.hh 0027 /// \brief Definition of the RMC01SD class 0028 0029 // Class Name: RMC01SD 0030 // Author: L. Desorgher 0031 // Organisation: SpaceIT GmbH 0032 // Contract: ESA contract 21435/08/NL/AT 0033 // Customer: ESA/ESTEC 0034 ////////////////////////////////////////////////////////////// 0035 // CHANGE HISTORY 0036 //-------------- 0037 // ChangeHistory: 0038 // 17-11-2009 creation by L. Desorgher 0039 // 0040 //------------------------------------------------------------- 0041 0042 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0043 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0044 0045 #ifndef RMC01SD_h 0046 #define RMC01SD_h 1 0047 0048 #include "G4ThreeVector.hh" 0049 #include "G4VSensitiveDetector.hh" 0050 0051 class G4Step; 0052 class G4HCofThisEvent; 0053 class G4StepPoint; 0054 class G4LogicalVolume; 0055 class G4VPhysicalVolume; 0056 0057 #include "RMC01DoubleWithWeightHit.hh" 0058 0059 #include "G4THitsCollection.hh" 0060 #include "G4ios.hh" 0061 0062 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0063 0064 class RMC01SD : public G4VSensitiveDetector 0065 { 0066 public: 0067 RMC01SD(G4String name); 0068 virtual ~RMC01SD(); 0069 virtual void Initialize(G4HCofThisEvent* HCE); 0070 virtual G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist); 0071 virtual void EndOfEvent(G4HCofThisEvent* HCE); 0072 virtual void Clear(); 0073 virtual void DrawAll(); 0074 virtual void PrintAll(); 0075 0076 private: 0077 G4double fTotalEventEdep; 0078 RMC01DoubleWithWeightHitsCollection* fEventEdepCollection; 0079 RMC01DoubleWithWeightHitsCollection* fProtonCurrentCollection; 0080 RMC01DoubleWithWeightHitsCollection* fGammaCurrentCollection; 0081 RMC01DoubleWithWeightHitsCollection* fElectronCurrentCollection; 0082 }; 0083 0084 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 0085 0086 #endif
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|