1 #ifndef PNDSDSCALCPIXELDIF_H 2 #define PNDSDSCALCPIXELDIF_H 5 #include "FairGeoVector.h" 38 PndSdsCalcPixelDif(Double_t w, Double_t l, Double_t qspread = 0, Double_t threshold = 0, Double_t noise = 0, Double_t nrows = 10, Double_t ncols = 10);
42 std::vector<PndSdsPixel>
GetPixels(Double_t inx, Double_t iny, Double_t outx, Double_t outy, Double_t energy);
44 Int_t
GetPixelsAlternative(Double_t inx, Double_t iny, Double_t outx, Double_t outy, Double_t energy, std::vector<Int_t> &cols, std::vector<Int_t> &rows,
45 std::vector<Double_t> &charges);
51 Double_t ChargeFromEloss(Double_t eloss)
const {
return eloss / (3.61e-9); }
52 void InjectPixelCharge(Int_t col, Int_t row, Double_t charge);
54 std::vector<PndSdsPixel> fPixels;
Int_t GetPixelsAlternative(Double_t inx, Double_t iny, Double_t outx, Double_t outy, Double_t energy, std::vector< Int_t > &cols, std::vector< Int_t > &rows, std::vector< Double_t > &charges)
void SetVerboseLevel(Int_t level)
std::ostream & operator<<(std::ostream &out)
std::vector< PndSdsPixel > GetPixels(Double_t inx, Double_t iny, Double_t outx, Double_t outy, Double_t energy)
Main function to calculate the vector<PndSdsPixel> of fired pixel.
PndSdsCalcPixelDif()
Default constructor.
Digitization Parameter Class for SDS-Pixel part.