14 TString
N = name_.c_str();
16 h4DSegmXPosInCham =
new TH1F(
N +
"_h4DSegmXPosInCham",
"4D Segment x position (cm) in Chamber RF", 200, -200, 200);
17 h4DSegmYPosInCham =
new TH1F(
N +
"_h4DSegmYPosInCham",
"4D Segment y position (cm) in Chamber RF", 200, -200, 200);
19 new TH1F(
N +
"_h4DSegmPhiAngleInCham",
"4D Segment phi angle (rad) in Chamber RF", 180, -180, 180);
21 new TH1F(
N +
"_h4DSegmThetaAngleInCham",
"4D Segment theta angle (rad) in Chamber RF", 180, -180, 180);
23 new TH1F(
N +
"_h4DSegmImpactAngleInCham",
"4D Segment impact angle (rad) in Chamber RF", 180, -180, 180);
73 TString
N = name_.c_str();
75 h2DSegmPosInCham =
new TH1F(
N +
"_h2DSegmPosInCham",
"2D Segment position (cm) in Chamber RF", 200, -200, 200);
76 h2DSegmAngleInCham =
new TH1F(
N +
"_h2DSegmAngleInCham",
"2D Segment angle (rad) in Chamber RF", 200, -2, 2);
77 h2DSegmCosAngleInCham =
new TH1F(
N +
"_h2DSegmCosAngleInCham",
"2D Segment cos(angle) in Chamber RF", 200, -2, 2);
117 hTmax123 =
new TH1F(
name +
"_Tmax123",
"Tmax123 value", 2000, -1000., 1000.);
118 hTmax124s72 =
new TH1F(
name +
"_Tmax124_s72",
"Tmax124 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
119 hTmax124s78 =
new TH1F(
name +
"_Tmax124_s78",
"Tmax124 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
120 hTmax134s72 =
new TH1F(
name +
"_Tmax134_s72",
"Tmax134 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
121 hTmax134s78 =
new TH1F(
name +
"_Tmax134_s78",
"Tmax134 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
122 hTmax234 =
new TH1F(
name +
"_Tmax234",
"Tmax234 value", 2000, -1000., 1000.);
123 hTmax_3t0 =
new TH1F(
name +
"_3t0",
"Tmax+3*Delta(t0)", 2000, -1000., 1000.);
124 hTmax_3t0_0 =
new TH1F(
name +
"_3t0_0",
"Tmax+3*Delta(t0); 3 hits", 2000, -1000., 1000.);
125 hTmax_3t0_1 =
new TH1F(
name +
"_3t0_1",
"Tmax+3*Delta(t0); one t<5ns", 2000, -1000., 1000.);
126 hTmax_3t0_2 =
new TH1F(
name +
"_3t0_2",
"Tmax+3*Delta(t0); one t<10ns", 2000, -1000., 1000.);
127 hTmax_3t0_3 =
new TH1F(
name +
"_3t0_3",
"Tmax+3*Delta(t0); one t<20ns", 2000, -1000., 1000.);
128 hTmax_3t0_4 =
new TH1F(
name +
"_3t0_4",
"Tmax+3*Delta(t0); one t<50ns", 2000, -1000., 1000.);
129 hTmax_3t0_5 =
new TH1F(
name +
"_3t0_5",
"Tmax+3*Delta(t0); all t>50ns", 2000, -1000., 1000.);
130 hTmax_2t0 =
new TH1F(
name +
"_2t0",
"Tmax+2*Delta(t0)", 2000, -1000., 1000.);
131 hTmax_2t0_0 =
new TH1F(
name +
"_2t0_0",
"Tmax+2*Delta(t0); 3 hits", 2000, -1000., 1000.);
132 hTmax_2t0_1 =
new TH1F(
name +
"_2t0_1",
"Tmax+2*Delta(t0); one t<5ns", 2000, -1000., 1000.);
133 hTmax_2t0_2 =
new TH1F(
name +
"_2t0_2",
"Tmax+2*Delta(t0); one t<10ns", 2000, -1000., 1000.);
134 hTmax_2t0_3 =
new TH1F(
name +
"_2t0_3",
"Tmax+2*Delta(t0); one t<20ns", 2000, -1000., 1000.);
135 hTmax_2t0_4 =
new TH1F(
name +
"_2t0_4",
"Tmax+2*Delta(t0); one t<50ns", 2000, -1000., 1000.);
136 hTmax_2t0_5 =
new TH1F(
name +
"_2t0_5",
"Tmax+2*Delta(t0); all t>50ns", 2000, -1000., 1000.);
137 hTmax_t0 =
new TH1F(
name +
"_t0",
"Tmax+Delta(t0)", 2000, -1000., 1000.);
138 hTmax_t0_0 =
new TH1F(
name +
"_t0_0",
"Tmax+Delta(t0); 3 hits", 2000, -1000., 1000.);
139 hTmax_t0_1 =
new TH1F(
name +
"_t0_1",
"Tmax+Delta(t0); one t<5ns", 2000, -1000., 1000.);
140 hTmax_t0_2 =
new TH1F(
name +
"_t0_2",
"Tmax+Delta(t0); one t<10ns", 2000, -1000., 1000.);
141 hTmax_t0_3 =
new TH1F(
name +
"_t0_3",
"Tmax+Delta(t0); one t<20ns", 2000, -1000., 1000.);
142 hTmax_t0_4 =
new TH1F(
name +
"_t0_4",
"Tmax+Delta(t0); one t<50ns", 2000, -1000., 1000.);
143 hTmax_t0_5 =
new TH1F(
name +
"_t0_5",
"Tmax+Delta(t0); all t>50ns", 2000, -1000., 1000.);
144 hTmax_0 =
new TH1F(
name +
"_0",
"Tmax", 2000, -1000., 1000.);
273 else if (t0_124 == 1) {
295 }
else if (t0_124 == 2) {
317 }
else if (t0_124 == 3) {
345 else if (t0_134 == 1) {
367 }
else if (t0_134 == 2) {
389 }
else if (t0_134 == 3) {
TH1F * h4DSegmThetaAngleInCham
h2DSegm(const TString &name_, TFile *file)
hTMaxCell(const TString &name_, TFile *file)
int GetT0Factor(TH1F *hist)
void Fill(float x, float phi)
void Fill(float x, float y, float phi, float theta, float impact)
void Fill(float pos, float localAngle)
TH1F * h2DSegmAngleInCham
h4DSegm(const TString &name_, TFile *file)
TH1F * h4DSegmImpactAngleInCham
Cos< T >::type cos(const T &t)
void Fill(float tmax123, float tmax124, float tmax134, float tmax234, dttmaxenums::SigmaFactor s124, dttmaxenums::SigmaFactor s134, unsigned t0_123, unsigned t0_124, unsigned t0_134, unsigned t0_234, unsigned hSubGroup)
hTMaxCell(const TString &name_)
TH1F * h2DSegmCosAngleInCham
h2DSegm(std::string name_)
TH1F * h4DSegmPhiAngleInCham
h4DSegm(std::string name_)