[1203] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
[1315] | 26 | // $Id: G4QNeutrinoPhysics.hh,v 1.3 2010/06/03 14:37:24 gunter Exp $ |
---|
[1337] | 27 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
[1203] | 28 | // |
---|
| 29 | //--------------------------------------------------------------------------- |
---|
| 30 | // |
---|
| 31 | // ClassName: G4QNeutrinoPhysics |
---|
| 32 | // |
---|
| 33 | // Author: 2009 M. V. Kosov |
---|
| 34 | // |
---|
| 35 | // Modified: |
---|
| 36 | // |
---|
| 37 | //---------------------------------------------------------------------------- |
---|
| 38 | // |
---|
| 39 | |
---|
| 40 | #ifndef G4QNeutrinoPhysics_h |
---|
| 41 | #define G4QNeutrinoPhysics_h 1 |
---|
| 42 | |
---|
| 43 | #include "G4VPhysicsConstructor.hh" |
---|
| 44 | #include "globals.hh" |
---|
| 45 | |
---|
| 46 | #include "G4QMessenger.hh" |
---|
| 47 | |
---|
| 48 | #include "G4QInelastic.hh" |
---|
| 49 | |
---|
| 50 | #include "G4NeutrinoE.hh" |
---|
| 51 | #include "G4AntiNeutrinoE.hh" |
---|
| 52 | #include "G4NeutrinoMu.hh" |
---|
| 53 | #include "G4AntiNeutrinoMu.hh" |
---|
| 54 | #include "G4NeutrinoTau.hh" |
---|
| 55 | #include "G4AntiNeutrinoTau.hh" |
---|
| 56 | |
---|
| 57 | #include "G4ProcessManager.hh" |
---|
| 58 | |
---|
| 59 | class G4QNeutrinoPhysics : public G4VPhysicsConstructor |
---|
| 60 | { |
---|
| 61 | public: |
---|
[1315] | 62 | G4QNeutrinoPhysics(G4int verbose =1); |
---|
| 63 | G4QNeutrinoPhysics(const G4String& name); |
---|
[1203] | 64 | virtual ~G4QNeutrinoPhysics(); |
---|
| 65 | |
---|
| 66 | void ConstructParticle(); |
---|
| 67 | void ConstructProcess(); |
---|
| 68 | |
---|
| 69 | G4String GetNuElNuclearOnOff() {return nuEleOn ? "on" : "off";} |
---|
| 70 | G4String GetNuMuNuclearOnOff() {return nuMuoOn ? "on" : "off";} |
---|
| 71 | G4String GetNuTauNuclearOnOff() {return nuTauOn ? "on" : "off";} |
---|
| 72 | |
---|
| 73 | void SetNuElNuclearOnOff(G4String& aState); |
---|
| 74 | void SetNuMuNuclearOnOff(G4String& aState); |
---|
| 75 | void SetNuTauNuclearOnOff(G4String& aState); |
---|
| 76 | void SetNuNuclearBias(G4double newValue); |
---|
| 77 | |
---|
| 78 | private: |
---|
| 79 | |
---|
| 80 | void BuildNuEleNuclear(); |
---|
| 81 | void BuildNuMuoNuclear(); |
---|
| 82 | void BuildNuTauNuclear(); |
---|
| 83 | |
---|
| 84 | G4bool wasBuilt; |
---|
| 85 | G4bool nuEleActivated; |
---|
| 86 | G4bool nuMuoActivated; |
---|
| 87 | G4bool nuTauActivated; |
---|
| 88 | G4bool nuEleOn; |
---|
| 89 | G4bool nuMuoOn; |
---|
| 90 | G4bool nuTauOn; |
---|
| 91 | G4double nuNucBias; // Biasing factor for neutrino-nuclear processes |
---|
| 92 | |
---|
| 93 | G4QInelastic* inelastic; |
---|
| 94 | G4QMessenger* theMessenger; |
---|
| 95 | }; |
---|
| 96 | |
---|
| 97 | #endif |
---|