/** * Author: * Mathieu.Benoit@cern.ch * * allpix Authors: * John Idarraga * Mathieu Benoit */ #ifndef AllPixMedipixDigitizer_h #define AllPixMedipixDigitizer_h 1 // allpix Interface #include "AllPixDigitizerInterface.hh" // digits for this digitizer #include "AllPixMedipixDigit.hh" #include "G4PrimaryVertex.hh" #include #include using namespace std; /** * Digitizer AllPixMedipix implementation */ class AllPixMedipixDigitizer : public AllPixDigitizerInterface { public: AllPixMedipixDigitizer(G4String, G4String, G4String); virtual ~AllPixMedipixDigitizer(); void SetPrimaryVertex(G4PrimaryVertex * pv) {m_primaryVertex = pv;}; void Digitize (); void SetDetectorDigitInputs(G4double){}; private: // digitInput typedef is defined in AllPixDigitizerInterface.hh digitInput m_digitIn; AllPixMedipixDigitsCollection * m_digitsCollection; vector m_hitsColName; G4PrimaryVertex * m_primaryVertex; // information from EventAction }; #endif