Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::SoftPhotonEcSelConfig Class Reference

#include <SoftPhotonEcSelConfig.h>

Inheritance diagram for FastShower::SoftPhotonEcSelConfig:

Inheritance graph
[legend]
Collaboration diagram for FastShower::SoftPhotonEcSelConfig:

Collaboration graph
[legend]
List of all members.

Public Methods

 SoftPhotonEcSelConfig (Moni &)
 SoftPhotonEcSelConfig (NoMoni &)
virtual IAcceptoracceptor () const
virtual IFnOfParticleParameters2ehSharer () const
virtual IFnOfParticleParametersresolution () const
virtual IShowerershowerer () const
virtual std::map< double,
std::string > 
histograms () const
virtual ~SoftPhotonEcSelConfig ()

Private Attributes

IConfigurerm_configurer

Constructor & Destructor Documentation

FastShower::SoftPhotonEcSelConfig::SoftPhotonEcSelConfig Moni  
 

Definition at line 12 of file SoftPhotonEcSelConfig.cxx.

00012                                                      :
00013     m_configurer( new SoftPhotonEcConfigurer(m) ){
00014   }

FastShower::SoftPhotonEcSelConfig::SoftPhotonEcSelConfig NoMoni  
 

Definition at line 16 of file SoftPhotonEcSelConfig.cxx.

00016                                                        :
00017     m_configurer( new SoftPhotonEcConfigurer(m) ){
00018   }

FastShower::SoftPhotonEcSelConfig::~SoftPhotonEcSelConfig   [virtual]
 

Definition at line 20 of file SoftPhotonEcSelConfig.cxx.

References m_configurer.

00020                                                {
00021     delete m_configurer;
00022   }

Member Function Documentation

IAcceptor * FastShower::SoftPhotonEcSelConfig::acceptor   const [virtual]
 

Implements FastShower::ISingleShowererSelectorConfig.

Definition at line 24 of file SoftPhotonEcSelConfig.cxx.

00024                                                    {
00025     return new SoftPhotonEcAcceptor();
00026   }

IFnOfParticleParameters2 * FastShower::SoftPhotonEcSelConfig::ehSharer   const [virtual]
 

Implements FastShower::ISingleShowererSelectorConfig.

Definition at line 27 of file SoftPhotonEcSelConfig.cxx.

00027                                                                   {
00028     return new EmHcalLeakageEc();
00029   }

IFnOfParticleParameters * FastShower::SoftPhotonEcSelConfig::resolution   const [virtual]
 

Implements FastShower::ISingleShowererSelectorConfig.

Definition at line 30 of file SoftPhotonEcSelConfig.cxx.

00030                                                                    {
00031     return new SmearSoftPhotonEc(this,"SmearSoftPhotonEc");
00032   }

IShowerer * FastShower::SoftPhotonEcSelConfig::showerer   const [virtual]
 

Implements FastShower::ISingleShowererSelectorConfig.

Definition at line 34 of file SoftPhotonEcSelConfig.cxx.

References m_configurer, and FastShower::IConfigurer::makeShowerer().

00034                                                    {
00035     return m_configurer->makeShowerer("SoftPhotonEcShowerer");
00036   }

std::map< double, std::string > FastShower::SoftPhotonEcSelConfig::histograms   const [virtual]
 

Implements FastShower::ISingleShowererSelectorConfig.

Definition at line 38 of file SoftPhotonEcSelConfig.cxx.

00038                                                                    {
00039     std::map<double,std::string> hists;
00040     double ePoint[5] = {0.2, 0.3, 0.4, 0.5, 1.0};
00041     std::string iFile[5] = {"FastShowerHistograms/hist7101",
00042                             "FastShowerHistograms/hist7102",
00043                             "FastShowerHistograms/hist7103",
00044                             "FastShowerHistograms/hist7104",
00045                             "FastShowerHistograms/hist7105"};
00046     for (int i=0; i<5; ++i){
00047       hists[ePoint[i]] = iFile[i];
00048     }
00049     return hists;
00050   }

Member Data Documentation

IConfigurer* FastShower::SoftPhotonEcSelConfig::m_configurer [private]
 

Definition at line 36 of file SoftPhotonEcSelConfig.h.

Referenced by showerer(), and ~SoftPhotonEcSelConfig().


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:58:34 2003 for FastShowerUtils by doxygen1.3-rc1