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 43 of file DiMuonMassBiasClient.h.

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

Referenced by DiMuonMassBiasClient::DiMuonMassBiasClient().

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

◆ fillArrayI()

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

Definition at line 49 of file DiMuonMassBiasClient.h.

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

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

Variable Documentation

◆ minimumHits

constexpr int diMuonMassBias::minimumHits = 10
static

Definition at line 55 of file DiMuonMassBiasClient.h.

Referenced by DiMuonMassBiasClient::fitLineShape().