All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
wcls::bits::ElectronsAdapter Class Reference
Inheritance diagram for wcls::bits::ElectronsAdapter:
wcls::bits::DepoAdapter wcls::SimDepoSetSource::DepoAdapter

Public Member Functions

 ElectronsAdapter (double scale=1.0)
 
virtual ~ElectronsAdapter ()
 
virtual double operator() (const sim::SimEnergyDeposit &sed) const
 
 ElectronsAdapter (double scale=1.0)
 
virtual ~ElectronsAdapter ()
 
virtual double operator() (const sim::SimEnergyDeposit &sed) const
 
- Public Member Functions inherited from wcls::bits::DepoAdapter
virtual ~DepoAdapter ()
 
- Public Member Functions inherited from wcls::SimDepoSetSource::DepoAdapter
virtual ~DepoAdapter ()
 

Private Attributes

double m_scale
 

Detailed Description

Definition at line 41 of file SimDepoSetSource.cxx.

Constructor & Destructor Documentation

wcls::bits::ElectronsAdapter::ElectronsAdapter ( double  scale = 1.0)
inline

Definition at line 44 of file SimDepoSetSource.cxx.

44 : m_scale(scale) {}
virtual wcls::bits::ElectronsAdapter::~ElectronsAdapter ( )
inlinevirtual

Definition at line 45 of file SimDepoSetSource.cxx.

45 {};
wcls::bits::ElectronsAdapter::ElectronsAdapter ( double  scale = 1.0)
inline

Definition at line 45 of file SimDepoSource.cxx.

45 : m_scale(scale) {}
virtual wcls::bits::ElectronsAdapter::~ElectronsAdapter ( )
inlinevirtual

Definition at line 46 of file SimDepoSource.cxx.

46 {};

Member Function Documentation

virtual double wcls::bits::ElectronsAdapter::operator() ( const sim::SimEnergyDeposit sed) const
inlinevirtual

Implements wcls::SimDepoSetSource::DepoAdapter.

Definition at line 46 of file SimDepoSetSource.cxx.

46  {
47  return m_scale * sed.NumElectrons();
48  }
virtual double wcls::bits::ElectronsAdapter::operator() ( const sim::SimEnergyDeposit sed) const
inlinevirtual

Implements wcls::SimDepoSetSource::DepoAdapter.

Definition at line 47 of file SimDepoSource.cxx.

47  {
48  return m_scale * sed.NumElectrons();
49  }

Member Data Documentation

double wcls::bits::ElectronsAdapter::m_scale
private

Definition at line 42 of file SimDepoSetSource.cxx.


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