#include <HadLateHcalNormaliser.h>
Inheritance diagram for FastShower::HadLateHcalNormaliser:
Public Methods | |
HadLateHcalNormaliser (const IConfigurer *, const std::string &) | |
~HadLateHcalNormaliser () | |
virtual INormaliser * | clone () 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< IFnOfParticleParameters > | m_coreFraction |
SP< IFnOfParticleParameters > | m_etaResponse |
|
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 } // |
|
Definition at line 21 of file HadLateHcalNormaliser.cxx. References m_etaResponse.
00021 { 00022 delete m_etaResponse; 00023 } |
|
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 } |
|
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 } |
|
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 } |
|
Definition at line 39 of file HadLateHcalNormaliser.h. Referenced by components(), HadLateHcalNormaliser(), and scale(). |
|
Definition at line 40 of file HadLateHcalNormaliser.h. Referenced by components(), HadLateHcalNormaliser(), scale(), and ~HadLateHcalNormaliser(). |