NullModel Class Reference

#include <NullModel.h>

Inheritance diagram for NullModel:
ProcessModel

List of all members.

Public Member Functions

 NullModel ()
 NullModel (const Material &material)
 ~NullModel ()
double dE_dx (double E) const
ValidityRange_t ValidityRange (void) const

Detailed Description

________________________________________________________________________________________

Id
NullModel.cxx,v 1.1 2004/01/05 16:11:13 costas Exp

________________________________________________________________________________________

Id
NullModel.h,v 1.1 2004/01/05 16:11:13 costas Exp

Definition at line 20 of file NullModel.h.


Constructor & Destructor Documentation

NullModel::NullModel (  ) 

Definition at line 20 of file NullModel.cxx.

00020                      :
00021 ProcessModel()
00022 {
00023 
00024 }
//_________________________________________________________________________________________

NullModel::NullModel ( const Material material  ) 

Definition at line 26 of file NullModel.cxx.

00026                                               :
00027 ProcessModel(material, Process::eAll)
00028 {
00029 
00030 }
//_________________________________________________________________________________________

NullModel::~NullModel (  ) 

Definition at line 32 of file NullModel.cxx.

00033 {
00034 
00035 }


Member Function Documentation

double NullModel::dE_dx ( double  E  )  const [virtual]

Implements ProcessModel.

Definition at line 47 of file NullModel.cxx.

00048 {
00049    return 0;
00050 }

ValidityRange_t NullModel::ValidityRange ( void   )  const [virtual]

Implements ProcessModel.

Definition at line 37 of file NullModel.cxx.

References ValidityRange::Emax, and ValidityRange::Emin.

00038 {
00039   ValidityRange_t validity_range;
00040   
00041   validity_range.Emin = 0;
00042   validity_range.Emax = 10000000.; // MeV
00043 
00044   return validity_range;
00045 }


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1