Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

McDisplayAlg.h

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/McDisplay/McDisplay/McDisplayAlg.h,v 1.2 2001/05/18 18:25:24 burnett Exp $
00002 #ifndef McDisplayAlg_H
00003 #define McDisplayAlg_H
00004 
00005 // Include files
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 // forward declarations
00017 class IGlastDetSvc;
00018 class CalRecon;
00019 class GlastTuple;
00020 class ParticleRep;
00021 namespace xml { class IFile; };
00022 
00023 
00029 // classes for display of the gismo generator
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(); // and split
00046 
00047 
00048 private:
00049     // the GlastDetSvc used for access to detector info
00050     IGlastDetSvc*    m_detSvc;
00051     // ptr to the CalRecon object used to do the analysis
00052     CalRecon*    m_recon;
00053 
00054     // constants from the "instrument.xml" file.
00055     xml::IFile * m_ini;
00056 
00057         //Mc Junk:
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

Generated at Wed Nov 21 12:20:59 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000