00001 #ifndef PASSTHROUGHDPGENERATOR_H_ 00002 #define PASSTHROUGHDPGENERATOR_H_ 00003 00004 #include "TVDetectorPulseGenerator.h" 00005 00006 class PassThroughDPGenerator:public TVDetectorPulseGenerator{ 00007 00008 public: 00009 PassThroughDPGenerator(TDPGeneratorOptions* opts); 00010 virtual ~PassThroughDPGenerator(){}; 00011 virtual bool ChecksForPileUp()const {return false;}; 00012 static const IDs::generator& GetStaticId(){return fStaticId;}; 00013 00014 public: 00015 virtual int ProcessPulses( DetectorPulseList& output); 00016 00017 private: 00018 bool fUseFast; 00019 static IDs::generator fStaticId; 00020 }; 00021 #endif //PASSTHROUGHDPGENERATOR_H_