#include <MSLayersKeeperX0AtEta.h>
Definition at line 13 of file MSLayersKeeperX0AtEta.h.
◆ MSLayersKeeperX0AtEta()
Definition at line 37 of file MSLayersKeeperX0AtEta.cc.
References newFWLiteAna::bin, HLT_2022v15_cff::candidates, PVValHelper::eta, ALCARECOTkAlBeamHalo_cff::etaMax, MSLayersAtAngle::findLayer(), newFWLiteAna::found, hgcalTopologyTester_cfi::layers, makeLayoutFileForGui::layout, mps_splice::line, SiStripPI::max, MultipleScatteringX0Data::maxEta(), MultipleScatteringX0Data::nBinsEta(), jetsAK4_CHS_cff::sort, PbPb_ZMuSkimMuonDPG_cff::tracker, and SiPixelPI::zero.
38 const float BIG = 99999.;
48 for (
int idxbin = 0; idxbin < 2 *
theHalfNBins; idxbin++) {
49 float etaValue =
eta(idxbin);
50 float cotTheta = sinh(etaValue);
52 vector<MSLayer>
layers =
layout.detLayers(etaValue, 0, bfield);
53 vector<MSLayer> tmplay =
layout.otherLayers(etaValue);
54 layers.insert(
layers.end(), tmplay.begin(), tmplay.end());
60 vector<MSLayer>::iterator it;
71 for (
int idxbin = 0; idxbin < 2 *
theHalfNBins; idxbin++) {
72 float etaValue =
eta(idxbin);
73 for (
int isign = -1; isign <= 1; isign += 2) {
74 float z = isign * 15.9;
77 vector<MSLayer>::iterator it;
const MSLayersAtAngle & layers(float cotTheta) const override
const MSLayer * findLayer(const MSLayer &layer) const
static void setDataX0(MSLayer &l, const DataX0 &x0Data)
float eta(int idxBin) const
static const DataX0 & getDataX0(const MSLayer &l)
static void setX0(std::vector< MSLayer > &, float eta, const SumX0AtEtaDataProvider &)
std::vector< MSLayersAtAngle > theLayersData
◆ ~MSLayersKeeperX0AtEta()
MSLayersKeeperX0AtEta::~MSLayersKeeperX0AtEta |
( |
| ) |
|
|
overridedefault |
◆ eta()
float MSLayersKeeperX0AtEta::eta |
( |
int |
idxBin | ) |
const |
|
private |
◆ idxBin()
int MSLayersKeeperX0AtEta::idxBin |
( |
float |
eta | ) |
const |
|
private |
◆ layers()
const MSLayersAtAngle & MSLayersKeeperX0AtEta::layers |
( |
float |
cotTheta | ) |
const |
|
overridevirtual |
◆ setX0()
◆ MSLayersKeeperX0Averaged
◆ theDeltaEta
float MSLayersKeeperX0AtEta::theDeltaEta |
|
private |
◆ theHalfNBins
int MSLayersKeeperX0AtEta::theHalfNBins |
|
private |
◆ theLayersData