Go to the documentation of this file. 1 #ifndef CBMTRDTRIANGLEPRF_H
2 #define CBMTRDTRIANGLEPRF_H 1
51 Bool_t
GetBin(Double_t
x, Double_t
y, Int_t& binx, Int_t& biny)
const;
92 void Print(Option_t* opt =
"")
const;
120 Int_t
GetSide(
const Float_t
x,
const Float_t
y)
const;
143 std::vector<Double_t>
fX;
144 std::vector<Double_t>
fY;
std::vector< Char_t > fUp
1 for the upper pad, -1 for the bottom pad and 0 on the boundary
std::vector< Double_t > fY
position of bin center across wires
Double_t fdW
bin half width
Bool_t PrevBinY()
Move current bin down.
Double_t fSlope
slope of triangle H/W
Int_t fBinx0
Offset bin in the map - x direction.
Int_t fBiny0
Offset bin in the map - y direction.
Double_t fY0
y coordinate of cluster
Int_t fBinx
Current bin in the map - x direction.
CbmTrdTrianglePRF(const CbmTrdTrianglePRF &ref)
Int_t fBiny
Current bin in the map - y direction.
TF1 * fPRFx
PRF model along wires.
Bool_t NextBinX()
Move current bin to the right.
Bool_t PrevBinX()
Move current bin to the left.
virtual ~CbmTrdTrianglePRF()
Bool_t SetOrigin(Double_t x, Double_t y)
Set map offset @ point (x,y)
void Print(Option_t *opt="") const
void GetCurrentPad(Int_t &col, Int_t &row, Int_t &u) const
Compute the pad corresponding to current bin.
@ NR
no. of neighbor rows (except the hit) to be considered in cluster definition
CbmTrdTrianglePRF(Float_t W, Float_t H, Int_t n=20)
Build map.
std::vector< Double_t > fX
position of bin center along wires
Bool_t GetBin(Double_t x, Double_t y, Int_t &binx, Int_t &biny) const
Find bin for point (x,y)
void GoToOriginY()
Move current biny to the origin biny0.
Double_t GetChargeFraction() const
Compute charge fraction on the current bin.
void GetCurrentBin(Int_t &bx, Int_t &by) const
Enquire the current status of the map iterator.
@ NC
no. of neighbor columns (except the hit) to be considered in cluster definition
CbmTrdTrianglePRF & operator=(const CbmTrdTrianglePRF &ref)
void GoToOriginX()
Move current binx to the origin binx0.
Double_t fdH
bin half height
TF1 * fPRFy
PRF model across wires.
Bool_t NextBinY()
Move current bin up.
Double_t fX0
Index of bin in the map corresponding to cluster center - y direction.
Double_t fNorm
normalization factor for the 2D Gauss distribution
Utility for converting energy to signal over the triangular pad geometry (Bucharest prototype)
Int_t GetSide(const Float_t x, const Float_t y) const
Define triangular pad type.