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