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

FastShower::HadEcSelConfig Class Reference

#include <HadEcSelConfig.h>

Inheritance diagram for FastShower::HadEcSelConfig:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 HadEcSelConfig (Moni &)
 HadEcSelConfig (NoMoni &)
virtual IAcceptoracceptor () const
virtual IFnOfParticleParameters2ehSharer () const
virtual IShowerersoftShowerer () const
virtual IShowererlateShowerer () const
virtual IShowererearlyShowerer () const
virtual std::map< double,
std::string > 
histograms () const
 ~HadEcSelConfig ()

Private Attributes

IConfigurerm_softConfigurer
IConfigurerm_lateConfigurer
IConfigurerm_earlyConfigurer

Constructor & Destructor Documentation

FastShower::HadEcSelConfig::HadEcSelConfig Moni  
 

Definition at line 12 of file HadEcSelConfig.cxx.

00012                                        :
00013     m_softConfigurer(new SoftHadEcConfigurer(m)),
00014     m_lateConfigurer(new HadLateEcConfigurer(m)),
00015     m_earlyConfigurer(new HadEarlyEcConfigurer(m)){
00016   }

FastShower::HadEcSelConfig::HadEcSelConfig NoMoni  
 

Definition at line 18 of file HadEcSelConfig.cxx.

00018                                          :
00019     m_softConfigurer(new SoftHadEcConfigurer(m)),
00020     m_lateConfigurer(new HadLateEcConfigurer(m)),
00021     m_earlyConfigurer(new HadEarlyEcConfigurer(m)){
00022   }

FastShower::HadEcSelConfig::~HadEcSelConfig  
 

Definition at line 24 of file HadEcSelConfig.cxx.

References m_earlyConfigurer, m_lateConfigurer, and m_softConfigurer.

00024                                  {
00025     delete m_softConfigurer;
00026     delete m_lateConfigurer;
00027     delete m_earlyConfigurer;
00028   }

Member Function Documentation

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

Implements FastShower::ITripleShowererSelectorConfig.

Definition at line 29 of file HadEcSelConfig.cxx.

00029                                             {
00030     return new HadronEcAcceptor();
00031   }

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

Implements FastShower::ITripleShowererSelectorConfig.

Definition at line 32 of file HadEcSelConfig.cxx.

00032                                                            {
00033     return new HadEcalHcalSharesEc(this,"HadEcalHcalSharesEc");
00034   }

IShowerer * FastShower::HadEcSelConfig::softShowerer   const [virtual]
 

Implements FastShower::ITripleShowererSelectorConfig.

Definition at line 36 of file HadEcSelConfig.cxx.

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

00036                                                 {
00037     return m_softConfigurer->makeShowerer("softEcShowerer");
00038   }

IShowerer * FastShower::HadEcSelConfig::lateShowerer   const [virtual]
 

Implements FastShower::ITripleShowererSelectorConfig.

Definition at line 39 of file HadEcSelConfig.cxx.

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

00039                                                 {
00040     return m_lateConfigurer->makeShowerer("LateEcShowerer");
00041   }

IShowerer * FastShower::HadEcSelConfig::earlyShowerer   const [virtual]
 

Implements FastShower::ITripleShowererSelectorConfig.

Definition at line 42 of file HadEcSelConfig.cxx.

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

00042                                                  {
00043     return m_earlyConfigurer->makeShowerer("EarlyEcShowerer");
00044   }

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

Implements FastShower::ITripleShowererSelectorConfig.

Definition at line 46 of file HadEcSelConfig.cxx.

00046                                                             {
00047     std::map<double,std::string> hists;
00048     double ePoint[10] = {0.2, 0.3, 0.4, 0.5, 1.0, 2.0, 5.0, 10.0, 20.0, 50.0};
00049     std::string iFile[10] = {"FastShowerHistograms/hist7001",
00050                              "FastShowerHistograms/hist7002",
00051                              "FastShowerHistograms/hist7003",
00052                              "FastShowerHistograms/hist7004",
00053                              "FastShowerHistograms/hist7005",
00054                              "FastShowerHistograms/hist7006",
00055                              "FastShowerHistograms/hist7007",
00056                              "FastShowerHistograms/hist7008",
00057                              "FastShowerHistograms/hist7009",
00058                              "FastShowerHistograms/hist7010"};
00059     for (int i=0; i<10; ++i){
00060       hists[ePoint[i]] = iFile[i];
00061     }
00062     return hists;
00063   }

Member Data Documentation

IConfigurer* FastShower::HadEcSelConfig::m_softConfigurer [private]
 

Definition at line 41 of file HadEcSelConfig.h.

Referenced by softShowerer(), and ~HadEcSelConfig().

IConfigurer* FastShower::HadEcSelConfig::m_lateConfigurer [private]
 

Definition at line 42 of file HadEcSelConfig.h.

Referenced by lateShowerer(), and ~HadEcSelConfig().

IConfigurer* FastShower::HadEcSelConfig::m_earlyConfigurer [private]
 

Definition at line 43 of file HadEcSelConfig.h.

Referenced by earlyShowerer(), and ~HadEcSelConfig().


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