CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::ArmData |
( |
| ) |
|
|
inline |
Definition at line 114 of file CTPPSProtonReconstructionEfficiencyEstimatorData.cc.
References CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::EffPlots::EffPlots(), and n_exp_prot_max.
117 h_de_x(
new TH1D(
"",
";x_{F} - x_{N} (mm)", 200, -1., +1.)),
118 h_de_y(
new TH1D(
"",
";y_{F} - y_{N} (mm)", 200, -1., +1.)),
119 h2_de_y_vs_de_x(
new TH2D(
"",
";x_{F} - x_{N} (mm);y_{F} - y_{N} (mm)", 100, -1., +1., 100, -1., +1.)),
126 for (
unsigned int nsi = 0; nsi <
n_sigmas.size(); ++nsi) {
std::map< unsigned int, std::map< unsigned int, EffPlots > > effPlots
std::unique_ptr< TH1D > h_de_y
unsigned int n_exp_prot_max
std::unique_ptr< TH1D > h_de_x
unsigned int n_events_with_tracks
std::unique_ptr< TH2D > h2_de_y_vs_de_x
std::vector< double > n_sigmas
Definition at line 177 of file CTPPSProtonReconstructionEfficiencyEstimatorData.cc.
References CTPPSDetId::arm(), protons_cff::decRPId, LHCOpticalFunctionsSet::exd, LHCOpticalFunctionsSet::getFcnValues(), LHCOpticalFunctionsSet::getXiValues(), NULL, AlCaHLTBitMon_ParallelJobs::p, CTPPSDetId::rp(), year_2016_postTS2_cff::rpId, rpId_N, and CTPPSDetId::station().
180 for (
const auto &
p : ofc) {
191 edm::LogError(
"ArmData::UpdateOptics") <<
"Cannot find optical functions for RP " <<
rpId_N;
195 std::vector<double> xiValues =
198 s_x_to_xi_N = std::make_shared<TSpline3>(
"", xDValues.data(), xiValues.data(), xiValues.size());
std::shared_ptr< const TSpline3 > s_x_to_xi_N
const std::vector< double > & getXiValues() const
Set of optical functions corresponding to one scoring plane along LHC, including splines for interpol...
Base class for CTPPS detector IDs.
const std::vector< std::vector< double > > & getFcnValues() const
void CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::write |
( |
| ) |
const |
|
inline |
Definition at line 132 of file CTPPSProtonReconstructionEfficiencyEstimatorData.cc.
References g.
140 sprintf(buf,
"g_de_y_vs_de_x_n_si=%.1f", n_si);
141 TGraph *
g =
new TGraph();
153 TDirectory *d_top = gDirectory;
155 for (
const auto &nep_p :
effPlots) {
156 if (nep_p.first == 0)
157 sprintf(buf,
"exp prot all");
159 sprintf(buf,
"exp prot %u", nep_p.first);
161 TDirectory *d_nep = d_top->mkdir(buf);
163 for (
const auto &nsi_p : nep_p.second) {
164 sprintf(buf,
"nsi = %.1f", n_sigmas[nsi_p.first]);
166 TDirectory *d_nsi = d_nep->mkdir(buf);
170 nsi_p.second.write();
std::map< unsigned int, std::map< unsigned int, EffPlots > > effPlots
std::unique_ptr< TH1D > h_de_y
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
std::unique_ptr< TH1D > h_de_x
std::unique_ptr< TH2D > h2_de_y_vs_de_x
std::vector< double > n_sigmas
double CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::de_x_mean |
double CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::de_x_sigma |
double CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::de_y_mean |
double CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::de_y_sigma |
std::map<unsigned int, std::map<unsigned int, EffPlots> > CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::effPlots |
std::unique_ptr<TH2D> CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::h2_de_y_vs_de_x |
std::unique_ptr<TH1D> CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::h_de_x |
std::unique_ptr<TH1D> CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::h_de_y |
unsigned int CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::n_events_with_tracks |
unsigned int CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::n_exp_prot_max |
std::vector<double> CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::n_sigmas |
unsigned int CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::rpId_F |
unsigned int CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::rpId_N |
std::shared_ptr<const TSpline3> CTPPSProtonReconstructionEfficiencyEstimatorData::ArmData::s_x_to_xi_N |