Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

PisaDetector.h

Go to the documentation of this file.
00001 #ifndef __PISADETECTOR_H__
00002 #define __PISADETECTOR_H__
00003 
00004 #include "PisaDevice.h"
00005 
00014 class PisaDetector : public PisaDevice
00015 {
00016  public:
00017 
00018   PisaDetector();
00019 
00020   virtual ~PisaDetector();
00021 
00022   virtual void beginEvent(PHCompositeNode* topNode) = 0;
00023 
00024   virtual void createGeometry(PHCompositeNode* topNode) = 0;
00025 
00026   virtual void createMaterials(PHCompositeNode* topNode) = 0;
00027 
00028   virtual void enable(bool status) { fIsEnabled = status; }
00029 
00030   virtual void finishEvent(PHCompositeNode* topNode) = 0;
00031 
00032   virtual bool isSensitive() const { return fIsEnabled; }
00033 
00034   virtual const char* name() const = 0;
00035 
00036   virtual void stepManager() = 0;
00037 
00038   virtual const char* subsystem() const = 0;
00039   
00040  private:
00041   bool fIsEnabled;
00042 };
00043 
00044 #endif