CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/SimG4Core/GFlash/interface/HadronPhysicsQGSP_WP.h

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  https://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id: HadronPhysicsQGSP_WP.h,v 1.4 2009/03/24 03:52:55 syjun Exp $
00027 // GEANT4 tag $Name: V04-03-00 $
00028 //
00029 //---------------------------------------------------------------------------
00030 //
00031 // ClassName:   HadronPhysicsQGSP_WP
00032 //
00033 // Author: 2002 J.P. Wellisch
00034 //
00035 // Modified:
00036 // 21.11.2005 G.Folger: don't  keep processes as data members, but new these
00037 // 08.06.2006 V.Ivanchenko: remove stopping
00038 // 30.03.2007 G.Folger: Add quasielastic option, turned off by default
00039 // 25.04.2007 G.Folger: Use quasielastic by default
00040 //
00041 //----------------------------------------------------------------------------
00042 //
00043 #ifndef HadronPhysicsQGSP_WP_h
00044 #define HadronPhysicsQGSP_WP_h 1
00045 
00046 #include "globals.hh"
00047 #include "G4ios.hh"
00048 
00049 #include "G4VPhysicsConstructor.hh"
00050 #include "G4MiscLHEPBuilder.hh"
00051 
00052 #include "G4LEPPiKBuilder.hh"
00053 #include "G4QGSPPiKBuilder.hh"
00054 
00055 #include "G4ProtonBuilder.hh"
00056 #include "G4LEPProtonBuilder.hh"
00057 #include "G4QGSPProtonBuilder.hh"
00058 
00059 #include "G4NeutronBuilder.hh"
00060 #include "G4LEPNeutronBuilder.hh"
00061 #include "G4QGSPNeutronBuilder.hh"
00062 
00063 class G4PiKBuilder_WP;
00064 class G4ProtonBuilder_WP;
00065 class G4MiscLHEPBuilder_WP;
00066 
00067 class HadronPhysicsQGSP_WP : public G4VPhysicsConstructor
00068 {
00069   public: 
00070     HadronPhysicsQGSP_WP(const G4String& name ="hadron",G4bool quasiElastic=true);
00071     virtual ~HadronPhysicsQGSP_WP();
00072 
00073   public: 
00074     virtual void ConstructParticle();
00075     virtual void ConstructProcess();
00076 
00077   private:
00078     void CreateModels();
00079     G4NeutronBuilder * theNeutrons;
00080     G4LEPNeutronBuilder * theLEPNeutron;
00081     G4QGSPNeutronBuilder * theQGSPNeutron;
00082     
00083     G4PiKBuilder_WP * thePiK;
00084     G4LEPPiKBuilder * theLEPPiK;
00085     G4QGSPPiKBuilder * theQGSPPiK;
00086     
00087     G4ProtonBuilder_WP * thePro;
00088     G4LEPProtonBuilder * theLEPPro;
00089     G4QGSPProtonBuilder * theQGSPPro;    
00090     
00091     G4MiscLHEPBuilder_WP * theMiscLHEP;
00092     
00093     G4bool QuasiElastic;
00094 };
00095 // 2008 Modified for CMS GflashHadronWrapperProcess
00096 #endif
00097