#include <SoftPhotonBarConfigurer.h>
Inheritance diagram for FastShower::SoftPhotonBarConfigurer:
Public Methods | |
SoftPhotonBarConfigurer (Moni) | |
SoftPhotonBarConfigurer (NoMoni) | |
~SoftPhotonBarConfigurer () | |
Private Methods | |
SoftPhotonBarConfigurer | operator= (const SoftPhotonBarConfigurer &) |
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 69 of file SoftPhotonBarConfigurer.cxx. References initialise().
00069 : 00070 ConfigurerBase(m){ 00071 this->initialise(); 00072 } SoftPhotonBarConfigurer::SoftPhotonBarConfigurer(NoMoni nm): |
|
Definition at line 73 of file SoftPhotonBarConfigurer.cxx. References initialise().
00073 : 00074 ConfigurerBase(nm){ 00075 this->initialise(); 00076 } void SoftPhotonBarConfigurer::initialise(){ |
|
Definition at line 36 of file SoftPhotonBarConfigurer.h.
00036 {}; |
|
|
|
methods to return pointers that are built from things already built using this configurer.
Definition at line 153 of file SoftPhotonBarConfigurer.cxx.
00153 { 00154 00155 std::vector< std::pair<double, ISampler*> > v; 00156 v.push_back(std::pair<double, ISampler*>(0.50, this->findSampler("SN1"))); 00157 v.push_back(std::pair<double, ISampler*>(0.95, this->findSampler("SN2"))); 00158 v.push_back(std::pair<double, ISampler*>(1.00, this->findSampler("SN3"))); 00159 //return new SamplerRouterC0Sample(v, 0.0, "SNRouter"); 00160 return new SNSamplerRouterC0Sample(v, 0.0, "SNRouter"); 00161 00162 } |
|
Definition at line 164 of file SoftPhotonBarConfigurer.cxx.
00164 { 00165 00166 std::vector< std::pair<double, ISampler*> > v; 00167 v.push_back(std::pair<double, ISampler*>(0.05, this->findSampler("AN1"))); 00168 v.push_back(std::pair<double, ISampler*>(1.00, this->findSampler("AN2"))); 00169 //return new SamplerRouterSNSample(v, 0.0, "ANRouter"); 00170 return new ANSamplerRouterSNSample(v, 0.0, "ANRouter"); 00171 00172 } |
|
Definition at line 174 of file SoftPhotonBarConfigurer.cxx. References FastShower::ConfigurerBase::addEdepositor(), and FastShower::ConfigurerBase::findSampler(). Referenced by initialise().
00174 { 00175 00176 this->addEdepositor( "ECalCore", 00177 new CoreDepositor( 00178 this->findSampler("S0"), 00179 this->findSampler("C0"), 00180 this->findSampler("SN"), 00181 this->findSampler("AN") 00182 ) 00183 ); 00184 00185 } |
|
Definition at line 187 of file SoftPhotonBarConfigurer.cxx. References FastShower::ConfigurerBase::addHdepositor(). Referenced by initialise().
00187 { 00188 00189 this->addHdepositor( "HCalPencil", new PencilDepositor); 00190 00191 } |
|
Definition at line 193 of file SoftPhotonBarConfigurer.cxx. References FastShower::ConfigurerBase::addNormaliser(). Referenced by initialise().
00193 { 00194 this->addNormaliser("EcalNormaliser", 00195 new EmEcalNormaliser(this,"SoftPhotonBarEcalNormaliser")); 00196 this->addNormaliser("HcalNormaliser", 00197 new EmHcalNormaliser(this,"SoftPhotonBarHcalNormaliser")); 00198 } |
|
Definition at line 77 of file SoftPhotonBarConfigurer.cxx. References addDepositorsE(), addDepositorsH(), FastShower::ConfigurerBase::addFn(), FastShower::ConfigurerBase::addFnPP(), FastShower::ConfigurerBase::addFnPP2(), FastShower::ConfigurerBase::addIUG(), FastShower::ConfigurerBase::addSampler(), and normalisers(). Referenced by SoftPhotonBarConfigurer().
00077 { 00078 //S0 00079 this->addFn("S0PeakMean", new PeakMeanS0EmEcalBar1); 00080 this->addFn("S0PeakSigma", new PeakSigmaS0EmEcalBar1); 00081 this->addFn("S0TailFrac", new TailFracS0EmEcalBar1); 00082 this->addFn("S0TailLowerBound", new TailAuxS0EmEcalBar1); 00083 //C0 00084 this->addFn("C0PeakMean", new PeakMeanC0EmEcalBar1); 00085 this->addFn("C0PeakSigma", new PeakSigmaC0EmEcalBar1); 00086 this->addFn("C0TailFrac", new TailFracC0EmEcalBar1); 00087 this->addFn("C0TailLowerBound", new TailAuxC0EmEcalBar1); 00088 //SN1 00089 this->addFn("SN1PeakMean", new PeakMeanSNEmEcalBar1); 00090 this->addFn("SN1PeakSigma", new PeakSigmaSNEmEcalBar1); 00091 this->addFn("SN1TailFrac", new TailFracSNEmEcalBar1); 00092 this->addFn("SN1TailLowerBound", new TailAuxSNEmEcalBar1); 00093 //SN2 - uses SN1 functions for mean and sigma 00094 this->addFn("SN2PeakMean", new PeakMeanSNEmEcalBar1); 00095 this->addFn("SN2PeakSigma", new PeakSigmaSNEmEcalBar1); 00096 this->addFn("SN2TailFrac", new TailFracSNEmEcalBar2); 00097 this->addFn("SN2TailLowerBound", new TailAuxSNEmEcalBar2); 00098 //SN3 - uses SN1 functions for mean and sigma 00099 this->addFn("SN3PeakMean", new PeakMeanSNEmEcalBar1); 00100 this->addFn("SN3PeakSigma", new PeakSigmaSNEmEcalBar1); 00101 //AN1 00102 this->addFn("AN1PeakMean", new PeakMeanANEmEcalBar1); 00103 this->addFn("AN1PeakSigma", new PeakSigmaANEmEcalBar1); 00104 //AN2 00105 this->addFn("AN2PeakMean", new PeakMeanANEmEcalBar2); 00106 this->addFn("AN2PeakSigma", new PeakSigmaANEmEcalBar2); 00107 // 00108 //******************************************************* 00109 //* Functions for Normalisers * 00110 //******************************************************* 00111 this->addFnPP("EtaResponse", new EmEtaResponse); 00112 //******************************************************* 00113 //* Functions2 for Normalisers * 00114 //******************************************************* 00115 this->addFnPP2("E/HcalFractions", new EmHcalLeakageBar); 00116 // 00117 //******************************************************* 00118 //* IUpdating Gaussians (Peaks for Samplers) * 00119 //******************************************************* 00120 this->addIUG("S0Peak", this->makeUpdatingGaussian0LP("S0") ); 00121 this->addIUG("C0Peak", this->makeUpdatingGaussian0LP("C0") ); 00122 this->addIUG("SN1Peak", this->makeUpdatingGaussian0LP("SN1") ); 00123 this->addIUG("SN2Peak", this->makeUpdatingGaussian0LP("SN2") ); 00124 this->addIUG("SN3Peak", this->makeUpdatingGaussian0LP("SN3") ); 00125 this->addIUG("AN1Peak", this->makeUpdatingGaussian0LP("AN1") ); 00126 this->addIUG("AN2Peak", this->makeUpdatingGaussian0LP("AN2") ); 00127 // 00128 //******************************************************* 00129 //* Samplers * 00130 //******************************************************* 00131 this->addSampler("S0", new S0EmEcalBar1(this, "") ); 00132 this->addSampler("C0", new C0EmEcalBar1(this, "") ); 00133 this->addSampler("SN1", new SNEmEcalBar1(this, "") ); 00134 this->addSampler("SN2", new SNEmEcalBar2(this, "") ); 00135 this->addSampler("SN3", new SNEmEcalBar3(this, "") ); 00136 this->addSampler("AN1", new ANEmEcalBar1(this, "") ); 00137 this->addSampler("AN2", new ANEmEcalBar2(this, "") ); 00138 this->addSampler("SN", this->makeSN() ); 00139 this->addSampler("AN", this->makeAN() ); 00140 // 00141 //******************************************************* 00142 //* Depositors * 00143 //******************************************************* 00144 this->addDepositorsE(); 00145 this->addDepositorsH(); 00146 //******************************************************* 00147 //* Normalisers * 00148 //******************************************************* 00149 this->normalisers(); 00150 } |