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