#include <HadEarlyEcalNormaliser.h>
Inheritance diagram for FastShower::HadEarlyEcalNormaliser:
Public Methods | |
HadEarlyEcalNormaliser (const IConfigurer *, const std::string &) | |
~HadEarlyEcalNormaliser () | |
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 HadEarlyEcalNormaliser.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("EcalEtaResponse"); 00017 m_coreFraction = c->findFnPP("EcalCoreFraction"); 00018 cout<<text()<<": finishing construction"<<endl; 00019 } // |
|
Definition at line 21 of file HadEarlyEcalNormaliser.cxx. References m_etaResponse.
00021 { 00022 delete m_etaResponse; 00023 } |
|
Implementation of the INormaliser interface.
Implements FastShower::INormaliser. Definition at line 25 of file HadEarlyEcalNormaliser.cxx. References HadEarlyEcalNormaliser().
00025 { 00026 return new HadEarlyEcalNormaliser(*this); 00027 } |
|
Implements FastShower::INormaliser. Definition at line 29 of file HadEarlyEcalNormaliser.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 //cout<<"*** "<<text()<<": core/haloFrac = "<<coreFrac<<" / "<<haloFrac<<endl; 00034 //cout<<"*** "<<text()<<": etaResponse = "<<m_etaResponse->value(pp)<<endl; 00035 n.scaleCore(coreFrac*m_etaResponse->value(pp)); 00036 n.scaleHalo(haloFrac*m_etaResponse->value(pp)); 00037 } |
|
vector of IDebug*
Reimplemented from FastShower::DebugBase. Definition at line 39 of file HadEarlyEcalNormaliser.cxx. References m_coreFraction, and m_etaResponse.
00039 { 00040 v.push_back(m_coreFraction); 00041 v.push_back(m_etaResponse); 00042 } |
|
Definition at line 39 of file HadEarlyEcalNormaliser.h. Referenced by components(), HadEarlyEcalNormaliser(), and scale(). |
|
Definition at line 40 of file HadEarlyEcalNormaliser.h. Referenced by components(), HadEarlyEcalNormaliser(), scale(), and ~HadEarlyEcalNormaliser(). |