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