CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
G4MiscLHEPBuilder_WP Class Reference

#include <G4MiscLHEPBuilder_WP.h>

Public Member Functions

void Build ()
 
 G4MiscLHEPBuilder_WP ()
 
virtual ~G4MiscLHEPBuilder_WP ()
 

Private Attributes

G4AntiLambdaInelasticProcess theAntiLambdaInelastic
 
G4AntiNeutronInelasticProcess theAntiNeutronInelastic
 
G4AntiOmegaMinusInelasticProcess theAntiOmegaMinusInelastic
 
G4AntiProtonInelasticProcess theAntiProtonInelastic
 
G4AntiSigmaMinusInelasticProcess theAntiSigmaMinusInelastic
 
G4AntiSigmaPlusInelasticProcess theAntiSigmaPlusInelastic
 
G4AntiXiMinusInelasticProcess theAntiXiMinusInelastic
 
G4AntiXiZeroInelasticProcess theAntiXiZeroInelastic
 
G4LambdaInelasticProcess theLambdaInelastic
 
G4OmegaMinusInelasticProcess theOmegaMinusInelastic
 
G4SigmaMinusInelasticProcess theSigmaMinusInelastic
 
G4SigmaPlusInelasticProcess theSigmaPlusInelastic
 
GflashHadronWrapperProcesstheWrappedAntiProtonInelastic
 
G4XiMinusInelasticProcess theXiMinusInelastic
 
G4XiZeroInelasticProcess theXiZeroInelastic
 
G4bool wasActivated
 

Detailed Description

Definition at line 94 of file G4MiscLHEPBuilder_WP.h.

Constructor & Destructor Documentation

G4MiscLHEPBuilder_WP::G4MiscLHEPBuilder_WP ( )

Definition at line 51 of file G4MiscLHEPBuilder_WP.cc.

References theWrappedAntiProtonInelastic.

51  : wasActivated(false)
52 {
53  theWrappedAntiProtonInelastic=new GflashHadronWrapperProcess("G4AntiProtonInelasticProcess");
54 }
GflashHadronWrapperProcess * theWrappedAntiProtonInelastic
G4MiscLHEPBuilder_WP::~G4MiscLHEPBuilder_WP ( )
virtual

Definition at line 55 of file G4MiscLHEPBuilder_WP.cc.

56 {
57  // delete theWrappedAntiProtonInelastic;
58 }

Member Function Documentation

void G4MiscLHEPBuilder_WP::Build ( )

Definition at line 60 of file G4MiscLHEPBuilder_WP.cc.

References wasActivated.

Referenced by HadronPhysicsQGSPCMS_FTFP_BERT_WP::ConstructProcess(), HadronPhysicsQGSP_WP::ConstructProcess(), and HadronPhysicsQGSP_BERT_WP::ConstructProcess().

61 {
62  //G4ProcessManager * aProcMan = 0;
63  wasActivated = true;
64  /*
65  // anti-Proton
66  aProcMan = G4AntiProton::AntiProton()->GetProcessManager();
67  theLEAntiProtonModel = new G4LEAntiProtonInelastic();
68  theHEAntiProtonModel = new G4HEAntiProtonInelastic();
69  theHEAntiProtonModel->SetMaxEnergy(100*TeV);
70  theAntiProtonInelastic.RegisterMe(theLEAntiProtonModel);
71  theAntiProtonInelastic.RegisterMe(theHEAntiProtonModel);
72  // aProcMan->AddDiscreteProcess(&theAntiProtonInelastic);
73  edm::LogInfo("SimG4CoreGFlash") << " Adding GflashHadronWrapperProcess (G4wrapperProcess) for G4AntiProtonInelasticProcess" ;
74  theWrappedAntiProtonInelastic->RegisterProcess(&theAntiProtonInelastic);
75  aProcMan->AddDiscreteProcess(theWrappedAntiProtonInelastic);
76 
77  // AntiNeutron
78  aProcMan = G4AntiNeutron::AntiNeutron()->GetProcessManager();
79  theLEAntiNeutronModel = new G4LEAntiNeutronInelastic();
80  theHEAntiNeutronModel = new G4HEAntiNeutronInelastic();
81  theHEAntiNeutronModel->SetMaxEnergy(100*TeV);
82  theAntiNeutronInelastic.RegisterMe(theLEAntiNeutronModel);
83  theAntiNeutronInelastic.RegisterMe(theHEAntiNeutronModel);
84  aProcMan->AddDiscreteProcess(&theAntiNeutronInelastic);
85 
86  // Lambda
87  aProcMan = G4Lambda::Lambda()->GetProcessManager();
88  theLELambdaModel = new G4LELambdaInelastic();
89  theHELambdaModel = new G4HELambdaInelastic();
90  theHELambdaModel->SetMaxEnergy(100*TeV);
91  theLambdaInelastic.RegisterMe(theLELambdaModel);
92  theLambdaInelastic.RegisterMe(theHELambdaModel);
93  aProcMan->AddDiscreteProcess(&theLambdaInelastic);
94 
95  // AntiLambda
96  aProcMan = G4AntiLambda::AntiLambda()->GetProcessManager();
97  theLEAntiLambdaModel = new G4LEAntiLambdaInelastic();
98  theHEAntiLambdaModel = new G4HEAntiLambdaInelastic();
99  theHEAntiLambdaModel->SetMaxEnergy(100*TeV);
100  theAntiLambdaInelastic.RegisterMe(theLEAntiLambdaModel);
101  theAntiLambdaInelastic.RegisterMe(theHEAntiLambdaModel);
102  aProcMan->AddDiscreteProcess(&theAntiLambdaInelastic);
103 
104  // SigmaMinus
105  aProcMan = G4SigmaMinus::SigmaMinus()->GetProcessManager();
106  theLESigmaMinusModel = new G4LESigmaMinusInelastic();
107  theHESigmaMinusModel = new G4HESigmaMinusInelastic();
108  theHESigmaMinusModel->SetMaxEnergy(100*TeV);
109  theSigmaMinusInelastic.RegisterMe(theLESigmaMinusModel);
110  theSigmaMinusInelastic.RegisterMe(theHESigmaMinusModel);
111  aProcMan->AddDiscreteProcess(&theSigmaMinusInelastic);
112 
113  // anti-SigmaMinus
114  aProcMan = G4AntiSigmaMinus::AntiSigmaMinus()->GetProcessManager();
115  theLEAntiSigmaMinusModel = new G4LEAntiSigmaMinusInelastic();
116  theHEAntiSigmaMinusModel = new G4HEAntiSigmaMinusInelastic();
117  theHEAntiSigmaMinusModel->SetMaxEnergy(100*TeV);
118  theAntiSigmaMinusInelastic.RegisterMe(theLEAntiSigmaMinusModel);
119  theAntiSigmaMinusInelastic.RegisterMe(theHEAntiSigmaMinusModel);
120  aProcMan->AddDiscreteProcess(&theAntiSigmaMinusInelastic);
121 
122  // SigmaPlus
123  aProcMan = G4SigmaPlus::SigmaPlus()->GetProcessManager();
124  theLESigmaPlusModel = new G4LESigmaPlusInelastic();
125  theHESigmaPlusModel = new G4HESigmaPlusInelastic();
126  theHESigmaPlusModel->SetMaxEnergy(100*TeV);
127  theSigmaPlusInelastic.RegisterMe(theLESigmaPlusModel);
128  theSigmaPlusInelastic.RegisterMe(theHESigmaPlusModel);
129  aProcMan->AddDiscreteProcess(&theSigmaPlusInelastic);
130 
131  // anti-SigmaPlus
132  aProcMan = G4AntiSigmaPlus::AntiSigmaPlus()->GetProcessManager();
133  theLEAntiSigmaPlusModel = new G4LEAntiSigmaPlusInelastic();
134  theHEAntiSigmaPlusModel = new G4HEAntiSigmaPlusInelastic();
135  theHEAntiSigmaPlusModel->SetMaxEnergy(100*TeV);
136  theAntiSigmaPlusInelastic.RegisterMe(theLEAntiSigmaPlusModel);
137  theAntiSigmaPlusInelastic.RegisterMe(theHEAntiSigmaPlusModel);
138  aProcMan->AddDiscreteProcess(&theAntiSigmaPlusInelastic);
139 
140  // XiMinus
141  aProcMan = G4XiMinus::XiMinus()->GetProcessManager();
142  theLEXiMinusModel = new G4LEXiMinusInelastic();
143  theHEXiMinusModel = new G4HEXiMinusInelastic();
144  theHEXiMinusModel->SetMaxEnergy(100*TeV);
145  theXiMinusInelastic.RegisterMe(theLEXiMinusModel);
146  theXiMinusInelastic.RegisterMe(theHEXiMinusModel);
147  aProcMan->AddDiscreteProcess(&theXiMinusInelastic);
148 
149  // anti-XiMinus
150  aProcMan = G4AntiXiMinus::AntiXiMinus()->GetProcessManager();
151  theLEAntiXiMinusModel = new G4LEAntiXiMinusInelastic();
152  theHEAntiXiMinusModel = new G4HEAntiXiMinusInelastic();
153  theHEAntiXiMinusModel->SetMaxEnergy(100*TeV);
154  theAntiXiMinusInelastic.RegisterMe(theLEAntiXiMinusModel);
155  theAntiXiMinusInelastic.RegisterMe(theHEAntiXiMinusModel);
156  aProcMan->AddDiscreteProcess(&theAntiXiMinusInelastic);
157 
158  // XiZero
159  aProcMan = G4XiZero::XiZero()->GetProcessManager();
160  theLEXiZeroModel = new G4LEXiZeroInelastic();
161  theHEXiZeroModel = new G4HEXiZeroInelastic();
162  theHEXiZeroModel->SetMaxEnergy(100*TeV);
163  theXiZeroInelastic.RegisterMe(theLEXiZeroModel);
164  theXiZeroInelastic.RegisterMe(theHEXiZeroModel);
165  aProcMan->AddDiscreteProcess(&theXiZeroInelastic);
166 
167  // anti-XiZero
168  aProcMan = G4AntiXiZero::AntiXiZero()->GetProcessManager();
169  theLEAntiXiZeroModel = new G4LEAntiXiZeroInelastic();
170  theHEAntiXiZeroModel = new G4HEAntiXiZeroInelastic();
171  theHEAntiXiZeroModel->SetMaxEnergy(100*TeV);
172  theAntiXiZeroInelastic.RegisterMe(theLEAntiXiZeroModel);
173  theAntiXiZeroInelastic.RegisterMe(theHEAntiXiZeroModel);
174  aProcMan->AddDiscreteProcess(&theAntiXiZeroInelastic);
175 
176  // OmegaMinus
177  aProcMan = G4OmegaMinus::OmegaMinus()->GetProcessManager();
178  theLEOmegaMinusModel = new G4LEOmegaMinusInelastic();
179  theHEOmegaMinusModel = new G4HEOmegaMinusInelastic();
180  theHEOmegaMinusModel->SetMaxEnergy(100*TeV);
181  theOmegaMinusInelastic.RegisterMe(theLEOmegaMinusModel);
182  theOmegaMinusInelastic.RegisterMe(theHEOmegaMinusModel);
183  aProcMan->AddDiscreteProcess(&theOmegaMinusInelastic);
184 
185  // anti-OmegaMinus
186  aProcMan = G4AntiOmegaMinus::AntiOmegaMinus()->GetProcessManager();
187  theLEAntiOmegaMinusModel = new G4LEAntiOmegaMinusInelastic();
188  theHEAntiOmegaMinusModel = new G4HEAntiOmegaMinusInelastic();
189  theHEAntiOmegaMinusModel->SetMaxEnergy(100*TeV);
190  theAntiOmegaMinusInelastic.RegisterMe(theLEAntiOmegaMinusModel);
191  theAntiOmegaMinusInelastic.RegisterMe(theHEAntiOmegaMinusModel);
192  aProcMan->AddDiscreteProcess(&theAntiOmegaMinusInelastic);
193  */
194 }

Member Data Documentation

G4AntiLambdaInelasticProcess G4MiscLHEPBuilder_WP::theAntiLambdaInelastic
private

Definition at line 124 of file G4MiscLHEPBuilder_WP.h.

G4AntiNeutronInelasticProcess G4MiscLHEPBuilder_WP::theAntiNeutronInelastic
private

Definition at line 114 of file G4MiscLHEPBuilder_WP.h.

G4AntiOmegaMinusInelasticProcess G4MiscLHEPBuilder_WP::theAntiOmegaMinusInelastic
private

Definition at line 174 of file G4MiscLHEPBuilder_WP.h.

G4AntiProtonInelasticProcess G4MiscLHEPBuilder_WP::theAntiProtonInelastic
private

Definition at line 106 of file G4MiscLHEPBuilder_WP.h.

G4AntiSigmaMinusInelasticProcess G4MiscLHEPBuilder_WP::theAntiSigmaMinusInelastic
private

Definition at line 134 of file G4MiscLHEPBuilder_WP.h.

G4AntiSigmaPlusInelasticProcess G4MiscLHEPBuilder_WP::theAntiSigmaPlusInelastic
private

Definition at line 144 of file G4MiscLHEPBuilder_WP.h.

G4AntiXiMinusInelasticProcess G4MiscLHEPBuilder_WP::theAntiXiMinusInelastic
private

Definition at line 164 of file G4MiscLHEPBuilder_WP.h.

G4AntiXiZeroInelasticProcess G4MiscLHEPBuilder_WP::theAntiXiZeroInelastic
private

Definition at line 154 of file G4MiscLHEPBuilder_WP.h.

G4LambdaInelasticProcess G4MiscLHEPBuilder_WP::theLambdaInelastic
private

Definition at line 119 of file G4MiscLHEPBuilder_WP.h.

G4OmegaMinusInelasticProcess G4MiscLHEPBuilder_WP::theOmegaMinusInelastic
private

Definition at line 169 of file G4MiscLHEPBuilder_WP.h.

G4SigmaMinusInelasticProcess G4MiscLHEPBuilder_WP::theSigmaMinusInelastic
private

Definition at line 129 of file G4MiscLHEPBuilder_WP.h.

G4SigmaPlusInelasticProcess G4MiscLHEPBuilder_WP::theSigmaPlusInelastic
private

Definition at line 139 of file G4MiscLHEPBuilder_WP.h.

GflashHadronWrapperProcess* G4MiscLHEPBuilder_WP::theWrappedAntiProtonInelastic
private

Definition at line 111 of file G4MiscLHEPBuilder_WP.h.

Referenced by G4MiscLHEPBuilder_WP().

G4XiMinusInelasticProcess G4MiscLHEPBuilder_WP::theXiMinusInelastic
private

Definition at line 159 of file G4MiscLHEPBuilder_WP.h.

G4XiZeroInelasticProcess G4MiscLHEPBuilder_WP::theXiZeroInelastic
private

Definition at line 149 of file G4MiscLHEPBuilder_WP.h.

G4bool G4MiscLHEPBuilder_WP::wasActivated
private

Definition at line 178 of file G4MiscLHEPBuilder_WP.h.

Referenced by Build().