/** * Author John Idarraga */ #ifndef AllPixMimosa26Digitizer_h #define AllPixMimosa26Digitizer_h 1 // interface #include "AllPixDigitizerInterface.hh" // digits for this digitizer #include "AllPixMimosa26Digit.hh" #include "G4PrimaryVertex.hh" #include #include using namespace std; /** * A simple Digitizer implementation */ class AllPixMimosa26Digitizer : public AllPixDigitizerInterface { public: AllPixMimosa26Digitizer(G4String, G4String, G4String); virtual ~AllPixMimosa26Digitizer(); void SetPrimaryVertex(G4PrimaryVertex * pv) {m_primaryVertex = pv;}; void Digitize (); void SetDetectorDigitInputs(G4double); private: digitInput m_digitIn; AllPixMimosa26DigitsCollection * m_digitsCollection; vector m_hitsColName; G4PrimaryVertex * m_primaryVertex; // information from EventAction G4int m_randomNoise; //TRandom2 * m_trand; }; #endif