Ignore:
Timestamp:
Apr 6, 2009, 12:30:29 PM (15 years ago)
Author:
garnier
Message:

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/chiral_inv_phase_space/interface/include/G4GammaNuclearReaction.hh

    r819 r962  
    2525//
    2626//
    27 // $Id: G4GammaNuclearReaction.hh,v 1.13 2006/06/29 20:07:48 gunter Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4GammaNuclearReaction.hh,v 1.14 2008/09/01 17:30:42 vnivanch Exp $
     28// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2929//
    3030//
     
    3232// Created: J.P. Wellisch, 2000/08/18
    3333// The last update: J.P. Wellisch, Thu Jun  6 2002.
     34// 01.09.2008 V.Ivanchenko move inline to source and define interaction name
    3435//
     36
    3537#ifndef G4GammaNuclearReaction_h
    36 #define G4GammaNuclearReaction_h
     38#define G4GammaNuclearReaction_h 1
    3739
    3840#include "globals.hh"
    3941#include "G4HadronicInteraction.hh"
    4042#include "G4ChiralInvariantPhaseSpace.hh"
    41 #include "G4Gamma.hh"
    4243
    4344class G4GammaNuclearReaction : public G4HadronicInteraction
    4445{
    45   public:
    46     virtual ~G4GammaNuclearReaction()
    47     {
    48     }
     46public:
     47
     48  G4GammaNuclearReaction();
     49
     50  virtual ~G4GammaNuclearReaction();
    4951   
    50     virtual G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
    51     G4Nucleus& aTargetNucleus);
     52  virtual G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
     53                                        G4Nucleus& aTargetNucleus);
    5254
    53   private:
    54     G4ChiralInvariantPhaseSpace theModel;
     55private:
     56
     57  G4ChiralInvariantPhaseSpace theModel;
     58
    5559};
    5660
    57 inline
    58 G4HadFinalState * G4GammaNuclearReaction::
    59 ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& aTargetNucleus)
    60 {
    61   if(aTrack.GetDefinition() != G4Gamma::GammaDefinition())
    62   {
    63     throw G4HadronicException(__FILE__, __LINE__, "Called G4GammaNuclearReaction for particle other than gamma");
    64   }
    65   return theModel.ApplyYourself(aTrack, aTargetNucleus);
    66 }
    67 
    6861#endif
Note: See TracChangeset for help on using the changeset viewer.