![]() |
|
|||
File indexing completed on 2025-08-05 08:17:40
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 // $Id: P6DExtDecayerPhysics.hh,v 1.3 2015/01/05 23:49:39 mccumber Exp $ 0027 // 0028 /// \file eventgenerator/pythia/decayer6/include/P6DExtDecayerPhysics.hh 0029 /// \brief Definition of the P6DExtDecayerPhysics class 0030 /// 0031 /// \author I. Hrivnacova; IPN Orsay 0032 0033 #ifndef P6D_EXT_DECAYER_PHYSICS_H 0034 #define P6D_EXT_DECAYER_PHYSICS_H 0035 0036 #include "EDecayType.hh" 0037 0038 #include <Geant4/G4String.hh> 0039 #include <Geant4/G4VPhysicsConstructor.hh> 0040 0041 /// The builder for external decayer. 0042 /// 0043 /// The external decayer is added to all instantiated decay 0044 /// processes 0045 /// 0046 /// \author I. Hrivnacova; IPN Orsay 0047 0048 class P6DExtDecayerPhysics : public G4VPhysicsConstructor 0049 { 0050 public: 0051 P6DExtDecayerPhysics(const G4String& name = "ExtDecayer"); 0052 ~P6DExtDecayerPhysics() override = default; 0053 0054 void SetForceDecay(EDecayType force_decay_type) 0055 { 0056 _active_force_decay = true; 0057 _force_decay_type = force_decay_type; 0058 } 0059 EDecayType GetForceDecay() { return _force_decay_type; } 0060 0061 protected: 0062 // methods 0063 // construct particle and physics 0064 void ConstructParticle() override {return;} 0065 void ConstructProcess() override; 0066 0067 private: 0068 /// Not implemented 0069 P6DExtDecayerPhysics(const P6DExtDecayerPhysics& right); 0070 /// Not implemented 0071 P6DExtDecayerPhysics& operator=(const P6DExtDecayerPhysics& right); 0072 0073 bool _active_force_decay; 0074 EDecayType _force_decay_type; 0075 }; 0076 0077 #endif // P6D_EXT_DECAYER_PHYSICS_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |