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

FastShower::HadLateHcalNormaliser Class Reference

#include <HadLateHcalNormaliser.h>

Inheritance diagram for FastShower::HadLateHcalNormaliser:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 HadLateHcalNormaliser (const IConfigurer *, const std::string &)
 ~HadLateHcalNormaliser ()
virtual INormaliserclone () const
 Implementation of the INormaliser interface.

virtual void scale (Normalisations &, const ParticleParameters &) const
virtual void components (IDebug::Cpts &) const
 vector of IDebug*


Private Attributes

SP< IFnOfParticleParametersm_coreFraction
SP< IFnOfParticleParametersm_etaResponse

Constructor & Destructor Documentation

FastShower::HadLateHcalNormaliser::HadLateHcalNormaliser const IConfigurer  ,
const std::string &   
 

Definition at line 13 of file HadLateHcalNormaliser.cxx.

References FastShower::IConfigurer::findFnPP(), m_coreFraction, m_etaResponse, and FastShower::DebugBase::text().

Referenced by clone().

00014                                                                    :
00015     INormaliser(), DebugBase(s){
00016     m_etaResponse = c->findFnPP("HcalEtaResponse");
00017     m_coreFraction = c->findFnPP("HcalCoreFraction");
00018     cout<<text()<<": finishing construction"<<endl;
00019   }
  //

FastShower::HadLateHcalNormaliser::~HadLateHcalNormaliser  
 

Definition at line 21 of file HadLateHcalNormaliser.cxx.

References m_etaResponse.

00021                                                {
00022     delete m_etaResponse;
00023   }

Member Function Documentation

INormaliser * FastShower::HadLateHcalNormaliser::clone   const [virtual]
 

Implementation of the INormaliser interface.

Implements FastShower::INormaliser.

Definition at line 25 of file HadLateHcalNormaliser.cxx.

References HadLateHcalNormaliser().

00025                                                  {
00026     return  new HadLateHcalNormaliser(*this);
00027   }

void FastShower::HadLateHcalNormaliser::scale Normalisations  ,
const ParticleParameters  
const [virtual]
 

Implements FastShower::INormaliser.

Definition at line 29 of file HadLateHcalNormaliser.cxx.

References m_coreFraction, m_etaResponse, FastShower::Normalisations::scaleCore(), and FastShower::Normalisations::scaleHalo().

00030                                                                         {
00031     double coreFrac = m_coreFraction->value(pp);
00032     double haloFrac = 1 - coreFrac;
00033 
00034     double etaResponse = m_etaResponse->value(pp);
00035 
00036     n.scaleCore(coreFrac*etaResponse);
00037     n.scaleHalo(haloFrac*etaResponse);
00038   }

void FastShower::HadLateHcalNormaliser::components IDebug::Cpts   const [virtual]
 

vector of IDebug*

Reimplemented from FastShower::DebugBase.

Definition at line 40 of file HadLateHcalNormaliser.cxx.

References m_coreFraction, and m_etaResponse.

00040                                                            {
00041     v.push_back(m_coreFraction);
00042     v.push_back(m_etaResponse);
00043   }

Member Data Documentation

SP<IFnOfParticleParameters> FastShower::HadLateHcalNormaliser::m_coreFraction [private]
 

Definition at line 39 of file HadLateHcalNormaliser.h.

Referenced by components(), HadLateHcalNormaliser(), and scale().

SP<IFnOfParticleParameters> FastShower::HadLateHcalNormaliser::m_etaResponse [private]
 

Definition at line 40 of file HadLateHcalNormaliser.h.

Referenced by components(), HadLateHcalNormaliser(), scale(), and ~HadLateHcalNormaliser().


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