/// @file AllPixLETCalculatorDigitizer.hh /// @brief Header file for the AllPixLETCalculatorDigitizer class. #ifndef AllPixLETCalculatorDigitizer_h #define AllPixLETCalculatorDigitizer_h 1 // The Allpix digitizer interface. #include "AllPixDigitizerInterface.hh" // Digits for this digitizer. #include "AllPixLETCalculatorDigit.hh" #include "G4PrimaryVertex.hh" // Standard include statements. #include #include using namespace std; /// @brief The Allpix LET calculator digitizer class. /// /// @author J. Idarraga (principle author - idarraga@cern.ch) /// @author Mathieu Benoit (Mathieu.Benoit@cern.ch) /// @author T. Whyntie (editor for CERN\@school - t.whyntie@qmul.ac.uk) /// @date (ed. February 2014) class AllPixLETCalculatorDigitizer : public AllPixDigitizerInterface { public: /// @brief Constructor. /// /// @param [in] modName The detector module name. /// @param [in] hitsColName The hits collection name. /// @param [in] digitColName The digits collection name. AllPixLETCalculatorDigitizer( G4String modName, G4String hitsColName, G4String digitColName); /// @brief Destructor. virtual ~AllPixLETCalculatorDigitizer(); void SetPrimaryVertex(G4PrimaryVertex * pv) {m_primaryVertex = pv;}; /// @brief Digitise the detector's hits collection. void Digitize(); inline void SetDetectorDigitInputs(G4double) {}; private: /// @brief The input Digis. /// /// digitInput typedef is defined in AllPixDigitizerInterface.hh digitInput m_digitIn; /// @brief Pointer to the Digi collection. AllPixLETCalculatorDigitsCollection * m_digitsCollection; /// @brief Vector of Hits collection names. vector m_hitsColName; /// @brief Pointer to the event's primary vertex. /// /// This information comes from the EventAction. G4PrimaryVertex * m_primaryVertex; }; #endif