#include <MDTChamber.h>
Definition at line 22 of file MDTChamber.h.
◆ MDTChamber()
MDTChamber::MDTChamber |
( |
std::string_view |
name | ) |
|
Definition at line 15 of file MDTChamber.cxx.
64 if (
name.size() >= 7) {
88 else if (layerName ==
'M')
90 else if (layerName ==
'O')
92 else if (layerName ==
'E')
101 std::string_view statphi_s(
name.substr(5, 2));
113 if ((
Barrel ==
'B' &&
name.substr(0, 3) !=
"BEE" &&
name.substr(0, 3) !=
"BIS") ||
119 else if (
Side ==
'C')
121 }
else if (m_station_phi < 8 && m_station_phi > 3) {
125 else if (
Side ==
'C')
127 }
else if (m_station_phi < 12 && m_station_phi > 7) {
131 else if (
Side ==
'C')
137 else if (
Side ==
'C')
145 else if (
Side ==
'C')
147 }
else if (m_station_phi < 8 && m_station_phi > 3) {
151 else if (
Side ==
'C')
153 }
else if (m_station_phi < 12 && m_station_phi > 7) {
157 else if (
Side ==
'C')
163 else if (
Side ==
'C')
◆ ~MDTChamber()
MDTChamber::~MDTChamber |
( |
| ) |
|
|
default |
◆ GetBarrelEndcapEnum()
int MDTChamber::GetBarrelEndcapEnum |
( |
| ) |
|
|
inline |
◆ GetCrate()
int MDTChamber::GetCrate |
( |
| ) |
|
|
inline |
◆ GetCrate_String()
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 175 of file MDTChamber.cxx.
179 std::string_view station_eta_s = name_v.substr(3, 1);
180 std::string_view statphi_s = name_v.substr(5, 2);
181 if (name_v.substr(0, 4) ==
"BMF2") station_eta_s =
"3";
182 if (name_v.substr(0, 4) ==
"BMF3") station_eta_s =
"5";
184 std::string ecap_layer_IMO = std::string(name_v.substr(0, 1));
185 ecap_layer_IMO += name_v.substr(4, 1);
186 ecap_layer_IMO += station_eta_s;
189 if (name_v ==
"BML4A13") ecap_layer_IMO =
"BA5";
190 if (name_v ==
"BML5A13") ecap_layer_IMO =
"BA6";
191 if (name_v ==
"BML4C13") ecap_layer_IMO =
"BC5";
192 if (name_v ==
"BML5C13") ecap_layer_IMO =
"BC6";
195 if (name_v ==
"BME1A14" || name_v ==
"BME1A13") {
196 ecap_layer_IMO =
"BA4";
199 if (name_v ==
"BME1C14" || name_v ==
"BME1C13") {
200 ecap_layer_IMO =
"BC4";
204 if (name_v.substr(0, 5) ==
"BMF2A") ecap_layer_IMO =
"BA3";
205 if (name_v.substr(0, 5) ==
"BMF3A") ecap_layer_IMO =
"BA5";
206 if (name_v.substr(0, 5) ==
"BMF2C") ecap_layer_IMO =
"BC3";
207 if (name_v.substr(0, 5) ==
"BMF3C") ecap_layer_IMO =
"BC5";
209 std::string statphi_IMO_s = std::string(name_v.substr(1, 1));
210 statphi_IMO_s +=
',';
211 statphi_IMO_s += statphi_s;
213 if (name_v.substr(0, 3) ==
"BIR" || name_v.substr(0, 3) ==
"BIM") {
214 statphi_IMO_s +=
',';
215 statphi_IMO_s += name_v.at(2);
218 int binx =
h->GetXaxis()->FindBin(ecap_layer_IMO.c_str());
219 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 225 of file MDTChamber.cxx.
230 std::string statphi_ml1_s = statphi_s +
",1";
231 std::string statphi_ml2_s = statphi_s +
",2";
240 if (name_v.substr(0, 4) ==
"BMF2") stateta_s =
"3";
241 if (name_v.substr(0, 4) ==
"BMF3") stateta_s =
"5";
255 if (name_v.substr(0, 5) ==
"BMF2A") ecap_layer =
"BMA3";
256 if (name_v.substr(0, 5) ==
"BMF3A") ecap_layer =
"BMA5";
257 if (name_v.substr(0, 5) ==
"BMF2C") ecap_layer =
"BMC3";
258 if (name_v.substr(0, 5) ==
"BMF3C") ecap_layer =
"BMC5";
260 int binx = h_mdthitspermultilayerLumi->GetXaxis()->FindBin(ecap_layer.c_str());
261 int biny_m1 = h_mdthitspermultilayerLumi->GetYaxis()->FindBin(statphi_ml1_s.c_str());
262 int biny_m2 = biny_m1;
263 if (!(TString(h_mdthitspermultilayerLumi->GetName()) ==
"NumberOfHitsInBAExtraPerMultiLayer_ADCCut" ||
264 TString(h_mdthitspermultilayerLumi->GetName()) ==
"NumberOfHitsInBCExtraPerMultiLayer_ADCCut"))
265 biny_m2 = h_mdthitspermultilayerLumi->GetYaxis()->FindBin(statphi_ml2_s.c_str());
274 if ((statphi_ml1_s.substr(0, 2) ==
"11" || statphi_ml1_s.substr(0, 2) ==
"15") &&
m_hardware_name.at(0) ==
'E' &&
276 statphi_ml1_s +=
",R";
277 statphi_ml2_s +=
",R";
280 m_binx = h_mdthitsperML_byLayer->GetXaxis()->FindBin(ecap_layer.c_str());
281 m_biny_m1 = h_mdthitsperML_byLayer->GetYaxis()->FindBin(statphi_ml1_s.c_str());
282 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
◆ mdt_DRvsDT
◆ mdt_DRvsSegD
◆ mdt_effCounts
◆ mdt_effEntries
TH1F_LW* MDTChamber::mdt_effEntries |
◆ mdt_effPerTube
TH1F_LW* MDTChamber::mdt_effPerTube |
◆ mdtadc
◆ mdtadc_onSegm_ML1
TH1F_LW* MDTChamber::mdtadc_onSegm_ML1 |
◆ mdtadc_onSegm_ML2
TH1F_LW* MDTChamber::mdtadc_onSegm_ML2 |
◆ mdtlayer
◆ mdtmezz
◆ mdttdc
◆ mdttdcadc
◆ mdttdccut_ML1
◆ mdttdccut_ML2
◆ mdttdctube
◆ mdttube
◆ mdttube_masked
TH1F_LW* MDTChamber::mdttube_masked |
◆ mdttubenoise
The documentation for this class was generated from the following files: