PandaRoot
PndSdsCalcStrip Class Reference

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

#include <PndSdsCalcStrip.h>

Public Member Functions

 PndSdsCalcStrip ()
 
 PndSdsCalcStrip (Double_t pitch, Double_t orient, Int_t nrStrips, Int_t nrFeChannels, const TVector2 &firstStripAnchor, Double_t threshold, Double_t noise, Double_t csigma)
 
 PndSdsCalcStrip (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)
 
std::vector< PndSdsStripGetStripsNoDif (Double_t nuIn, Double_t nuOut, Double_t Q)
 
std::vector< PndSdsStripGetStripsDif (Double_t nuIn, Double_t nuOut, Double_t Q)
 
Double_t CalcFk (Double_t strip, Double_t x, Double_t sig)
 
Int_t GetStripsAlternative (Double_t nuIn, Double_t nuOut, Double_t Q, Int_t mode, std::vector< Int_t > &indice, std::vector< Double_t > &charges)
 
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)
 
Double_t GetThreshold () const
 
Double_t GetNoise () const
 
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
R Kliemt (TU Dresden, Uni Bonn)
Examples:
/home/gitlab-runner/builds/LYZoAKaU/0/PandaRootGroup/PandaRoot/detectors/sds/SdsReco/PndSdsChargeWeightingAlgorithms.h.

Definition at line 33 of file PndSdsCalcStrip.h.

Constructor & Destructor Documentation

◆ PndSdsCalcStrip() [1/3]

PndSdsCalcStrip::PndSdsCalcStrip ( )

Default constructor No reason to use it

◆ PndSdsCalcStrip() [2/3]

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

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)

◆ PndSdsCalcStrip() [3/3]

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

Member Function Documentation

◆ CalcChannelfromStrip()

Int_t PndSdsCalcStrip::CalcChannelfromStrip ( Int_t  stripNr) const

Calculate Channel index (on Frontend) from strip-index

Parameters
stripNrstrip index
Returns
channel on frontend

◆ CalcFeChToStrip()

void PndSdsCalcStrip::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 PndSdsCalcStrip::CalcFEfromStrip ( Int_t  stripNr) const

Calculate Frontend number from strip-index

Parameters
stripNrstrip index
Returns
Frontend number

◆ CalcFk()

Double_t PndSdsCalcStrip::CalcFk ( Double_t  strip,
Double_t  x,
Double_t  sig 
)

◆ CalcStripPointOnLine()

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

◆ GetNoise()

Double_t PndSdsCalcStrip::GetNoise ( ) const
inline

Definition at line 112 of file PndSdsCalcStrip.h.

References Print().

112 { return fNoise; }

◆ GetStripDirection()

const TVector2 PndSdsCalcStrip::GetStripDirection ( ) const
inline

Get Strip Direction (strip orientation angle)

Definition at line 107 of file PndSdsCalcStrip.h.

107 { return fStripDir; }

◆ GetStrips()

std::vector<PndSdsStrip> PndSdsCalcStrip::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

◆ GetStripsAlternative()

Int_t PndSdsCalcStrip::GetStripsAlternative ( Double_t  nuIn,
Double_t  nuOut,
Double_t  Q,
Int_t  mode,
std::vector< Int_t > &  indice,
std::vector< Double_t > &  charges 
)

◆ GetStripsDif()

std::vector<PndSdsStrip> PndSdsCalcStrip::GetStripsDif ( Double_t  nuIn,
Double_t  nuOut,
Double_t  Q 
)

◆ GetStripsNoDif()

std::vector<PndSdsStrip> PndSdsCalcStrip::GetStripsNoDif ( Double_t  nuIn,
Double_t  nuOut,
Double_t  Q 
)

◆ GetThreshold()

Double_t PndSdsCalcStrip::GetThreshold ( ) const
inline

Definition at line 111 of file PndSdsCalcStrip.h.

111 { return fThreshold; }

◆ Print()

void PndSdsCalcStrip::Print ( ) const

Referenced by GetNoise().

◆ SetVerboseLevel()

void PndSdsCalcStrip::SetVerboseLevel ( Int_t  level)
inline

Definition at line 109 of file PndSdsCalcStrip.h.

109 { fVerboseLevel = level; }

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