PandaRoot
PndSdsCalcStripDif Class Reference

Class for calculating strip indices from wafer hits. More...

#include <PndSdsCalcStripDif.h>

Public Member Functions

 PndSdsCalcStripDif ()
 
 PndSdsCalcStripDif (Double_t pitch, Double_t orient, Int_t nrStrips, Int_t nrFeChannels, const TVector2 &firstStripAnchor, Double_t threshold, Double_t noise, Double_t sigma)
 
 PndSdsCalcStripDif (const PndSdsStripDigiPar *digipar, SensorSide side=SensorSide::kTOP)
 
std::vector< PndSdsStripGetStrips (Double_t inx, Double_t iny, Double_t inz, Double_t outx, Double_t outy, Double_t outz, Double_t eLoss)
 
Int_t CalcFEfromStrip (Int_t stripNr) const
 
Int_t CalcChannelfromStrip (Int_t stripNr) const
 
void CalcFeChToStrip (Int_t fe, Int_t channel, Int_t &strip, enum SensorSide &side) const
 
void CalcStripPointOnLine (const Double_t strip, TVector2 &point) const
 
const TVector2 GetStripDirection () const
 
void SetVerboseLevel (Int_t level)
 
std::ostream & operator<< (std::ostream &out)
 
Double_t ChargeDiffusion (Double_t u, Double_t a, Double_t path, Double_t dir, Double_t Q)
 
void Print () const
 

Detailed Description

Class for calculating strip indices from wafer hits.

Author
HG Zaunick hg.za.nosp@m.unic.nosp@m.k@phy.nosp@m.sik..nosp@m.tu-dr.nosp@m.esde.nosp@m.n.de

Definition at line 32 of file PndSdsCalcStripDif.h.

Constructor & Destructor Documentation

◆ PndSdsCalcStripDif() [1/3]

PndSdsCalcStripDif::PndSdsCalcStripDif ( )

Default constructor No reason to use it

◆ PndSdsCalcStripDif() [2/3]

PndSdsCalcStripDif::PndSdsCalcStripDif ( Double_t  pitch,
Double_t  orient,
Int_t  nrStrips,
Int_t  nrFeChannels,
const TVector2 &  firstStripAnchor,
Double_t  threshold,
Double_t  noise,
Double_t  sigma 
)

Constructor Create Object with all necessary parameters

Parameters
pitchPitch between Strips (=width of strips)
orientOrientation Angle of Strips in x-y-Plane from x-Axis
nrStripsNumber of Strips in the active area
nrFeChannelsNumber of Channels per Frontend
firstStripAnchorCoordinate in x-y-Plane which belongs to the first Strip (Index 0). Usually this is the readout point of the strip
thresholdCharge-Threshold applied to the signal (electrons)
noiseNoise superimposed to the signal (electrons)

◆ PndSdsCalcStripDif() [3/3]

PndSdsCalcStripDif::PndSdsCalcStripDif ( const PndSdsStripDigiPar digipar,
SensorSide  side = SensorSide::kTOP 
)

Member Function Documentation

◆ CalcChannelfromStrip()

Int_t PndSdsCalcStripDif::CalcChannelfromStrip ( Int_t  stripNr) const

Calculate Channel index (on Frontend) from strip-index

Parameters
stripNrstrip index
Returns
channel on frontend

◆ CalcFeChToStrip()

void PndSdsCalcStripDif::CalcFeChToStrip ( Int_t  fe,
Int_t  channel,
Int_t &  strip,
enum SensorSide side 
) const

Calculate global strip index from Frontend number and -channel

Parameters
fefrontend number
channelfrontend channel
stripglobal strip index
side

◆ CalcFEfromStrip()

Int_t PndSdsCalcStripDif::CalcFEfromStrip ( Int_t  stripNr) const

Calculate Frontend number from strip-index

Parameters
stripNrstrip index
Returns
Frontend number

◆ CalcStripPointOnLine()

void PndSdsCalcStripDif::CalcStripPointOnLine ( const Double_t  strip,
TVector2 &  point 
) const

◆ ChargeDiffusion()

Double_t PndSdsCalcStripDif::ChargeDiffusion ( Double_t  u,
Double_t  a,
Double_t  path,
Double_t  dir,
Double_t  Q 
)

Referenced by SetVerboseLevel().

◆ GetStripDirection()

const TVector2 PndSdsCalcStripDif::GetStripDirection ( ) const
inline

Get Strip Direction (strip orientation angle)

Definition at line 96 of file PndSdsCalcStripDif.h.

96 { return fStripDir; }

◆ GetStrips()

std::vector<PndSdsStrip> PndSdsCalcStripDif::GetStrips ( Double_t  inx,
Double_t  iny,
Double_t  inz,
Double_t  outx,
Double_t  outy,
Double_t  outz,
Double_t  eLoss 
)

Get List of hit channels from given Wafer hit.

Parameters
inxx-coordinate of entry point
inyy-coordinate of entry point
inzz-coordinate of entry point
outxx-coordinate of exit point
outyy-coordinate of exit point
outzz-coordinate of exit point
eLossEnergy Loss inside the detector element (GeV)
Returns
List of fired strips

◆ operator<<()

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

Referenced by SetVerboseLevel().

◆ Print()

void PndSdsCalcStripDif::Print ( ) const

Referenced by SetVerboseLevel().

◆ SetVerboseLevel()

void PndSdsCalcStripDif::SetVerboseLevel ( Int_t  level)
inline

Definition at line 98 of file PndSdsCalcStripDif.h.

References ChargeDiffusion(), operator<<(), and Print().

98 { fVerboseLevel = level; }

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