PandaRoot
PndHypCalcStrip Class Reference

#include <PndHypCalcStrip.h>

Public Member Functions

 PndHypCalcStrip ()
 
 PndHypCalcStrip (Double_t pitch, Double_t orient, Int_t nrStrips, Int_t nrFeChannels, const TVector2 &firstStripAnchor, Double_t threshold, Double_t noise)
 
 PndHypCalcStrip (const PndHypStripDigiPar *digipar, SensorSide side=SensorSide::kTOP)
 
std::vector< PndHypStripGetStrips (Double_t inx, Double_t iny, Double_t inz, Double_t outx, Double_t outy, Double_t outz, Double_t eLoss, int id)
 
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)
 
void SetreStrip (Int_t reStp)
 
void SetAnchor (TVector2 edge)
 
void print () const
 

Detailed Description

Definition at line 26 of file PndHypCalcStrip.h.

Constructor & Destructor Documentation

◆ PndHypCalcStrip() [1/3]

PndHypCalcStrip::PndHypCalcStrip ( )

◆ PndHypCalcStrip() [2/3]

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

◆ PndHypCalcStrip() [3/3]

PndHypCalcStrip::PndHypCalcStrip ( const PndHypStripDigiPar digipar,
SensorSide  side = SensorSide::kTOP 
)

Member Function Documentation

◆ CalcChannelfromStrip()

Int_t PndHypCalcStrip::CalcChannelfromStrip ( Int_t  stripNr) const

84 * Calculate Channel index (on Frontend) from strip-index 85 *

Parameters
stripNrstrip index 86 *
Returns
channel on frontend 87

◆ CalcFeChToStrip()

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

91 * Calculate global strip index from Frontend number and -channel 92 *

Parameters
fefrontend number 93 *
channelfrontend channel 94 *
stripglobal strip index 95 *
side96

◆ CalcFEfromStrip()

Int_t PndHypCalcStrip::CalcFEfromStrip ( Int_t  stripNr) const

Calculate Frontend number from strip-index

Parameters
stripNrstrip index
Returns
Frontend number

◆ CalcStripPointOnLine()

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

◆ GetStripDirection()

const TVector2 PndHypCalcStrip::GetStripDirection ( ) const
inline

Get Strip Direction (strip orientation angle)

Definition at line 59 of file PndHypCalcStrip.h.

59 { return fStripDir; }

◆ GetStrips()

std::vector<PndHypStrip> PndHypCalcStrip::GetStrips ( Double_t  inx,
Double_t  iny,
Double_t  inz,
Double_t  outx,
Double_t  outy,
Double_t  outz,
Double_t  eLoss,
int  id 
)

◆ print()

void PndHypCalcStrip::print ( ) const

Referenced by SetAnchor().

◆ SetAnchor()

void PndHypCalcStrip::SetAnchor ( TVector2  edge)
inline

Definition at line 64 of file PndHypCalcStrip.h.

References print().

64 { fAnchor = edge; }

◆ SetreStrip()

void PndHypCalcStrip::SetreStrip ( Int_t  reStp)
inline

Definition at line 63 of file PndHypCalcStrip.h.

63 { fNrStrips = reStp; }

◆ SetVerboseLevel()

void PndHypCalcStrip::SetVerboseLevel ( Int_t  level)
inline

Definition at line 61 of file PndHypCalcStrip.h.

61 { fVerboseLevel = level; }

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