1#ifndef BMNSiProfLAYER_H
2#define BMNSiProfLAYER_H
22 Double_t xsize, Double_t ysize,
23 Double_t xorig, Double_t yorig,
24 Double_t pitch, Double_t adeg);
37 void SetLayerSizes(Double_t xsize, Double_t ysize, Double_t xorig=0.0, Double_t yorig=0.0);
46 Double_t
GetXSize() {
return XMaxLayer-XMinLayer; }
47 Double_t
GetYSize() {
return YMaxLayer-YMinLayer; }
66 Bool_t
AddDeadZone(Int_t n_points, Double_t *x_points, Double_t *y_points);
111 void SmoothStripSignal(vector<Double_t>& AnalyzableStrips, Int_t NIterations, Int_t SmoothWindow, Double_t Weight);
126 Int_t LayerZoneNumber;
138 vector<DeadZoneOfStripLayer> DeadZones;
142 Double_t XLeftPointOfStripNumbering;
143 Double_t XRightPointOfStripNumbering;
144 Double_t YLeftPointOfStripNumbering;
145 Double_t YRightPointOfStripNumbering;
148 vector<Double_t> Strips;
151 vector<BmnMatch> StripMatches;
154 vector<Double_t> StripHits;
155 vector<Double_t> StripHitsTotalSignal;
156 vector<Double_t> StripHitsErrors;
157 vector<Int_t> StripHitsClusterSize;
158 vector<Double_t> SmoothStrips;
159 Double_t ClusterFindingThreshold;
Double_t ConvertNormalPointToStripX(Double_t x, Double_t y)
Double_t GetStripSignal(Int_t strip_num)
Bool_t IsPointInsideDeadZones(Double_t x, Double_t y)
Bool_t SetStripSignal(Int_t strip_num, Double_t signal)
Double_t GetStripHitError(Int_t num)
vector< Double_t > GetSmoothStrips()
Double_t ConvertNormalPointToStripY(Double_t x, Double_t y)
Double_t GetStripHitPos(Int_t num)
BmnSiProfLayer(Int_t zone_number, StripLayerType layer_type, Double_t xsize, Double_t ysize, Double_t xorig, Double_t yorig, Double_t pitch, Double_t adeg)
virtual ~BmnSiProfLayer()
Bool_t AddDeadZone(DeadZoneOfStripLayer dead_zone)
Double_t GetXLeftStripBorderPoint()
Double_t GetYLeftStripBorderPoint()
Bool_t SetStripMatch(Int_t strip_num, BmnMatch strip_match)
void SetLayerSizes(Double_t xsize, Double_t ysize, Double_t xorig=0.0, Double_t yorig=0.0)
void MakeStripHit(StripCluster &cluster, vector< Double_t > &AnalyzableStrips, Int_t &curcnt)
StripNumberingDirection GetStripNumberingOrder()
Double_t CalculateStripEquationB(Double_t strip_pos)
Bool_t AddDeadZone(Int_t n_points, Double_t *x_points, Double_t *y_points)
Double_t GetClusterFindingThreshold()
Bool_t AddLinkToStripMatch(Int_t strip_num, Double_t weight, Int_t refID)
vector< DeadZoneOfStripLayer > GetDeadZones()
Bool_t IsPointInsideStripLayer(Double_t x, Double_t y)
Double_t GetXRightStripBorderPoint()
Double_t ConvertPointToStripPosition(Double_t x, Double_t y)
void SetVerbosity(Bool_t verb)
void SetClusterFindingThreshold(Double_t threshold)
Double_t GetStripHitTotalSignal(Int_t num)
Bool_t AddStripSignal(Int_t strip_num, Double_t signal)
Double_t GetYRightStripBorderPoint()
Bool_t SetStripNumberingOrder(StripNumberingDirection strip_direction)
void SetAngleDeg(Double_t deg)
Bool_t SetStripNumberingBorders(StripBorderPoint left, StripBorderPoint right)
Bool_t SetStripNumberingBorders(Double_t x_left, Double_t y_left, Double_t x_right, Double_t y_right)
Int_t GetStripHitClusterSize(Int_t num)
void SetPitch(Double_t pitch)
BmnMatch GetStripMatch(Int_t strip_num)
void FindClustersAndStripHits()
void SmoothStripSignal(vector< Double_t > &AnalyzableStrips, Int_t NIterations, Int_t SmoothWindow, Double_t Weight)