Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DetectorVisitor.h

Go to the documentation of this file.
00001 // $Id: DetectorVisitor.h,v 1.1 2000/02/16 20:50:09 gmieg Exp $
00002 // Adapted from GLAST version G. Irwin 7/96.
00003 
00004 // DetectorVisitor base class for GLAST simulations
00005 #ifndef DETECTOR_VISITOR_H
00006 #define DETECTOR_VISITOR_H
00007 
00008 #include "GminosModule.h"
00009 #include "Flux.h"
00010 #include "MCTruth.h"
00011 
00012 class DetectorVisitor {
00013 
00014 public:
00015   virtual ~DetectorVisitor(){};
00016 
00017   // must declare a visit method for each detector element 
00018 
00019   virtual void visit(GminosModule*){}
00020   // it overrides its accept(DetectorVisitor&) to setup DAQ for this tower
00021 
00022   virtual void visit(Flux*){}
00023   // this visit is to allow including MC Data in the output stream
00024 
00025   virtual void visit(MCTruth*){}
00026   // this is a "Detector owned by the known world, used to pick MC Data
00027 
00028 protected:
00029   DetectorVisitor(){};
00030 
00031 private:
00032 
00033 };
00034 
00035 #endif

Generated on Mon Feb 15 11:06:37 2010 for loon by  doxygen 1.3.9.1