| FairRoot/PandaRoot
    | 
#include <PndSdsCalcPixelDif.h>
| Public Member Functions | |
| PndSdsCalcPixelDif () | |
| Default constructor.  More... | |
| 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) | |
| PndSdsCalcPixelDif (const PndSdsPixelDigiPar &digi_par) | |
| 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.  More... | |
| 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) | 
| Private Member Functions | |
| Double_t | ChargeFromEloss (Double_t eloss) const | 
| void | InjectPixelCharge (Int_t col, Int_t row, Double_t charge) | 
| Private Attributes | |
| std::vector< PndSdsPixel > | fPixels | 
| PndSdsPixel | fActivePixel | 
| Double_t | fPixelSizeX | 
| Double_t | fPixelSizeY | 
| Double_t | fRows | 
| Double_t | fCols | 
| Double_t | fThreshold | 
| Double_t | fNoise | 
| Double_t | fQspread | 
| Double_t | fEnergy | 
| Int_t | fVerboseLevel | 
Definition at line 27 of file PndSdsCalcPixelDif.h.
| PndSdsCalcPixelDif::PndSdsCalcPixelDif | ( | ) | 
Default constructor.
Definition at line 8 of file PndSdsCalcPixelDif.cxx.
| PndSdsCalcPixelDif::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 | ||
| ) | 
Main constructor
| w | width of sensor pixel [cm] | 
| l | length of sensor pixel [cm] | 
| qspread | charge cloud gaussian width | 
| threshold | discriminator threshold of pixel [e] | 
| noise | total noise of pixel [e] | 
Definition at line 20 of file PndSdsCalcPixelDif.cxx.
| PndSdsCalcPixelDif::PndSdsCalcPixelDif | ( | const PndSdsPixelDigiPar & | digi_par | ) | 
Definition at line 13 of file PndSdsCalcPixelDif.cxx.
| std::vector< PndSdsPixel > PndSdsCalcPixelDif::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.
Definition at line 50 of file PndSdsCalcPixelDif.cxx.
References ChargeFromEloss(), col, cols, fabs(), fPixels, fPixelSizeX, fPixelSizeY, fQspread, i, InjectPixelCharge(), row, and t.
Referenced by PndSdsHybridHitProducer::Exec(), and GetPixelsAlternative().
| Int_t PndSdsCalcPixelDif::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 | ||
| ) | 
Definition at line 34 of file PndSdsCalcPixelDif.cxx.
References fVerboseLevel, GetPixels(), and i.
| 
 | private | 
Definition at line 125 of file PndSdsCalcPixelDif.cxx.
References Double_t, fActivePixel, fCols, fNoise, fPixels, fRows, fThreshold, fVerboseLevel, PndSdsPixel::SetCharge(), PndSdsPixel::SetCol(), and PndSdsPixel::SetRow().
Referenced by GetPixels().
| std::ostream & PndSdsCalcPixelDif::operator<< | ( | std::ostream & | out | ) | 
Definition at line 150 of file PndSdsCalcPixelDif.cxx.
References fPixelSizeX, fPixelSizeY, and out.
| 
 | inline | 
| 
 | private | 
Definition at line 60 of file PndSdsCalcPixelDif.h.
Referenced by InjectPixelCharge().
| 
 | private | 
Definition at line 65 of file PndSdsCalcPixelDif.h.
Referenced by InjectPixelCharge().
| 
 | private | 
Definition at line 69 of file PndSdsCalcPixelDif.h.
| 
 | private | 
Definition at line 67 of file PndSdsCalcPixelDif.h.
Referenced by InjectPixelCharge().
| 
 | private | 
Definition at line 59 of file PndSdsCalcPixelDif.h.
Referenced by GetPixels(), and InjectPixelCharge().
| 
 | private | 
Definition at line 62 of file PndSdsCalcPixelDif.h.
Referenced by GetPixels(), and operator<<().
| 
 | private | 
Definition at line 63 of file PndSdsCalcPixelDif.h.
Referenced by GetPixels(), and operator<<().
| 
 | private | 
Definition at line 68 of file PndSdsCalcPixelDif.h.
Referenced by GetPixels().
| 
 | private | 
Definition at line 64 of file PndSdsCalcPixelDif.h.
Referenced by InjectPixelCharge().
| 
 | private | 
Definition at line 66 of file PndSdsCalcPixelDif.h.
Referenced by InjectPixelCharge().
| 
 | private | 
Definition at line 71 of file PndSdsCalcPixelDif.h.
Referenced by GetPixelsAlternative(), InjectPixelCharge(), and SetVerboseLevel().
 1.8.8
 1.8.8