00001
00002
00003
00004
00005 #ifndef GISMO_DIGITIZER_INTERFACE_H
00006 #define GISMO_DIGITIZER_INTERFACE_H
00007
00008 #ifdef __GNUG__
00009 #pragma interface
00010 #endif
00011
00012
00013 #include "gismo/Detector.h"
00014
00015 #include "geometry/Digitizer.h"
00016
00021 class DigitizerInterface : public Detector {
00022 public:
00024 DigitizerInterface(Digitizer& d):m_digitizer(d){}
00025
00027 void score(MCParticle* );
00028
00030 GeomObject& transform(const CoordTransform & t);
00031
00032
00034 virtual void clear();
00035
00037 virtual void printOn( std::ostream& o) const;
00038
00039 private:
00040 Digitizer& m_digitizer;
00041
00042
00043 };
00044 #endif //GISMO_DIGITIZER_INTERFACE_H