#include <MDTChamber.h>
Definition at line 22 of file MDTChamber.h.
◆ MDTChamber()
MDTChamber::MDTChamber |
( |
std::string_view |
name | ) |
|
Definition at line 13 of file MDTChamber.cxx.
62 if (
name.size() >= 7) {
86 else if (layerName ==
'M')
88 else if (layerName ==
'O')
90 else if (layerName ==
'E')
99 std::string_view statphi_s(
name.substr(5, 2));
111 if ((
Barrel ==
'B' &&
name.substr(0, 3) !=
"BEE" &&
name.substr(0, 3) !=
"BIS") ||
117 else if (
Side ==
'C')
119 }
else if (m_station_phi < 8 && m_station_phi > 3) {
123 else if (
Side ==
'C')
125 }
else if (m_station_phi < 12 && m_station_phi > 7) {
129 else if (
Side ==
'C')
135 else if (
Side ==
'C')
143 else if (
Side ==
'C')
145 }
else if (m_station_phi < 8 && m_station_phi > 3) {
149 else if (
Side ==
'C')
151 }
else if (m_station_phi < 12 && m_station_phi > 7) {
155 else if (
Side ==
'C')
161 else if (
Side ==
'C')
◆ ~MDTChamber()
MDTChamber::~MDTChamber |
( |
| ) |
|
|
default |
◆ GetBarrelEndcapEnum()
int MDTChamber::GetBarrelEndcapEnum |
( |
| ) |
|
|
inline |
◆ GetCrate()
int MDTChamber::GetCrate |
( |
| ) |
|
|
inline |
◆ GetCrate_String()
const std::string& MDTChamber::GetCrate_String |
( |
| ) |
|
|
inline |
◆ GetLayerEnum()
int MDTChamber::GetLayerEnum |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerChamber_IMO_Bin()
int MDTChamber::GetMDTHitsPerChamber_IMO_Bin |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerChamber_IMO_BinX()
int MDTChamber::GetMDTHitsPerChamber_IMO_BinX |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerChamber_IMO_BinY()
int MDTChamber::GetMDTHitsPerChamber_IMO_BinY |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerML_Bin()
int MDTChamber::GetMDTHitsPerML_Bin |
( |
int |
multi_layer | ) |
|
|
inline |
◆ GetMDTHitsPerML_Binx()
int MDTChamber::GetMDTHitsPerML_Binx |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerML_byLayer_Bin()
int MDTChamber::GetMDTHitsPerML_byLayer_Bin |
( |
int |
multi_layer | ) |
|
|
inline |
◆ GetMDTHitsPerML_byLayer_BinX()
int MDTChamber::GetMDTHitsPerML_byLayer_BinX |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerML_byLayer_BinY()
int MDTChamber::GetMDTHitsPerML_byLayer_BinY |
( |
int |
multi_layer | ) |
|
|
inline |
◆ GetMDTHitsPerML_m1_Biny()
int MDTChamber::GetMDTHitsPerML_m1_Biny |
( |
| ) |
|
|
inline |
◆ GetMDTHitsPerML_m2_Biny()
int MDTChamber::GetMDTHitsPerML_m2_Biny |
( |
| ) |
|
|
inline |
◆ getName()
const std::string& MDTChamber::getName |
( |
| ) |
const |
|
inline |
◆ GetRegionEnum()
int MDTChamber::GetRegionEnum |
( |
| ) |
|
|
inline |
◆ GetStationEta()
int MDTChamber::GetStationEta |
( |
| ) |
|
|
inline |
◆ GetStationPhi()
int MDTChamber::GetStationPhi |
( |
| ) |
|
|
inline |
◆ SetMDTHitsPerChamber_IMO_Bin()
void MDTChamber::SetMDTHitsPerChamber_IMO_Bin |
( |
TH2F * |
h | ) |
|
Definition at line 173 of file MDTChamber.cxx.
177 std::string_view station_eta_s = name_v.substr(3, 1);
178 std::string_view statphi_s = name_v.substr(5, 2);
179 if (name_v.substr(0, 4) ==
"BMF2") station_eta_s =
"3";
180 if (name_v.substr(0, 4) ==
"BMF3") station_eta_s =
"5";
182 std::string ecap_layer_IMO = std::string(name_v.substr(0, 1));
183 ecap_layer_IMO += name_v.substr(4, 1);
184 ecap_layer_IMO += station_eta_s;
187 if (name_v ==
"BML4A13") ecap_layer_IMO =
"BA5";
188 if (name_v ==
"BML5A13") ecap_layer_IMO =
"BA6";
189 if (name_v ==
"BML4C13") ecap_layer_IMO =
"BC5";
190 if (name_v ==
"BML5C13") ecap_layer_IMO =
"BC6";
193 if (name_v ==
"BME1A14" || name_v ==
"BME1A13") {
194 ecap_layer_IMO =
"BA4";
197 if (name_v ==
"BME1C14" || name_v ==
"BME1C13") {
198 ecap_layer_IMO =
"BC4";
202 if (name_v.substr(0, 5) ==
"BMF2A") ecap_layer_IMO =
"BA3";
203 if (name_v.substr(0, 5) ==
"BMF3A") ecap_layer_IMO =
"BA5";
204 if (name_v.substr(0, 5) ==
"BMF2C") ecap_layer_IMO =
"BC3";
205 if (name_v.substr(0, 5) ==
"BMF3C") ecap_layer_IMO =
"BC5";
207 std::string statphi_IMO_s = std::string(name_v.substr(1, 1));
208 statphi_IMO_s +=
',';
209 statphi_IMO_s += statphi_s;
211 if (name_v.substr(0, 3) ==
"BIR" || name_v.substr(0, 3) ==
"BIM") {
212 statphi_IMO_s +=
',';
213 statphi_IMO_s += name_v.at(2);
216 int binx =
h->GetXaxis()->FindBin(ecap_layer_IMO.c_str());
217 int biny =
h->GetYaxis()->FindBin(statphi_IMO_s.c_str());
◆ SetMDTHitsPerML_byLayer_Bins()
void MDTChamber::SetMDTHitsPerML_byLayer_Bins |
( |
TH2F * |
h_mdthitspermultilayerLumi, |
|
|
TH2F * |
h_mdthitsperML_byLayer |
|
) |
| |
Definition at line 223 of file MDTChamber.cxx.
228 std::string statphi_ml1_s = statphi_s +
",1";
229 std::string statphi_ml2_s = statphi_s +
",2";
238 if (name_v.substr(0, 4) ==
"BMF2") stateta_s =
"3";
239 if (name_v.substr(0, 4) ==
"BMF3") stateta_s =
"5";
253 if (name_v.substr(0, 5) ==
"BMF2A") ecap_layer =
"BMA3";
254 if (name_v.substr(0, 5) ==
"BMF3A") ecap_layer =
"BMA5";
255 if (name_v.substr(0, 5) ==
"BMF2C") ecap_layer =
"BMC3";
256 if (name_v.substr(0, 5) ==
"BMF3C") ecap_layer =
"BMC5";
258 int binx = h_mdthitspermultilayerLumi->GetXaxis()->FindBin(ecap_layer.c_str());
259 int biny_m1 = h_mdthitspermultilayerLumi->GetYaxis()->FindBin(statphi_ml1_s.c_str());
260 int biny_m2 = biny_m1;
261 if (!(TString(h_mdthitspermultilayerLumi->GetName()) ==
"NumberOfHitsInBAExtraPerMultiLayer_ADCCut" ||
262 TString(h_mdthitspermultilayerLumi->GetName()) ==
"NumberOfHitsInBCExtraPerMultiLayer_ADCCut"))
263 biny_m2 = h_mdthitspermultilayerLumi->GetYaxis()->FindBin(statphi_ml2_s.c_str());
272 if ((statphi_ml1_s.substr(0, 2) ==
"11" || statphi_ml1_s.substr(0, 2) ==
"15") &&
m_hardware_name.at(0) ==
'E' &&
274 statphi_ml1_s +=
",R";
275 statphi_ml2_s +=
",R";
278 m_binx = h_mdthitsperML_byLayer->GetXaxis()->FindBin(ecap_layer.c_str());
279 m_biny_m1 = h_mdthitsperML_byLayer->GetYaxis()->FindBin(statphi_ml1_s.c_str());
280 m_biny_m2 = h_mdthitsperML_byLayer->GetYaxis()->FindBin(statphi_ml2_s.c_str());
◆ m_barrel_region
short int MDTChamber::m_barrel_region |
|
private |
◆ m_binx
short int MDTChamber::m_binx |
|
private |
◆ m_biny_m1
short int MDTChamber::m_biny_m1 |
|
private |
◆ m_biny_m2
short int MDTChamber::m_biny_m2 |
|
private |
◆ m_crate
◆ m_crate_str
std::string MDTChamber::m_crate_str |
|
private |
◆ m_hardware_name
std::string MDTChamber::m_hardware_name |
|
private |
◆ m_layer_region
short int MDTChamber::m_layer_region |
|
private |
◆ m_mdthitsperchamber_InnerMiddleOuterLumi_bin
short int MDTChamber::m_mdthitsperchamber_InnerMiddleOuterLumi_bin |
|
private |
◆ m_mdthitsperchamber_InnerMiddleOuterLumi_binx
short int MDTChamber::m_mdthitsperchamber_InnerMiddleOuterLumi_binx |
|
private |
◆ m_mdthitsperchamber_InnerMiddleOuterLumi_biny
short int MDTChamber::m_mdthitsperchamber_InnerMiddleOuterLumi_biny |
|
private |
◆ m_mdthitsperML_byLayer_bin_m1
short int MDTChamber::m_mdthitsperML_byLayer_bin_m1 |
|
private |
◆ m_mdthitsperML_byLayer_bin_m2
short int MDTChamber::m_mdthitsperML_byLayer_bin_m2 |
|
private |
◆ m_mdthitspermultilayerLumi_bin_m1
short int MDTChamber::m_mdthitspermultilayerLumi_bin_m1 |
|
private |
◆ m_mdthitspermultilayerLumi_bin_m1_binx
short int MDTChamber::m_mdthitspermultilayerLumi_bin_m1_binx |
|
private |
◆ m_mdthitspermultilayerLumi_bin_m1_biny
short int MDTChamber::m_mdthitspermultilayerLumi_bin_m1_biny |
|
private |
◆ m_mdthitspermultilayerLumi_bin_m2
short int MDTChamber::m_mdthitspermultilayerLumi_bin_m2 |
|
private |
◆ m_mdthitspermultilayerLumi_bin_m2_biny
short int MDTChamber::m_mdthitspermultilayerLumi_bin_m2_biny |
|
private |
◆ m_station_eta
short int MDTChamber::m_station_eta |
|
private |
◆ m_station_phi
short int MDTChamber::m_station_phi |
|
private |
◆ mdt_DRvsDRerr
TH2F_LW* MDTChamber::mdt_DRvsDRerr |
◆ mdt_DRvsDT
TH2F_LW* MDTChamber::mdt_DRvsDT |
◆ mdt_DRvsSegD
TH2F_LW* MDTChamber::mdt_DRvsSegD |
◆ mdt_effCounts
TH1F_LW* MDTChamber::mdt_effCounts |
◆ mdt_effEntries
TH1F_LW* MDTChamber::mdt_effEntries |
◆ mdt_effPerTube
TH1F_LW* MDTChamber::mdt_effPerTube |
◆ mdtadc
TH1F_LW* MDTChamber::mdtadc |
◆ mdtadc_onSegm_ML1
TH1F_LW* MDTChamber::mdtadc_onSegm_ML1 |
◆ mdtadc_onSegm_ML2
TH1F_LW* MDTChamber::mdtadc_onSegm_ML2 |
◆ mdtlayer
TH1F_LW* MDTChamber::mdtlayer |
◆ mdtmezz
TH1F_LW* MDTChamber::mdtmezz |
◆ mdttdc
TH1F_LW* MDTChamber::mdttdc |
◆ mdttdcadc
TH2F_LW* MDTChamber::mdttdcadc |
◆ mdttdccut_ML1
TH1F_LW* MDTChamber::mdttdccut_ML1 |
◆ mdttdccut_ML2
TH1F_LW* MDTChamber::mdttdccut_ML2 |
◆ mdttdctube
TH1F_LW* MDTChamber::mdttdctube |
◆ mdttube
TH1F_LW* MDTChamber::mdttube |
◆ mdttube_masked
TH1F_LW* MDTChamber::mdttube_masked |
◆ mdttubenoise
TH1F_LW* MDTChamber::mdttubenoise |
The documentation for this class was generated from the following files: