PandaRoot
PndSdsCalcPixelDif Class Reference

#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< PndSdsPixelGetPixels (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)
 

Detailed Description

Definition at line 27 of file PndSdsCalcPixelDif.h.

Constructor & Destructor Documentation

◆ PndSdsCalcPixelDif() [1/3]

PndSdsCalcPixelDif::PndSdsCalcPixelDif ( )

Default constructor.

◆ PndSdsCalcPixelDif() [2/3]

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

Parameters
wwidth of sensor pixel [cm]
llength of sensor pixel [cm]
qspreadcharge cloud gaussian width
thresholddiscriminator threshold of pixel [e]
noisetotal noise of pixel [e]

◆ PndSdsCalcPixelDif() [3/3]

PndSdsCalcPixelDif::PndSdsCalcPixelDif ( const PndSdsPixelDigiPar digi_par)

Member Function Documentation

◆ GetPixels()

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.

◆ 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 
)

◆ operator<<()

std::ostream& PndSdsCalcPixelDif::operator<< ( std::ostream &  out)

Referenced by SetVerboseLevel().

◆ SetVerboseLevel()

void PndSdsCalcPixelDif::SetVerboseLevel ( Int_t  level)
inline

Definition at line 47 of file PndSdsCalcPixelDif.h.

References operator<<().

47 { fVerboseLevel = level; };

The documentation for this class was generated from the following file: