00001
00002 #ifndef McDisplayAlg_H
00003 #define McDisplayAlg_H
00004
00005
00006 #include "GaudiKernel/Algorithm.h"
00007 #include "gui/DisplayControl.h"
00008 #include "gui/DisplayRep.h"
00009
00010 #include "GlastEvent/MonteCarlo/McParticle.h"
00011 #include "GlastEvent/MonteCarlo/McVertex.h"
00012
00013 #include "McDisplay/DisplayMcEvent.h"
00014
00015
00016
00017 class IGlastDetSvc;
00018 class CalRecon;
00019 class GlastTuple;
00020 class ParticleRep;
00021 namespace xml { class IFile; };
00022
00023
00029
00030
00031
00032 class McDisplayAlg : public Algorithm {
00033
00034 public:
00036 McDisplayAlg(const std::string& name, ISvcLocator* pSvcLocator);
00037
00039 StatusCode initialize();
00041 StatusCode execute();
00043 StatusCode finalize();
00044
00045 StatusCode makeTree();
00046
00047
00048 private:
00049
00050 IGlastDetSvc* m_detSvc;
00051
00052 CalRecon* m_recon;
00053
00054
00055 xml::IFile * m_ini;
00056
00057
00058
00059 McVertex* m_root;
00060 McParticle* m_part1;
00061 McParticle* m_part2;
00062 McParticle* m_part3;
00063 McVertex* m_vert1;
00064 McVertex* m_vert2;
00065 McVertex* m_vert3;
00066
00067 DisplayMcEvent* m_mcEvent;
00068
00069
00070 };
00071
00072
00073
00074
00075
00076
00077 #endif // CalRecoAlg_H