#include <HadLateBarConfigurer.h>
Inheritance diagram for FastShower::HadLateBarConfigurer:
Public Methods | |
HadLateBarConfigurer (Moni) | |
HadLateBarConfigurer (NoMoni) | |
~HadLateBarConfigurer () | |
Private Methods | |
HadLateBarConfigurer | operator= (const HadLateBarConfigurer &) |
ISampler * | makeC0 () const |
methods to return pointers that are built from things already built using this configurer. | |
ISampler * | makeSN () const |
ISampler * | makeAN () const |
void | addDepositorsE () |
void | addDepositorsH () |
void | normalisers () |
void | initialise () |
|
Definition at line 84 of file HadLateBarConfigurer.cxx. References initialise().
00084 :ConfigurerBase(m){ 00085 this->initialise(); 00086 } |
|
Definition at line 87 of file HadLateBarConfigurer.cxx. References initialise().
00087 :ConfigurerBase(nm){ 00088 this->initialise(); 00089 } |
|
Definition at line 36 of file HadLateBarConfigurer.h.
00036 {}; |
|
|
|
methods to return pointers that are built from things already built using this configurer.
Definition at line 183 of file HadLateBarConfigurer.cxx.
00183 { 00184 00185 std::vector< std::pair<double, ISampler*> > vr; 00186 vr.push_back(std::pair<double, ISampler*>(0.5, this->findSampler("C021"))); 00187 vr.push_back(std::pair<double, ISampler*>(1.0, this->findSampler("C022"))); 00188 //ISampler* rndmSampler = new SamplerRouterRndmSample(vr, 0.0, "C02Router"); 00189 ISampler* rndmSampler = new C0SamplerRouterRandomSample(vr, 0.0, "C02Router"); 00190 00191 std::vector< std::pair<double, ISampler*> > v; 00192 v.push_back(std::pair<double, ISampler*>(0.020, this->findSampler("C01"))); 00193 v.push_back(std::pair<double, ISampler*>(0.050, rndmSampler)); 00194 //return new SamplerRouterADPhiSample(v, 0.0, "C0Router"); 00195 return new C0SamplerRouterADPhiSample(v, 0.0, "C0Router"); 00196 00197 } |
|
Definition at line 199 of file HadLateBarConfigurer.cxx.
00199 { 00200 00201 std::vector< std::pair<double, ISampler*> > v; 00202 v.push_back(std::pair<double, ISampler*>(0.6, this->findSampler("SN1"))); 00203 v.push_back(std::pair<double, ISampler*>(1.0, this->findSampler("SN2"))); 00204 //return new SamplerRouterC0Sample(v, 0.0, "SNRouter"); 00205 return new SNSamplerRouterC0Sample(v, 0.0, "SNRouter"); 00206 00207 } |
|
Definition at line 209 of file HadLateBarConfigurer.cxx.
00209 { 00210 00211 std::vector< std::pair<double, ISampler*> > v; 00212 v.push_back(std::pair<double, ISampler*>(0.15, this->findSampler("AN1"))); 00213 v.push_back(std::pair<double, ISampler*>(1.00, this->findSampler("AN2"))); 00214 //return new SamplerRouterSNSample(v, 0.0, "ANRouter"); 00215 return new ANSamplerRouterSNSample(v, 0.0, "ANRouter"); 00216 00217 } |
|
Definition at line 219 of file HadLateBarConfigurer.cxx. References FastShower::ConfigurerBase::addEdepositor(). Referenced by initialise().
00219 { 00220 00221 this->addEdepositor( "ECalPencil", new PencilDepositor); 00222 00223 } |
|
Definition at line 225 of file HadLateBarConfigurer.cxx. References FastShower::ConfigurerBase::addHdepositor(), and FastShower::ConfigurerBase::findSampler(). Referenced by initialise().
00225 { 00226 00227 this->addHdepositor( "HcalCore", 00228 new CoreDepositor( 00229 this->findSampler("S0"), 00230 this->findSampler("C0"), 00231 this->findSampler("SN"), 00232 this->findSampler("AN") 00233 ) 00234 ); 00235 00236 this->addHdepositor( "HcalHalo", new HaloDepositor(this,"Halo")); 00237 00238 } |
|
Definition at line 240 of file HadLateBarConfigurer.cxx. References FastShower::ConfigurerBase::addNormaliser(). Referenced by initialise().
00240 { 00241 this->addNormaliser("EcalNormaliser", 00242 new HadLateEcalNormaliser(this,"HadLateBarEcalNormaliser")); 00243 this->addNormaliser("HcalNormaliser", 00244 new HadLateHcalNormaliser(this,"HadLateBarHcalNormaliser")); 00245 } |
|
Definition at line 90 of file HadLateBarConfigurer.cxx. References addDepositorsE(), addDepositorsH(), FastShower::ConfigurerBase::addFn(), FastShower::ConfigurerBase::addFnPP(), FastShower::ConfigurerBase::addIUG(), FastShower::ConfigurerBase::addSampler(), and normalisers(). Referenced by HadLateBarConfigurer().
00090 { 00091 //S0 00092 this->addFn("S0PeakMean", new PeakMeanS0HadLateHcalBar1); 00093 this->addFn("S0PeakSigma", new PeakSigmaS0HadLateHcalBar1); 00094 this->addFn("S0TailFrac", new TailFracS0HadLateHcalBar1); 00095 //C01 00096 this->addFn("C01PeakMean", new PeakMeanC0HadLateHcalBar1); 00097 this->addFn("C01PeakSigma", new PeakSigmaC0HadLateHcalBar1); 00098 //C021 00099 this->addFn("C021PeakMean", new PeakMeanC0HadLateHcalBar21); 00100 this->addFn("C021PeakSigma", new PeakSigmaC0HadLateHcalBar21); 00101 //C022 00102 this->addFn("C022PeakMean", new PeakMeanC0HadLateHcalBar22); 00103 this->addFn("C022PeakSigma", new PeakSigmaC0HadLateHcalBar22); 00104 //SN11 00105 this->addFn("SN1PeakMean", new PeakMeanSNHadLateHcalBar1); 00106 this->addFn("SN1PeakSigma", new PeakSigmaSNHadLateHcalBar11); 00107 //SN12 00108 this->addFn("SN2PeakMean", new PeakMeanSNHadLateHcalBar1); 00109 this->addFn("SN2PeakSigma", new PeakSigmaSNHadLateHcalBar12); 00110 //AN1 00111 this->addFn("AN1PeakMean", new PeakMeanANHadLateHcalBar1); 00112 this->addFn("AN1PeakSigma", new PeakSigmaANHadLateHcalBar1); 00113 this->addFn("AN1TailFrac", new TailFracANHadLateHcalBar1); 00114 //AN2 00115 this->addFn("AN2PeakMean", new PeakMeanANHadLateHcalBar1); 00116 this->addFn("AN2PeakSigma", new PeakSigmaANHadLateHcalBar1); 00117 // 00118 //******************************************************* 00119 //* Functions for HaloDepositor * 00120 //******************************************************* 00121 this->addFnPP("HaloCell1", new HadLateHcalBarHaloCell1); 00122 this->addFnPP("HaloCell2", new HadLateHcalBarHaloCell2); 00123 this->addFnPP("HaloCell3", new HadLateHcalBarHaloCell3); 00124 this->addFnPP("HaloCell4", new HadLateHcalBarHaloCell4); 00125 this->addFnPP("HaloCell5", new HadLateHcalBarHaloCell5); 00126 this->addFnPP("HaloCell6", new HadLateHcalBarHaloCell6); 00127 this->addFnPP("HaloCell7", new HadLateHcalBarHaloCell7); 00128 this->addFnPP("HaloCell8", new HadLateHcalBarHaloCell8); 00129 this->addFnPP("HaloCell9", new HadLateHcalBarHaloCell9); 00130 this->addFnPP("HaloCell10", new HadLateHcalBarHaloCell10); 00131 this->addFnPP("HaloCell11", new HadLateHcalBarHaloCell11); 00132 this->addFnPP("HaloCell12", new HadLateHcalBarHaloCell12); 00133 this->addFnPP("HaloCell13", new HadLateHcalBarHaloCell13); 00134 this->addFnPP("HaloCell14", new HadLateHcalBarHaloCell14); 00135 // 00136 //******************************************************* 00137 //* Functions for Normalisers * 00138 //******************************************************* 00139 this->addFnPP("EcalEtaResponse", new HadEcalEtaResponseBar); 00140 this->addFnPP("HcalEtaResponse", new HadHcalEtaResponseBar); 00141 this->addFnPP("HcalCoreFraction", new HadLateHcalCoreFracBar); 00142 // 00143 //******************************************************* 00144 //* IUpdating Gaussians (Peaks for Samplers) * 00145 //******************************************************* 00146 this->addIUG("S0Peak", this->makeUpdatingGaussian0LP("S0") ); 00147 this->addIUG("C01Peak", this->makeUpdatingGaussian0LP("C01") ); 00148 this->addIUG("C021Peak", this->makeUpdatingGaussian0LP("C021") ); 00149 this->addIUG("C022Peak", this->makeUpdatingGaussian0LP("C022") ); 00150 this->addIUG("SN1Peak", this->makeUpdatingGaussian01P("SN1") ); 00151 this->addIUG("SN2Peak", this->makeUpdatingGaussian01P("SN2") ); 00152 this->addIUG("AN1Peak", this->makeUpdatingGaussian0LP("AN1") ); 00153 this->addIUG("AN2Peak", this->makeUpdatingGaussian0LP("AN2") ); 00154 // 00155 //******************************************************* 00156 //* Samplers * 00157 //******************************************************* 00158 this->addSampler("S0", new S0HadLateHcalBar1(this, "S0") ); 00159 this->addSampler("C01", new C0HadLateHcalBar1(this, "C01") ); 00160 this->addSampler("C021", new C0HadLateHcalBar2(this, "C021") ); 00161 this->addSampler("C022", new C0HadLateHcalBar2(this, "C022") ); 00162 this->addSampler("SN1", new SNHadLateHcalBar1(this, "SN1") ); 00163 this->addSampler("SN2", new SNHadLateHcalBar1(this, "SN2") ); 00164 this->addSampler("AN1", new ANHadLateHcalBar1(this, "AN1") ); 00165 this->addSampler("AN2", new ANHadLateHcalBar2(this, "AN2") ); 00166 00167 this->addSampler("C0", this->makeC0() ); 00168 this->addSampler("SN", this->makeSN() ); 00169 this->addSampler("AN", this->makeAN() ); 00170 // 00171 //******************************************************* 00172 //* Depositors * 00173 //******************************************************* 00174 this->addDepositorsE(); 00175 this->addDepositorsH(); 00176 //******************************************************* 00177 //* Normalisers * 00178 //******************************************************* 00179 this->normalisers(); 00180 } |