/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Gnrtr.h
Go to the documentation of this file.
00001 
00012 #ifndef GNRTR_H
00013 #define GNRTR_H
00014 
00015 #include "Stage/StageProcessor.h"
00016 #include "Event/GenHeader.h"
00017 
00019 #include "Stage/IStage.h"
00020 #include "Stage/FFTimeStamp.h"
00021 #include "Stage/HeaderStageData.h"
00022 #include <string>
00023 
00024 class IHepMCEventMutator;
00025 class Gnrtr : public StageProcessor<DayaBay::GenHeader>
00026 {
00027 public:
00028     Gnrtr(const std::string& name, ISvcLocator* pSvcLocator);
00029     virtual ~Gnrtr();
00030 
00031     virtual StatusCode initialize();
00032     virtual StatusCode execute(); 
00033     virtual StatusCode finalize();
00034 
00035 private:
00036     typedef HeaderStageData<DayaBay::GenHeader> GnrtrData;
00037 
00039     void GT_constructor();
00040     void GT_destructor();
00041     virtual StatusCode GT_initialize();
00042     virtual StatusCode GT_execute(GnrtrData*& p_output);
00043     virtual StatusCode GT_finalize();
00044       
00045 
00046 private:
00049     std::vector<std::string> m_genToolNames;
00050     std::vector<IHepMCEventMutator*> m_genTools;
00051 
00053     std::string m_genName;
00054 
00056     FFTimeStamp m_CurrentTime;
00057 
00059     bool m_Start;
00060 
00062     time_t m_tsseconds;
00063     int m_tsnanoseconds;
00064     TimeStamp m_now;
00065 };
00066 
00067 
00068 #endif  // GNRTR
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:20:44 for Gnrtr by doxygen 1.7.4