source: trunk/source/processes/hadronic/models/cascade/cascade/include/G4InuclCollider.hh @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 3.4 KB
Line 
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// $Id: G4InuclCollider.hh,v 1.21 2010/09/27 04:03:43 mkelsey Exp $
26// Geant4 tag: $Name: hadr-casc-V09-03-85 $
27//
28// 20100413  M. Kelsey -- Pass G4CollisionOutput by ref to ::collide()
29// 20100517  M. Kelsey -- Inherit from common base class, make other colliders
30//              simple data members
31// 20100620  M. Kelsey -- Move output buffers here to reduce memory churn
32// 20100714  M. Kelsey -- Switch to new G4CascadeColliderBase class
33// 20100720  M. Kelsey -- Make all the collders pointer members (to reducde
34//              external compile dependences).
35// 20100915  M. Kelsey -- Move de-excitation colliders to G4CascadeDeexcitation
36// 20100922  M. Kelsey -- Add functions to select de-excitation method, change
37//              "theDeexcitation" to be a base-class pointer for switching
38// 20100926  M. Kelsey -- Use new intermediate base class for de-exciations.
39
40#ifndef G4INUCL_COLLIDER_HH
41#define G4INUCL_COLLIDER_HH
42
43#include "G4CascadeColliderBase.hh"
44#include "G4CollisionOutput.hh"
45
46class G4InuclParticle;
47class G4ElementaryParticleCollider;
48class G4IntraNucleiCascader;
49class G4VCascadeDeexcitation;
50
51
52class G4InuclCollider : public G4CascadeColliderBase {
53public:
54  G4InuclCollider();
55  virtual ~G4InuclCollider();
56
57  void collide(G4InuclParticle* bullet, G4InuclParticle* target,
58               G4CollisionOutput& globalOutput);
59
60  // Select betweeen different post-cascade de-excitation models
61  void useCascadeDeexcitation();
62  void usePreCompoundDeexcitation();
63
64private: 
65  G4ElementaryParticleCollider* theElementaryParticleCollider;
66  G4IntraNucleiCascader* theIntraNucleiCascader;
67
68  G4VCascadeDeexcitation* theDeexcitation;      // User switchable!
69
70  G4CollisionOutput output;             // Secondaries from main cascade
71  G4CollisionOutput DEXoutput;          // Secondaries from de-excitation
72};       
73
74#endif /* G4INUCL_COLLIDER_HH */
75
76
Note: See TracBrowser for help on using the repository browser.