1 #ifndef StMuRHICfHit_hh
2 #define StMuRHICfHit_hh
18 Bool_t isSaveDataArray();
20 void setPlateEnergy(Int_t tower, Int_t plate, Float_t val);
21 void setGSOBarEnergy(Int_t tower, Int_t layer, Int_t xy, Int_t bar, Float_t val);
23 void setL20(Int_t tower, Float_t val);
24 void setL90(Int_t tower, Float_t val);
26 void setPointNum(Int_t tower, Int_t val);
27 void setGSOMaxLayer(Int_t tower, Int_t order, Int_t val);
28 void setMaxPeakBin(Int_t tower, Int_t layer, Int_t xy, Int_t val);
30 void setSingleHitNum(Int_t tower, Int_t layer, Int_t xy, Int_t val);
31 void setSingleHitPos(Int_t tower, Int_t layer, Int_t xy, Float_t val);
32 void setSinglePeakHeight(Int_t tower, Int_t layer, Int_t xy, Float_t val);
33 void setSingleFitChi2(Int_t tower, Int_t layer, Int_t xy, Float_t val);
35 void setMultiHitNum(Int_t tower, Int_t val);
36 void setMultiHitPos(Int_t tower, Int_t layer, Int_t xy, Int_t order, Float_t val);
37 void setMultiPeakHeight(Int_t tower, Int_t layer, Int_t xy, Int_t order, Float_t val);
38 void setMultiPeakRaw(Int_t tower, Int_t layer, Int_t xy, Int_t order, Float_t val);
39 void setMultiEnergySum(Int_t tower, Int_t layer, Int_t xy, Int_t order, Float_t val);
40 void setMultiFitChi2(Int_t tower, Int_t layer, Int_t xy, Float_t val);
42 Float_t getPlateEnergy(Int_t tower, Int_t plate);
43 Float_t getGSOBarEnergy(Int_t tower, Int_t layer, Int_t xy, Int_t bar);
45 Float_t getL20(Int_t tower);
46 Float_t getL90(Int_t tower);
48 Int_t getPointNum(Int_t tower);
49 Int_t getGSOMaxLayer(Int_t tower, Int_t order);
50 Int_t getMaxPeakBin(Int_t tower, Int_t layer, Int_t xy);
52 Int_t getSingleHitNum(Int_t tower, Int_t layer, Int_t xy);
53 Float_t getSingleHitPos(Int_t tower, Int_t layer, Int_t xy);
54 Float_t getSinglePeakHeight(Int_t tower, Int_t layer, Int_t xy);
55 Float_t getSingleFitChi2(Int_t tower, Int_t layer, Int_t xy);
57 Int_t getMultiHitNum(Int_t tower);
58 Float_t getMultiHitPos(Int_t tower, Int_t layer, Int_t xy, Int_t order);
59 Float_t getMultiPeakHeight(Int_t tower, Int_t layer, Int_t xy, Int_t order);
60 Float_t getMultiPeakRaw(Int_t tower, Int_t layer, Int_t xy, Int_t order);
61 Float_t getMultiEnergySum(Int_t tower, Int_t layer, Int_t xy, Int_t order);
62 Float_t getMultiFitChi2(Int_t tower, Int_t layer, Int_t xy);
65 Float_t mPlateE[kRHICfNtower][kRHICfNplate];
66 Float_t mGSOBarSmallE[kRHICfNlayer][kRHICfNxy][kRHICfNbarSmall];
67 Float_t mGSOBarLargeE[kRHICfNlayer][kRHICfNxy][kRHICfNbarLarge];
69 TArrayF* mL20 =
nullptr;
70 TArrayF* mL90 =
nullptr;
72 TArrayI* mGSOMaxLayer =
nullptr;
73 TArrayI* mMaxPeakBin =
nullptr;
75 TArrayI* mSingleHitNum =
nullptr;
76 TArrayF* mSingleHitPos =
nullptr;
77 TArrayF* mSinglePeakHeight =
nullptr;
78 TArrayF* mSingleChiSquare =
nullptr;
80 TArrayI* mMultiHitNum =
nullptr;
81 TArrayF* mMultiHitPos =
nullptr;
82 TArrayF* mMultiPeakHeight =
nullptr;
83 TArrayF* mMultiPeakRaw =
nullptr;
84 TArrayF* mMultiEnergySum =
nullptr;
85 TArrayF* mMultiChiSquare =
nullptr;
87 Bool_t mIsSaveDataArray;