#include <ShowerDemoDumper.h>
Inheritance diagram for FastShower::ShowerDemoDumper:
Public Methods | |
ShowerDemoDumper (int nEvents, std::string key, int pdgId, double minEta, double maxEta, double energy) | |
virtual | ~ShowerDemoDumper () |
virtual void | initialise (const std::string) |
virtual void | execute () |
virtual void | finalise () const |
virtual GridletForger * | gridletForger () const |
Private Methods | |
ParticleInfo | makePI (int pdgId, double energy) const |
Private Attributes | |
int | m_nEvents |
int | m_pdgId |
std::string | m_key |
double | m_minEta |
double | m_maxEta |
double | m_energy |
GridletForger * | m_gridletForger |
std::ostream | m_ofile |
|
Definition at line 15 of file ShowerDemoDumper.cxx. References m_energy, m_key, m_maxEta, m_minEta, m_nEvents, m_pdgId, FastShower::maxEta, and FastShower::minEta.
00018 : 00019 m_nEvents(nEvents), m_pdgId(pdgId), 00020 m_minEta(minEta), m_maxEta(maxEta), m_energy(energy){ 00021 cout<<"ShowerDemoDumper(int nEvents, string key, int pdgId, " 00022 <<"double minEta, double maxEta, double energy): "<<m_nEvents<<" " 00023 <<m_key<<" "<<m_pdgId<<" "<<m_minEta<<" "<<m_maxEta<<" "<<m_energy<<endl; 00024 } |
|
Definition at line 36 of file ShowerDemoDumper.h.
00036 {}; |
|
Implements FastShower::IShowerDumper. Definition at line 27 of file ShowerDemoDumper.cxx. References gridletForger(), m_gridletForger, and FastShower::IDebug::ping().
00027 { 00028 cout<<"ShowerDemoDumper - initialising"<<endl; 00029 m_gridletForger = new GridletForger(s); 00030 cout<<"*****************************************"<<endl; 00031 cout<<"* GridletForger Structure *"<<endl; 00032 cout<<"*****************************************"<<endl; 00033 ComplexPinger p; 00034 IDebug* gfDbg = gridletForger(); 00035 gfDbg->ping(p); 00036 } |
|
Implements FastShower::IShowerDumper. Definition at line 39 of file ShowerDemoDumper.cxx. References gridletForger(), m_energy, m_nEvents, m_pdgId, FastShower::GridletForger::makeGridlet(), and makePI().
00039 { 00040 std::string eFile("Test.txt"); 00041 std::fstream ofile; 00042 ofile.open(eFile.c_str(), ios::out); 00043 cout<<"*****************************************"<<endl; 00044 cout<<"* ShowerDemoDumper Execute *"<<endl; 00045 cout<<"*****************************************"<<endl; 00046 00047 for(int ievt = 0; ievt!=m_nEvents; ++ievt){ 00048 cout<<"DEMO Event: "<<ievt<<endl<<endl; 00049 ofile<<"DEMO Event: "<<ievt<<endl<<endl; 00050 // 00051 ParticleInfo pi = makePI(m_pdgId, m_energy); 00052 ofile<<pi; 00053 // 00054 Gridlet* g = gridletForger()->makeGridlet(pi); 00055 cout<<*g; 00056 ofile<<*g; 00057 delete g; 00058 //reset what needs to be reset before using the showerer; 00059 //ComplexArmer ca; 00060 //IDebug* gfDbg = gridletForger(); 00061 //gfDbg->ping( ca ); 00062 // 00063 // ComplexStatsCollector sc; 00064 // gfDbg->ping( sc ); 00065 // 00066 } 00067 } |
|
Implements FastShower::IShowerDumper. Definition at line 70 of file ShowerDemoDumper.cxx. References gridletForger(), and FastShower::IDebug::ping().
00070 { 00071 cout<<"ShowerDemoDumper: Finalise "<<endl; 00072 ComplexStatsCollector sc; 00073 IDebug* gfDbg = gridletForger(); 00074 gfDbg->ping( sc ); 00075 } |
|
Implements FastShower::IShowerDumper. Definition at line 78 of file ShowerDemoDumper.cxx. References m_gridletForger. Referenced by execute(), finalise(), and initialise().
00078 { 00079 return m_gridletForger; 00080 } |
|
Definition at line 83 of file ShowerDemoDumper.cxx. References m_maxEta, m_minEta, and FastShower::ProcessedFlat::sample(). Referenced by execute().
|
|
Definition at line 45 of file ShowerDemoDumper.h. Referenced by execute(), and ShowerDemoDumper(). |
|
Definition at line 46 of file ShowerDemoDumper.h. Referenced by execute(), and ShowerDemoDumper(). |
|
Definition at line 47 of file ShowerDemoDumper.h. Referenced by ShowerDemoDumper(). |
|
Definition at line 48 of file ShowerDemoDumper.h. Referenced by makePI(), and ShowerDemoDumper(). |
|
Definition at line 49 of file ShowerDemoDumper.h. Referenced by makePI(), and ShowerDemoDumper(). |
|
Definition at line 50 of file ShowerDemoDumper.h. Referenced by execute(), and ShowerDemoDumper(). |
|
Definition at line 52 of file ShowerDemoDumper.h. Referenced by gridletForger(), and initialise(). |
|
Definition at line 53 of file ShowerDemoDumper.h. |