Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DirectElectronPairProduction< T > Class Template Reference

Direct e+e- Pair Production Energy Loss Process. More...

#include <DirectElectronPairProduction.h>

Inheritance diagram for DirectElectronPairProduction< T >:

EnergyLossProcess List of all members.

Public Member Functions

 DirectElectronPairProduction ()
 DirectElectronPairProduction (const Material &material)
 ~DirectElectronPairProduction ()
double dE_dx (double E) const
double Threshold (void) const

Private Attributes

T * fModel

Detailed Description

template<class T>
class DirectElectronPairProduction< T >

Direct e+e- Pair Production Energy Loss Process.

________________________________________________________________________________________

Id
DirectElectronPairProduction.cxx,v 1.3 2005/02/03 11:56:04 tagg Exp

MuELoss

Costas Andreopoulos <C.V.Andreopoulos@rl.ac.uk> CCLRC, Rutherford Lab. December 10, 2003 _________________________________________________________________________________________

Definition at line 22 of file DirectElectronPairProduction.h.


Constructor & Destructor Documentation

template<class T>
DirectElectronPairProduction< T >::DirectElectronPairProduction  ) 
 

Definition at line 25 of file DirectElectronPairProduction.cxx.

00025                                                                                  :
00026 EnergyLossProcess()
00027 {
00028   fModel = new T();
00029 }
//_________________________________________________________________________________________

template<class T>
DirectElectronPairProduction< T >::DirectElectronPairProduction const Material material  ) 
 

Definition at line 32 of file DirectElectronPairProduction.cxx.

References DirectElectronPairProduction< T >::fModel.

00032                                                                                        :
00033 EnergyLossProcess()
00034 {
00035   fModel = new T(material);
00036 
00037   Process::Process_t proc = fModel->ModeledProcess();
00038 
00039   assert( proc == Process::ePairProduction || proc == Process::eAll );
00040 }
//_________________________________________________________________________________________

template<class T>
DirectElectronPairProduction< T >::~DirectElectronPairProduction  ) 
 

Definition at line 42 of file DirectElectronPairProduction.cxx.

00043 {
00044   if (fModel) delete fModel;
00045 }


Member Function Documentation

template<class T>
double DirectElectronPairProduction< T >::dE_dx double  E  )  const [virtual]
 

Implements EnergyLossProcess.

Definition at line 47 of file DirectElectronPairProduction.cxx.

References ValidityRange::Emax, ValidityRange::Emin, DirectElectronPairProduction< T >::fModel, DirectElectronPairProduction< T >::Threshold(), and ValidityRange_t.

00048 {
00049   if(E > Threshold() ) {
00050 
00051      ValidityRange_t vldrange = fModel->ValidityRange();
00052 
00053      if(E >= vldrange.Emin && E <= vldrange.Emax)  return fModel->dE_dx(E);
00054   }
00055 
00056   return 0;
00057 }

template<class T>
double DirectElectronPairProduction< T >::Threshold void   )  const [inline, virtual]
 

Implements EnergyLossProcess.

Definition at line 30 of file DirectElectronPairProduction.h.

Referenced by DirectElectronPairProduction< T >::dE_dx().

00030 { return MuELoss::Mm+2*MuELoss::Me; }


Member Data Documentation

template<class T>
T* DirectElectronPairProduction< T >::fModel [private]
 

Definition at line 34 of file DirectElectronPairProduction.h.

Referenced by DirectElectronPairProduction< T >::dE_dx(), and DirectElectronPairProduction< T >::DirectElectronPairProduction().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:08 2010 for loon by  doxygen 1.3.9.1