CMS 3D CMS Logo

Classes | Functions | Variables
diMuonMassBias Namespace Reference

Classes

struct  fitOutputs
 

Functions

void fillArrayF (float *x, const edm::ParameterSet &cfg, const char *name)
 
void fillArrayI (int *x, const edm::ParameterSet &cfg, const char *name)
 

Variables

static constexpr int minimumHits = 10
 

Function Documentation

◆ fillArrayF()

void diMuonMassBias::fillArrayF ( float *  x,
const edm::ParameterSet cfg,
const char *  name 
)
inline

Definition at line 40 of file DiMuonMassBiasClient.h.

References cms::cuda::assert(), looper::cfg, filterCSVwithJSON::copy, mps_fire::end, Skims_PA_cff::name, findQualityFiles::v, and x.

Referenced by DiMuonMassBiasClient::DiMuonMassBiasClient().

40  {
41  auto v = cfg.getParameter<std::vector<double>>(name);
42  assert(v.size() == 3);
43  std::copy(std::begin(v), std::end(v), x);
44  }
assert(be >=bs)
float x

◆ fillArrayI()

void diMuonMassBias::fillArrayI ( int *  x,
const edm::ParameterSet cfg,
const char *  name 
)
inline

Definition at line 46 of file DiMuonMassBiasClient.h.

References cms::cuda::assert(), looper::cfg, filterCSVwithJSON::copy, mps_fire::end, Skims_PA_cff::name, findQualityFiles::v, and x.

46  {
47  auto v = cfg.getParameter<std::vector<int>>(name);
48  assert(v.size() == 3);
49  std::copy(std::begin(v), std::end(v), x);
50  }
assert(be >=bs)
float x

Variable Documentation

◆ minimumHits

constexpr int diMuonMassBias::minimumHits = 10
static

Definition at line 52 of file DiMuonMassBiasClient.h.

Referenced by DiMuonMassBiasClient::fitVoigt().