CMS 3D CMS Logo

VisSimProcessor.cc

Go to the documentation of this file.
00001 //<<<<<< INCLUDES                                                       >>>>>>
00002 
00003 #include "VisSimulation/VisSimBase/interface/VisSimProcessor.h"
00004 #include "VisFramework/VisFrameworkBase/interface/debug.h"
00005 #include "SimG4Core/Geometry/interface/DDDWorld.h"
00006 #include "SimG4Core/Notification/interface/EndOfEvent.h"
00007 
00008 //<<<<<< PRIVATE DEFINES                                                >>>>>>
00009 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
00010 //<<<<<< PRIVATE TYPES                                                  >>>>>>
00011 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
00012 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
00013 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
00014 
00015 IG_DEFINE_STATE_ELEMENT (VisSimProcessor, "Services/Simulation/Sim Processor");
00016 
00017 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
00018 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
00019 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
00020 
00021 VisSimProcessor::VisSimProcessor (IgState *state)
00022     : VisQueueProcessor (state)
00023 {
00024 //     Observer<const DDDWorld *>::init (); 
00025 //     Observer<const EndOfEvent *>::init (); 
00026 }
00027 
00028 void
00029 VisSimProcessor::update (const DDDWorld *item)
00030 {
00031     LOG (0, trace, LFfwvis, "VisSimProcessor: geometry " << item << '\n');
00032     if (item) process ();
00033     LOG (0, trace, LFfwvis, "VisSimProcessor: done " << item << '\n');
00034 }
00035 
00036 void
00037 VisSimProcessor::update (const EndOfEvent *item)
00038 {
00039     LOG (0, trace, LFfwvis, "VisSimProcessor: event " << item << '\n');
00040     if (item) process ();
00041     LOG (0, trace, LFfwvis, "VisSimProcessor: done " << item << '\n');
00042 }

Generated on Tue Jun 9 17:50:29 2009 for CMSSW by  doxygen 1.5.4