#include <HardPhotonEcConfigurer.h>
Inheritance diagram for FastShower::HardPhotonEcConfigurer:
Public Methods | |
HardPhotonEcConfigurer (Moni) | |
HardPhotonEcConfigurer (NoMoni) | |
~HardPhotonEcConfigurer () | |
Private Methods | |
HardPhotonEcConfigurer | operator= (const HardPhotonEcConfigurer &) |
ISampler * | makeSN () const |
methods to return pointers that are built from things already built using this configurer. | |
ISampler * | makeAN () const |
void | addDepositorsE () |
void | addDepositorsH () |
void | normalisers () |
void | initialise () |
|
Definition at line 66 of file HardPhotonEcConfigurer.cxx. References initialise().
00066 :ConfigurerBase(m){ 00067 this->initialise(); 00068 } |
|
Definition at line 69 of file HardPhotonEcConfigurer.cxx. References initialise().
00069 :ConfigurerBase(nm){ 00070 this->initialise(); 00071 } |
|
Definition at line 36 of file HardPhotonEcConfigurer.h.
00036 {}; |
|
|
|
methods to return pointers that are built from things already built using this configurer.
Definition at line 146 of file HardPhotonEcConfigurer.cxx.
00146 { 00147 00148 std::vector< std::pair<double, ISampler*> > v; 00149 v.push_back(std::pair<double, ISampler*>(0.50, this->findSampler("SN1"))); 00150 v.push_back(std::pair<double, ISampler*>(0.95, this->findSampler("SN2"))); 00151 v.push_back(std::pair<double, ISampler*>(1.00, this->findSampler("SN3"))); 00152 //return new SamplerRouterC0Sample(v, 0.0, "SNRouter"); 00153 return new SNSamplerRouterC0Sample(v, 0.0, "SNRouter"); 00154 00155 } |
|
Definition at line 157 of file HardPhotonEcConfigurer.cxx.
00157 { 00158 00159 std::vector< std::pair<double, ISampler*> > v; 00160 v.push_back(std::pair<double, ISampler*>(0.05, this->findSampler("AN1"))); 00161 v.push_back(std::pair<double, ISampler*>(1.00, this->findSampler("AN2"))); 00162 //return new SamplerRouterSNSample(v, 0.0, "ANRouter"); 00163 return new ANSamplerRouterSNSample(v, 0.0, "ANRouter"); 00164 00165 } |
|
Definition at line 167 of file HardPhotonEcConfigurer.cxx. References FastShower::ConfigurerBase::addEdepositor(), and FastShower::ConfigurerBase::findSampler(). Referenced by initialise().
00167 { 00168 00169 this->addEdepositor( "EcalCore", 00170 new CoreDepositor( 00171 this->findSampler("S0"), 00172 this->findSampler("C0"), 00173 this->findSampler("SN"), 00174 this->findSampler("AN") 00175 ) 00176 ); 00177 00178 } |
|
Definition at line 180 of file HardPhotonEcConfigurer.cxx. References FastShower::ConfigurerBase::addHdepositor(). Referenced by initialise().
00180 { 00181 00182 this->addHdepositor( "HCalPencil", new PencilDepositor); 00183 00184 } |
|
Definition at line 186 of file HardPhotonEcConfigurer.cxx. References FastShower::ConfigurerBase::addNormaliser(). Referenced by initialise().
00186 { 00187 this->addNormaliser("EcalNormaliser", 00188 new EmEcalNormaliser(this,"HardPhotonEcEcalNormaliser")); 00189 this->addNormaliser("HcalNormaliser", 00190 new EmHcalNormaliser(this,"HardPhotonEcHcalNormaliser")); 00191 } |
|
Definition at line 72 of file HardPhotonEcConfigurer.cxx. References addDepositorsE(), addDepositorsH(), FastShower::ConfigurerBase::addFn(), FastShower::ConfigurerBase::addFnPP(), FastShower::ConfigurerBase::addFnPP2(), FastShower::ConfigurerBase::addIUG(), FastShower::ConfigurerBase::addSampler(), and normalisers(). Referenced by HardPhotonEcConfigurer().
00072 { 00073 //Slice0 00074 this->addFn("S0PeakMean", new PeakMeanS0EmEcalEc1); 00075 this->addFn("S0PeakSigma", new PeakSigmaS0EmEcalEc1); 00076 this->addFn("S0TailFrac", new TailFracS0EmEcalEc1); 00077 this->addFn("S0TailLowerBound", new TailAuxS0EmEcalEc1); 00078 //Cell0 00079 this->addFn("C0PeakMean", new PeakMeanC0EmEcalEc1); 00080 this->addFn("C0PeakSigma", new PeakSigmaC0EmEcalEc1); 00081 this->addFn("C0TailFrac", new TailFracC0EmEcalEc1); 00082 this->addFn("C0TailLowerBound", new TailAuxC0EmEcalEc1); 00083 //SN1 00084 this->addFn("SN1PeakMean", new PeakMeanSNEmEcalEc1); 00085 this->addFn("SN1PeakSigma", new PeakSigmaSNEmEcalEc1); 00086 this->addFn("SN1TailFrac", new TailFracSNEmEcalEc1); 00087 //SN2 - uses SN1 functions for mean and sigma 00088 this->addFn("SN2PeakMean", new PeakMeanSNEmEcalEc1); 00089 this->addFn("SN2PeakSigma", new PeakSigmaSNEmEcalEc1); 00090 this->addFn("SN2TailFrac", new TailFracSNEmEcalEc2); 00091 //SN3 - uses SN1 functions for mean and sigma 00092 this->addFn("SN3PeakMean", new PeakMeanSNEmEcalEc1); 00093 this->addFn("SN3PeakSigma", new PeakSigmaSNEmEcalEc1); 00094 //AN1 00095 this->addFn("AN1PeakMean", new PeakMeanANEmEcalEc1); 00096 this->addFn("AN1PeakSigma", new PeakSigmaANEmEcalEc1); 00097 //AN2 00098 this->addFn("AN2PeakMean", new PeakMeanANEmEcalEc2); 00099 this->addFn("AN2PeakSigma", new PeakSigmaANEmEcalEc2); 00100 // 00101 //******************************************************* 00102 //* Functions for Normalisers * 00103 //******************************************************* 00104 this->addFnPP("EtaResponse", new EmEtaResponse); 00105 //******************************************************* 00106 //* Functions2 for Normalisers * 00107 //******************************************************* 00108 this->addFnPP2("E/HcalFractions", new EmHcalLeakageEc); 00109 // 00110 //******************************************************* 00111 //* IUpdating Gaussians (Peaks for Samplers) * 00112 //******************************************************* 00113 this->addIUG("AN1Peak", this->makeUpdatingGaussian0LP("AN1") ); 00114 this->addIUG("AN2Peak", this->makeUpdatingGaussian0LP("AN2") ); 00115 this->addIUG("C0Peak", this->makeUpdatingGaussian0LP("C0") ); 00116 this->addIUG("SN1Peak", this->makeUpdatingGaussian0LP("SN1") ); 00117 this->addIUG("SN2Peak", this->makeUpdatingGaussian0LP("SN2") ); 00118 this->addIUG("SN3Peak", this->makeUpdatingGaussian0LP("SN3") ); 00119 this->addIUG("S0Peak", this->makeUpdatingGaussian0LP("S0") ); 00120 // 00121 //******************************************************* 00122 //* Samplers * 00123 //******************************************************* 00124 this->addSampler("S0", new S0EmEcalEc1(this, "") ); 00125 this->addSampler("C0", new C0EmEcalEc1(this, "") ); 00126 this->addSampler("SN1", new SNEmEcalEc1(this, "") ); 00127 this->addSampler("SN2", new SNEmEcalEc2(this, "") ); 00128 this->addSampler("SN3", new SNEmEcalEc3(this, "") ); 00129 this->addSampler("AN1", new ANEmEcalEc1(this, "") ); 00130 this->addSampler("AN2", new ANEmEcalEc2(this, "") ); 00131 this->addSampler("SN", this->makeSN() ); 00132 this->addSampler("AN", this->makeAN() ); 00133 // 00134 //******************************************************* 00135 //* Depositors * 00136 //******************************************************* 00137 this->addDepositorsE(); 00138 this->addDepositorsH(); 00139 //******************************************************* 00140 //* Normalisers * 00141 //******************************************************* 00142 this->normalisers(); 00143 } |