14 TString
N = name_.c_str();
17 "4D Segment x position (cm) in Chamber RF", 200, -200, 200);
19 "4D Segment y position (cm) in Chamber RF", 200, -200, 200);
21 "4D Segment phi angle (rad) in Chamber RF", 180, -180, 180);
23 "4D Segment theta angle (rad) in Chamber RF", 180, -180, 180);
25 "4D Segment impact angle (rad) in Chamber RF", 180, -180, 180);
76 TString
N = name_.c_str();
79 "2D Segment position (cm) in Chamber RF", 200, -200, 200);
81 "2D Segment angle (rad) in Chamber RF", 200, -2, 2);
83 "2D Segment cos(angle) in Chamber RF", 200, -2, 2);
97 void Fill(
float pos,
float localAngle) {
124 hTmax123 =
new TH1F (
name+
"_Tmax123",
"Tmax123 value", 2000, -1000., 1000.);
125 hTmax124s72 =
new TH1F (
name+
"_Tmax124_s72",
"Tmax124 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
126 hTmax124s78 =
new TH1F (
name+
"_Tmax124_s78",
"Tmax124 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
127 hTmax134s72 =
new TH1F (
name+
"_Tmax134_s72",
"Tmax134 sigma=sqrt(7/2) value", 2000, -1000., 1000.);
128 hTmax134s78 =
new TH1F (
name+
"_Tmax134_s78",
"Tmax134 sigma=sqrt(7/8) value", 2000, -1000., 1000.);
129 hTmax234 =
new TH1F (
name+
"_Tmax234",
"Tmax234 value", 2000, -1000., 1000.);
130 hTmax_3t0 =
new TH1F (
name+
"_3t0",
"Tmax+3*Delta(t0)", 2000, -1000., 1000.);
131 hTmax_3t0_0 =
new TH1F (
name+
"_3t0_0",
"Tmax+3*Delta(t0); 3 hits", 2000, -1000., 1000.);
132 hTmax_3t0_1 =
new TH1F (
name+
"_3t0_1",
"Tmax+3*Delta(t0); one t<5ns", 2000, -1000., 1000.);
133 hTmax_3t0_2 =
new TH1F (
name+
"_3t0_2",
"Tmax+3*Delta(t0); one t<10ns", 2000, -1000., 1000.);
134 hTmax_3t0_3 =
new TH1F (
name+
"_3t0_3",
"Tmax+3*Delta(t0); one t<20ns", 2000, -1000., 1000.);
135 hTmax_3t0_4 =
new TH1F (
name+
"_3t0_4",
"Tmax+3*Delta(t0); one t<50ns", 2000, -1000., 1000.);
136 hTmax_3t0_5 =
new TH1F (
name+
"_3t0_5",
"Tmax+3*Delta(t0); all t>50ns", 2000, -1000., 1000.);
137 hTmax_2t0 =
new TH1F (
name+
"_2t0",
"Tmax+2*Delta(t0)", 2000, -1000., 1000.);
138 hTmax_2t0_0 =
new TH1F (
name+
"_2t0_0",
"Tmax+2*Delta(t0); 3 hits", 2000, -1000., 1000.);
139 hTmax_2t0_1 =
new TH1F (
name+
"_2t0_1",
"Tmax+2*Delta(t0); one t<5ns", 2000, -1000., 1000.);
140 hTmax_2t0_2 =
new TH1F (
name+
"_2t0_2",
"Tmax+2*Delta(t0); one t<10ns", 2000, -1000., 1000.);
141 hTmax_2t0_3 =
new TH1F (
name+
"_2t0_3",
"Tmax+2*Delta(t0); one t<20ns", 2000, -1000., 1000.);
142 hTmax_2t0_4 =
new TH1F (
name+
"_2t0_4",
"Tmax+2*Delta(t0); one t<50ns", 2000, -1000., 1000.);
143 hTmax_2t0_5 =
new TH1F (
name+
"_2t0_5",
"Tmax+2*Delta(t0); all t>50ns", 2000, -1000., 1000.);
144 hTmax_t0 =
new TH1F (
name+
"_t0",
"Tmax+Delta(t0)", 2000, -1000., 1000.);
145 hTmax_t0_0 =
new TH1F (
name+
"_t0_0",
"Tmax+Delta(t0); 3 hits", 2000, -1000., 1000.);
146 hTmax_t0_1 =
new TH1F (
name+
"_t0_1",
"Tmax+Delta(t0); one t<5ns", 2000, -1000., 1000.);
147 hTmax_t0_2 =
new TH1F (
name+
"_t0_2",
"Tmax+Delta(t0); one t<10ns", 2000, -1000., 1000.);
148 hTmax_t0_3 =
new TH1F (
name+
"_t0_3",
"Tmax+Delta(t0); one t<20ns", 2000, -1000., 1000.);
149 hTmax_t0_4 =
new TH1F (
name+
"_t0_4",
"Tmax+Delta(t0); one t<50ns", 2000, -1000., 1000.);
150 hTmax_t0_5 =
new TH1F (
name+
"_t0_5",
"Tmax+Delta(t0); all t>50ns", 2000, -1000., 1000.);
151 hTmax_0 =
new TH1F (
name+
"_0",
"Tmax", 2000, -1000., 1000.);
220 void Fill(
float tmax123,
float tmax124,
float tmax134,
float tmax234,
270 else if(t0_124== 2) {
308 else if(t0_134== 2) {
TH1F * h4DSegmThetaAngleInCham
h2DSegm(const TString &name_, TFile *file)
hTMaxCell(const TString &name_, TFile *file)
int GetT0Factor(TH1F *hist)
void Fill(float x, float phi)
Geom::Theta< T > theta() const
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_)