ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
FPGATrackSimGenScanPhiSlicedKeyLyrBinning Class Reference

#include <FPGATrackSimGenScanBinning.h>

Inheritance diagram for FPGATrackSimGenScanPhiSlicedKeyLyrBinning:
Collaboration diagram for FPGATrackSimGenScanPhiSlicedKeyLyrBinning:

Public Types

typedef std::vector< double > ParSet
 
typedef std::vector< unsigned int > IdxSet
 

Public Member Functions

 FPGATrackSimGenScanPhiSlicedKeyLyrBinning (double r_in, double r_out)
 
virtual const std::string & parNames (unsigned i) const override
 
virtual unsigned rowParIdx () const override
 
virtual std::vector< unsigned > slicePars () const override
 
virtual std::vector< unsigned > scanPars () const override
 
virtual double etaHistScale () const override
 
virtual double phiHistScale () const override
 
ParSet keyparsToParSet (const FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars &keypars) const
 
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars parSetToKeyPars (const ParSet &parset) const
 
virtual const ParSet trackParsToParSet (const FPGATrackSimTrackPars &pars) const override
 
virtual const FPGATrackSimTrackPars parSetToTrackPars (const ParSet &parset) const override
 
virtual double phiResidual (const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug) const override
 
virtual double etaResidual (const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug) const override
 
virtual bool hitInSlice (const IdxSet &idx, FPGATrackSimHit const *hit) const override
 
virtual std::pair< unsigned, unsigned > idxsetToRowParBinRange (const IdxSet &idx, [[maybe_unused]] FPGATrackSimHit const *hit) const override
 
virtual std::pair< unsigned, unsigned > idxsetToRowParBinRange (const IdxSet &idx, FPGATrackSimHit const *hit) const
 
std::vector< unsigned > sliceAndScanPars () const
 
double phiShift (const IdxSet &idx, FPGATrackSimHit const *hit, bool debug=false) const
 
double etaShift (const IdxSet &idx, FPGATrackSimHit const *hit, bool debug=false) const
 
virtual std::vector< unsigned > sliceBins () const
 
virtual std::vector< unsigned > scanBins () const
 
virtual std::vector< unsigned > sliceAndScanBins () const
 
virtual unsigned rowBin () const
 
virtual std::vector< unsigned > sliceIdx (const IdxSet &idx) const
 
virtual std::vector< unsigned > scanIdx (const IdxSet &idx) const
 
virtual std::vector< unsigned > sliceAndScanIdx (const IdxSet &idx) const
 
virtual unsigned rowIdx (const IdxSet &idx) const
 
double binCenter (unsigned par, unsigned bin) const
 
ParSet binCenter (const IdxSet &idx) const
 
double binLowEdge (unsigned par, unsigned bin) const
 
ParSet binLowEdge (const IdxSet &idx) const
 
double binHighEdge (unsigned par, unsigned bin) const
 
ParSet center () const
 
unsigned binIdx (unsigned par, double val) const
 
IdxSet binIdx (const ParSet &pars) const
 
unsigned rowParBinIdx (double val) const
 
bool inRange (unsigned par, double val) const
 
bool inRange (const ParSet &pars) const
 
const IdxSet parsToBin (FPGATrackSimTrackPars &pars) const
 
std::vector< unsigned > subVec (const std::vector< unsigned > &elems, const std::vector< unsigned > &invec) const
 
StatusCode setIdxSubVec (IdxSet &idx, const std::vector< unsigned > &subvecelems, const std::vector< unsigned > &subvecidx) const
 
std::vector< ParSetmakeVariationSet (const std::vector< unsigned > &scanpars, const IdxSet &idx) const
 

Public Attributes

std::vector< double > m_parMin
 
std::vector< double > m_parMax
 
std::vector< double > m_parStep
 
std::vector< unsigned > m_parBins
 
const std::vector< unsigned > m_invalidBin
 

Static Public Attributes

static constexpr unsigned NPars = 5
 

Private Member Functions

virtual double sliceVar ([[maybe_unused]] FPGATrackSimHit const *hit) const
 
virtual double sliceVarExpected ([[maybe_unused]] const ParSet &pars, [[maybe_unused]] FPGATrackSimHit const *hit) const
 
virtual double rowPar ([[maybe_unused]] const ParSet &pars, [[maybe_unused]] FPGATrackSimHit const *hit) const
 

Private Attributes

FPGATrackSimGenScanKeyLyrHelper m_keylyrtool
 
const std::vector< std::string > m_parNames
 

Detailed Description

Definition at line 451 of file FPGATrackSimGenScanBinning.h.

Member Typedef Documentation

◆ IdxSet

typedef std::vector<unsigned int> FPGATrackSimGenScanBinningBase::IdxSet
inherited

Definition at line 79 of file FPGATrackSimGenScanBinning.h.

◆ ParSet

typedef std::vector<double> FPGATrackSimGenScanBinningBase::ParSet
inherited

Definition at line 78 of file FPGATrackSimGenScanBinning.h.

Constructor & Destructor Documentation

◆ FPGATrackSimGenScanPhiSlicedKeyLyrBinning()

FPGATrackSimGenScanPhiSlicedKeyLyrBinning::FPGATrackSimGenScanPhiSlicedKeyLyrBinning ( double  r_in,
double  r_out 
)
inline

Definition at line 455 of file FPGATrackSimGenScanBinning.h.

455  :
456  m_keylyrtool(r_in,r_out), m_parNames({"zR1", "zR2", "phiR1", "phiR2", "xm"}) {}

Member Function Documentation

◆ binCenter() [1/2]

FPGATrackSimGenScanBinningBase::ParSet FPGATrackSimGenScanBinningBase::binCenter ( const IdxSet idx) const
inherited

Definition at line 67 of file FPGATrackSimGenScanBinning.cxx.

68 {
69  ParSet parset(NPars);
70  for (unsigned i = 0; i < NPars; i++)
71  {
72  parset[i] = binCenter(i, idx[i]);
73  }
74  return parset;
75 }

◆ binCenter() [2/2]

double FPGATrackSimGenScanBinningBase::binCenter ( unsigned  par,
unsigned  bin 
) const
inlineinherited

Definition at line 163 of file FPGATrackSimGenScanBinning.h.

163 { return m_parMin[par] + m_parStep[par] * (double(bin) + 0.5); }

◆ binHighEdge()

double FPGATrackSimGenScanBinningBase::binHighEdge ( unsigned  par,
unsigned  bin 
) const
inlineinherited

Definition at line 165 of file FPGATrackSimGenScanBinning.h.

165 { return m_parMin[par] + m_parStep[par] * (double(bin) + 1.0); }

◆ binIdx() [1/2]

FPGATrackSimGenScanBinningBase::IdxSet FPGATrackSimGenScanBinningBase::binIdx ( const ParSet pars) const
inherited

Definition at line 28 of file FPGATrackSimGenScanBinning.cxx.

29 {
30  IdxSet retv(NPars);
31  for (unsigned i = 0; i < NPars; i++)
32  {
33  retv[i] = binIdx(i, pars[i]);
34  }
35  return retv;
36 }

◆ binIdx() [2/2]

unsigned FPGATrackSimGenScanBinningBase::binIdx ( unsigned  par,
double  val 
) const
inlineinherited

Definition at line 173 of file FPGATrackSimGenScanBinning.h.

173 { return (val > m_parMin[par]) ? unsigned(floor((val - m_parMin[par]) / m_parStep[par])) : 0; }

◆ binLowEdge() [1/2]

FPGATrackSimGenScanBinningBase::ParSet FPGATrackSimGenScanBinningBase::binLowEdge ( const IdxSet idx) const
inherited

Definition at line 57 of file FPGATrackSimGenScanBinning.cxx.

58 {
59  ParSet parset(NPars);
60  for (unsigned i = 0; i < NPars; i++)
61  {
62  parset[i] = binLowEdge(i, idx[i]);
63  }
64  return parset;
65 }

◆ binLowEdge() [2/2]

double FPGATrackSimGenScanBinningBase::binLowEdge ( unsigned  par,
unsigned  bin 
) const
inlineinherited

Definition at line 164 of file FPGATrackSimGenScanBinning.h.

164 { return m_parMin[par] + m_parStep[par] * (double(bin)); }

◆ center()

FPGATrackSimGenScanBinningBase::ParSet FPGATrackSimGenScanBinningBase::center ( ) const
inherited

Definition at line 47 of file FPGATrackSimGenScanBinning.cxx.

48 {
49  ParSet parset(NPars);
50  for (unsigned i = 0; i < NPars; i++)
51  {
52  parset[i] = (m_parMin[i] + m_parMin[i]) / 2.0;
53  }
54  return parset;
55 }

◆ etaHistScale()

virtual double FPGATrackSimGenScanPhiSlicedKeyLyrBinning::etaHistScale ( ) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 462 of file FPGATrackSimGenScanBinning.h.

462 {return 60.0;}

◆ etaResidual()

virtual double FPGATrackSimGenScanPhiSlicedKeyLyrBinning::etaResidual ( const ParSet parset,
FPGATrackSimHit const hit,
[[maybe_unused] ] bool  debug 
) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 488 of file FPGATrackSimGenScanBinning.h.

489  {
490  return hit->getZ()- m_keylyrtool.zExpected(parSetToKeyPars(parset),hit->getR());
491  }

◆ etaShift()

double FPGATrackSimGenScanBinningBase::etaShift ( const IdxSet idx,
FPGATrackSimHit const hit,
bool  debug = false 
) const
inlineinherited

Definition at line 148 of file FPGATrackSimGenScanBinning.h.

148 { return etaResidual(binCenter(idx),hit,debug);}

◆ hitInSlice()

virtual bool FPGATrackSimGenScanPhiSlicedKeyLyrBinning::hitInSlice ( const IdxSet idx,
FPGATrackSimHit const hit 
) const
inlineoverridevirtual

Reimplemented from FPGATrackSimGenScanBinningBase.

Definition at line 493 of file FPGATrackSimGenScanBinning.h.

493  {
494  double r1 = m_keylyrtool.R1();
495  double r2 = m_keylyrtool.R2();
496  auto keypars = parSetToKeyPars(binCenter(idx));
497  auto tmppars = keypars;
498  tmppars.xm = m_parStep[4] / 2.0;
499  double xrange = m_keylyrtool.xExpected(tmppars, hit) + (r1*m_parStep[2] + (r2*m_parStep[3] - r1*m_parStep[2]) / (r2 - r1) * (hit->getR() - r1))/2.0;
500  return (std::abs(phiShift(idx, hit)) < xrange);
501  }

◆ idxsetToRowParBinRange() [1/2]

virtual std::pair<unsigned, unsigned> FPGATrackSimGenScanPhiSlicedKeyLyrBinning::idxsetToRowParBinRange ( const IdxSet idx,
[[maybe_unused] ] FPGATrackSimHit const hit 
) const
inlineoverridevirtual

Definition at line 503 of file FPGATrackSimGenScanBinning.h.

504  {
505  double r1 = m_keylyrtool.R1();
506  double r2 = m_keylyrtool.R2();
507  double lowz_in = binLowEdge(0,idx[0]);
508  double highz_in = binHighEdge(0,idx[0]);
509  double lowz_out = binLowEdge(1,idx[1]);
510  double highz_out = binHighEdge(1,idx[1]);
511 
512 
513  // simple box cut
514  if (hit->getZ() < lowz_in + (lowz_out-lowz_in) * (hit->getR()-r1)/(r2-r1))
515  return std::pair<unsigned, unsigned>(0, 0); // empty range
516 
517  if (hit->getZ() > highz_in + (highz_out-highz_in) * (hit->getR()-r1)/(r2-r1))
518  return std::pair<unsigned, unsigned>(0, 0); // empty range
519 
520  return std::pair<unsigned, unsigned>(rowIdx(idx), rowIdx(idx) + 1); // range covers just 1 row bin
521  }

◆ idxsetToRowParBinRange() [2/2]

std::pair< unsigned, unsigned > FPGATrackSimGenScanBinningBase::idxsetToRowParBinRange ( const IdxSet idx,
FPGATrackSimHit const hit 
) const
virtualinherited

Definition at line 142 of file FPGATrackSimGenScanBinning.cxx.

143 {
144  // Get float values
145  double rowparmin = std::numeric_limits<double>::max();
146  double rowparmax = std::numeric_limits<double>::min();
147 
149 
150  for (auto &pars : variations)
151  {
152  double rowparhit = rowPar(pars, hit);
153  rowparmin = std::min(rowparmin, rowparhit);
154  rowparmax = std::max(rowparmax, rowparhit);
155  }
156 
157  // only consider parameter bins in range
158  unsigned lowbin = std::max(rowParBinIdx(rowparmin), unsigned(0));
159  unsigned highbin = std::min(rowParBinIdx(rowparmax) + 1, m_parBins[rowParIdx()] );
160 
161  return {lowbin, highbin};
162 }

◆ inRange() [1/2]

bool FPGATrackSimGenScanBinningBase::inRange ( const ParSet pars) const
inherited

Definition at line 18 of file FPGATrackSimGenScanBinning.cxx.

19 {
20  for (unsigned i = 0; i < NPars; i++)
21  {
22  if (!inRange(i, pars[i]))
23  return false;
24  }
25  return true;
26 }

◆ inRange() [2/2]

bool FPGATrackSimGenScanBinningBase::inRange ( unsigned  par,
double  val 
) const
inlineinherited

Definition at line 177 of file FPGATrackSimGenScanBinning.h.

177 { return ((val < m_parMax[par]) && (val > m_parMin[par])); }

◆ keyparsToParSet()

ParSet FPGATrackSimGenScanPhiSlicedKeyLyrBinning::keyparsToParSet ( const FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars keypars) const
inline

Definition at line 465 of file FPGATrackSimGenScanBinning.h.

465  {
466  return ParSet({keypars.z1,keypars.z2,keypars.phi1,keypars.phi2,keypars.xm});
467  }

◆ makeVariationSet()

std::vector< FPGATrackSimGenScanBinningBase::ParSet > FPGATrackSimGenScanBinningBase::makeVariationSet ( const std::vector< unsigned > &  scanpars,
const IdxSet idx 
) const
inherited

Definition at line 104 of file FPGATrackSimGenScanBinning.cxx.

105 {
106  std::vector<ParSet> retv;
107  for (unsigned corners = 0; corners < unsigned((1 << scanpars.size())); corners++)
108  {
109  IdxSet newidx = idx;
110  int scanDimCnt = 0;
111  for (auto &par : scanpars)
112  {
113  newidx[par] = idx[par] + ((corners >> scanDimCnt) & 1);
114  scanDimCnt++;
115  }
116  retv.push_back(binLowEdge(newidx));
117  }
118  return retv;
119 }

◆ parNames()

virtual const std::string& FPGATrackSimGenScanPhiSlicedKeyLyrBinning::parNames ( unsigned  i) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 457 of file FPGATrackSimGenScanBinning.h.

457 { return m_parNames[i]; }

◆ parSetToKeyPars()

FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars FPGATrackSimGenScanPhiSlicedKeyLyrBinning::parSetToKeyPars ( const ParSet parset) const
inline

Definition at line 469 of file FPGATrackSimGenScanBinning.h.

469  {
471  keypars.z1 = parset[0];
472  keypars.z2 = parset[1];
473  keypars.phi1 = parset[2];
474  keypars.phi2 = parset[3];
475  keypars.xm = parset[4];
476  return keypars;
477  }

◆ parSetToTrackPars()

virtual const FPGATrackSimTrackPars FPGATrackSimGenScanPhiSlicedKeyLyrBinning::parSetToTrackPars ( const ParSet parset) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 482 of file FPGATrackSimGenScanBinning.h.

482  {
484  }

◆ parsToBin()

const FPGATrackSimGenScanBinningBase::IdxSet FPGATrackSimGenScanBinningBase::parsToBin ( FPGATrackSimTrackPars pars) const
inherited

Definition at line 37 of file FPGATrackSimGenScanBinning.cxx.

38 {
39  ParSet parset = trackParsToParSet(pars);
40  if (inRange(parset))
41  {
42  return binIdx(parset);
43  }
44  return m_invalidBin;
45 }

◆ phiHistScale()

virtual double FPGATrackSimGenScanPhiSlicedKeyLyrBinning::phiHistScale ( ) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 463 of file FPGATrackSimGenScanBinning.h.

463 {return 30.0;}

◆ phiResidual()

double FPGATrackSimGenScanPhiSlicedKeyLyrBinning::phiResidual ( const ParSet parset,
FPGATrackSimHit const hit,
[[maybe_unused] ] bool  debug 
) const
overridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 391 of file FPGATrackSimGenScanBinning.cxx.

392 {
393  return m_keylyrtool.deltaX(parSetToKeyPars(parset), hit);
394 }

◆ phiShift()

double FPGATrackSimGenScanBinningBase::phiShift ( const IdxSet idx,
FPGATrackSimHit const hit,
bool  debug = false 
) const
inlineinherited

Definition at line 147 of file FPGATrackSimGenScanBinning.h.

147 { return phiResidual(binCenter(idx),hit,debug);}

◆ rowBin()

virtual unsigned FPGATrackSimGenScanBinningBase::rowBin ( ) const
inlinevirtualinherited

Definition at line 154 of file FPGATrackSimGenScanBinning.h.

154 { return m_parBins[rowParIdx()]; }

◆ rowIdx()

virtual unsigned FPGATrackSimGenScanBinningBase::rowIdx ( const IdxSet idx) const
inlinevirtualinherited

Definition at line 160 of file FPGATrackSimGenScanBinning.h.

160 { return idx[rowParIdx()]; }

◆ rowPar()

double FPGATrackSimGenScanBinningBase::rowPar ( [[maybe_unused] ] const ParSet pars,
[[maybe_unused] ] FPGATrackSimHit const hit 
) const
privatevirtualinherited

Definition at line 167 of file FPGATrackSimGenScanBinning.cxx.

167 {return 0.0; };

◆ rowParBinIdx()

unsigned FPGATrackSimGenScanBinningBase::rowParBinIdx ( double  val) const
inlineinherited

Definition at line 174 of file FPGATrackSimGenScanBinning.h.

174 { return binIdx(rowParIdx(), val); }

◆ rowParIdx()

virtual unsigned FPGATrackSimGenScanPhiSlicedKeyLyrBinning::rowParIdx ( ) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 458 of file FPGATrackSimGenScanBinning.h.

458 { return 4;}

◆ scanBins()

virtual std::vector<unsigned> FPGATrackSimGenScanBinningBase::scanBins ( ) const
inlinevirtualinherited

Definition at line 152 of file FPGATrackSimGenScanBinning.h.

152 { return subVec(scanPars(), m_parBins); }

◆ scanIdx()

virtual std::vector<unsigned> FPGATrackSimGenScanBinningBase::scanIdx ( const IdxSet idx) const
inlinevirtualinherited

Definition at line 158 of file FPGATrackSimGenScanBinning.h.

158 { return subVec(scanPars(), idx); }

◆ scanPars()

virtual std::vector<unsigned> FPGATrackSimGenScanPhiSlicedKeyLyrBinning::scanPars ( ) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 460 of file FPGATrackSimGenScanBinning.h.

460 { return std::vector<unsigned>({0,1}); }

◆ setIdxSubVec()

StatusCode FPGATrackSimGenScanBinningBase::setIdxSubVec ( IdxSet idx,
const std::vector< unsigned > &  subvecelems,
const std::vector< unsigned > &  subvecidx 
) const
inherited

Definition at line 87 of file FPGATrackSimGenScanBinning.cxx.

88 {
89  if (subvecelems.size()!=subvecidx.size()) {
90  return StatusCode::FAILURE;
91  }
92  for (unsigned i = 0; i < subvecelems.size(); i++)
93  {
94  if (subvecelems[i] >= idx.size()) {
95  return StatusCode::FAILURE;
96  }
97  idx[subvecelems[i]] = subvecidx[i];
98  }
99  return StatusCode::SUCCESS;
100 }

◆ sliceAndScanBins()

virtual std::vector<unsigned> FPGATrackSimGenScanBinningBase::sliceAndScanBins ( ) const
inlinevirtualinherited

Definition at line 153 of file FPGATrackSimGenScanBinning.h.

153 { return subVec(sliceAndScanPars(), m_parBins); }

◆ sliceAndScanIdx()

virtual std::vector<unsigned> FPGATrackSimGenScanBinningBase::sliceAndScanIdx ( const IdxSet idx) const
inlinevirtualinherited

Definition at line 159 of file FPGATrackSimGenScanBinning.h.

159 { return subVec(sliceAndScanPars(), idx); }

◆ sliceAndScanPars()

std::vector<unsigned> FPGATrackSimGenScanBinningBase::sliceAndScanPars ( ) const
inlineinherited

Definition at line 139 of file FPGATrackSimGenScanBinning.h.

139  {
140  std::vector<unsigned> retv = slicePars();
141  std::vector<unsigned> scan = scanPars();
142  retv.insert(retv.end(), scan.begin(), scan.end());
143  return retv;
144  };

◆ sliceBins()

virtual std::vector<unsigned> FPGATrackSimGenScanBinningBase::sliceBins ( ) const
inlinevirtualinherited

Definition at line 151 of file FPGATrackSimGenScanBinning.h.

151 { return subVec(slicePars(), m_parBins); }

◆ sliceIdx()

virtual std::vector<unsigned> FPGATrackSimGenScanBinningBase::sliceIdx ( const IdxSet idx) const
inlinevirtualinherited

Definition at line 157 of file FPGATrackSimGenScanBinning.h.

157 { return subVec(slicePars(), idx); }

◆ slicePars()

virtual std::vector<unsigned> FPGATrackSimGenScanPhiSlicedKeyLyrBinning::slicePars ( ) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 459 of file FPGATrackSimGenScanBinning.h.

459 { return std::vector<unsigned>({2,3,4}); }

◆ sliceVar()

double FPGATrackSimGenScanBinningBase::sliceVar ( [[maybe_unused] ] FPGATrackSimHit const hit) const
privatevirtualinherited

Definition at line 165 of file FPGATrackSimGenScanBinning.cxx.

165 { return 0.0; };

◆ sliceVarExpected()

double FPGATrackSimGenScanBinningBase::sliceVarExpected ( [[maybe_unused] ] const ParSet pars,
[[maybe_unused] ] FPGATrackSimHit const hit 
) const
privatevirtualinherited

Definition at line 166 of file FPGATrackSimGenScanBinning.cxx.

166 {return 0.0; };

◆ subVec()

std::vector< unsigned > FPGATrackSimGenScanBinningBase::subVec ( const std::vector< unsigned > &  elems,
const std::vector< unsigned > &  invec 
) const
inherited

Definition at line 77 of file FPGATrackSimGenScanBinning.cxx.

78 {
79  std::vector<unsigned> retv;
80  for (auto elem : elems)
81  {
82  retv.push_back(invec[elem]);
83  }
84  return retv;
85 }

◆ trackParsToParSet()

virtual const ParSet FPGATrackSimGenScanPhiSlicedKeyLyrBinning::trackParsToParSet ( const FPGATrackSimTrackPars pars) const
inlineoverridevirtual

Implements FPGATrackSimGenScanBinningBase.

Definition at line 479 of file FPGATrackSimGenScanBinning.h.

479  {
481  }

Member Data Documentation

◆ m_invalidBin

const std::vector<unsigned> FPGATrackSimGenScanBinningBase::m_invalidBin
inherited

◆ m_keylyrtool

FPGATrackSimGenScanKeyLyrHelper FPGATrackSimGenScanPhiSlicedKeyLyrBinning::m_keylyrtool
private

Definition at line 524 of file FPGATrackSimGenScanBinning.h.

◆ m_parBins

std::vector<unsigned> FPGATrackSimGenScanBinningBase::m_parBins
inherited

Definition at line 205 of file FPGATrackSimGenScanBinning.h.

◆ m_parMax

std::vector<double> FPGATrackSimGenScanBinningBase::m_parMax
inherited

Definition at line 203 of file FPGATrackSimGenScanBinning.h.

◆ m_parMin

std::vector<double> FPGATrackSimGenScanBinningBase::m_parMin
inherited

Definition at line 202 of file FPGATrackSimGenScanBinning.h.

◆ m_parNames

const std::vector<std::string> FPGATrackSimGenScanPhiSlicedKeyLyrBinning::m_parNames
private

Definition at line 525 of file FPGATrackSimGenScanBinning.h.

◆ m_parStep

std::vector<double> FPGATrackSimGenScanBinningBase::m_parStep
inherited

Definition at line 204 of file FPGATrackSimGenScanBinning.h.

◆ NPars

constexpr unsigned FPGATrackSimGenScanBinningBase::NPars = 5
staticconstexprinherited

Definition at line 201 of file FPGATrackSimGenScanBinning.h.


The documentation for this class was generated from the following files:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimGenScanBinningBase::IdxSet
std::vector< unsigned int > IdxSet
Definition: FPGATrackSimGenScanBinning.h:79
xrange
void xrange(TH1 *h, bool symmetric)
Definition: computils.cxx:515
FPGATrackSimGenScanKeyLyrHelper::R1
double R1() const
Definition: FPGATrackSimGenScanBinning.h:366
FPGATrackSimGenScanBinningBase::m_parStep
std::vector< double > m_parStep
Definition: FPGATrackSimGenScanBinning.h:204
max
#define max(a, b)
Definition: cfImp.cxx:41
FPGATrackSimGenScanKeyLyrHelper::R2
double R2() const
Definition: FPGATrackSimGenScanBinning.h:367
FPGATrackSimGenScanBinningBase::ParSet
std::vector< double > ParSet
Definition: FPGATrackSimGenScanBinning.h:78
FPGATrackSimGenScanBinningBase::rowPar
virtual double rowPar([[maybe_unused]] const ParSet &pars, [[maybe_unused]] FPGATrackSimHit const *hit) const
Definition: FPGATrackSimGenScanBinning.cxx:167
yodamerge_tmp.variations
variations
Definition: yodamerge_tmp.py:257
FPGATrackSimGenScanKeyLyrHelper::deltaX
double deltaX(KeyLyrPars keypars, const FPGATrackSimHit *hit) const
Definition: FPGATrackSimGenScanBinning.cxx:363
FPGATrackSimGenScanBinningBase::inRange
bool inRange(unsigned par, double val) const
Definition: FPGATrackSimGenScanBinning.h:177
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::z1
double z1
Definition: FPGATrackSimGenScanBinning.h:319
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::xm
double xm
Definition: FPGATrackSimGenScanBinning.h:323
FPGATrackSimGenScanKeyLyrHelper::keyParsToTrackPars
FPGATrackSimTrackPars keyParsToTrackPars(const KeyLyrPars &keypars) const
Definition: FPGATrackSimGenScanBinning.cxx:286
bin
Definition: BinsDiffFromStripMedian.h:43
FPGATrackSimGenScanBinningBase::m_parBins
std::vector< unsigned > m_parBins
Definition: FPGATrackSimGenScanBinning.h:205
FPGATrackSimGenScanBinningBase::etaResidual
virtual double etaResidual(const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug=false) const =0
FPGATrackSimGenScanBinningBase::binIdx
unsigned binIdx(unsigned par, double val) const
Definition: FPGATrackSimGenScanBinning.h:173
FPGATrackSimGenScanBinningBase::m_invalidBin
const std::vector< unsigned > m_invalidBin
Definition: FPGATrackSimGenScanBinning.h:208
MCP::ScaleSmearParam::r2
@ r2
xAOD::unsigned
unsigned
Definition: RingSetConf_v1.cxx:662
FPGATrackSimGenScanBinningBase::trackParsToParSet
virtual const ParSet trackParsToParSet(const FPGATrackSimTrackPars &pars) const =0
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::phi2
double phi2
Definition: FPGATrackSimGenScanBinning.h:322
FPGATrackSimGenScanBinningBase::m_parMax
std::vector< double > m_parMax
Definition: FPGATrackSimGenScanBinning.h:203
FPGATrackSimGenScanBinningBase::rowParBinIdx
unsigned rowParBinIdx(double val) const
Definition: FPGATrackSimGenScanBinning.h:174
FPGATrackSimGenScanBinningBase::sliceAndScanPars
std::vector< unsigned > sliceAndScanPars() const
Definition: FPGATrackSimGenScanBinning.h:139
FPGATrackSimGenScanBinningBase::m_parMin
std::vector< double > m_parMin
Definition: FPGATrackSimGenScanBinning.h:202
FPGATrackSimGenScanKeyLyrHelper::xExpected
double xExpected(KeyLyrPars keypars, const FPGATrackSimHit *hit) const
Definition: FPGATrackSimGenScanBinning.cxx:377
FPGATrackSimGenScanBinningBase::NPars
static constexpr unsigned NPars
Definition: FPGATrackSimGenScanBinning.h:201
FPGATrackSimGenScanBinningBase::scanPars
virtual std::vector< unsigned > scanPars() const =0
FPGATrackSimGenScanBinningBase::slicePars
virtual std::vector< unsigned > slicePars() const =0
FPGATrackSimGenScanBinningBase::phiResidual
virtual double phiResidual(const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug=false) const =0
FPGATrackSimGenScanPhiSlicedKeyLyrBinning::keyparsToParSet
ParSet keyparsToParSet(const FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars &keypars) const
Definition: FPGATrackSimGenScanBinning.h:465
lumiFormat.i
int i
Definition: lumiFormat.py:85
FPGATrackSimGenScanPhiSlicedKeyLyrBinning::m_keylyrtool
FPGATrackSimGenScanKeyLyrHelper m_keylyrtool
Definition: FPGATrackSimGenScanBinning.h:524
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::phi1
double phi1
Definition: FPGATrackSimGenScanBinning.h:321
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::z2
double z2
Definition: FPGATrackSimGenScanBinning.h:320
FPGATrackSimGenScanBinningBase::rowIdx
virtual unsigned rowIdx(const IdxSet &idx) const
Definition: FPGATrackSimGenScanBinning.h:160
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
FPGATrackSimGenScanPhiSlicedKeyLyrBinning::m_parNames
const std::vector< std::string > m_parNames
Definition: FPGATrackSimGenScanBinning.h:525
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars
Definition: FPGATrackSimGenScanBinning.h:318
min
#define min(a, b)
Definition: cfImp.cxx:40
debug
const bool debug
Definition: MakeUncertaintyPlots.cxx:53
createCoolChannelIdFile.par
par
Definition: createCoolChannelIdFile.py:29
FPGATrackSimGenScanKeyLyrHelper::zExpected
double zExpected(KeyLyrPars keypars, double r) const
Definition: FPGATrackSimGenScanBinning.cxx:333
scan
void scan(TDirectory *td=0, int depth=0)
Definition: listroot.cxx:440
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
FPGATrackSimGenScanBinningBase::binLowEdge
double binLowEdge(unsigned par, unsigned bin) const
Definition: FPGATrackSimGenScanBinning.h:164
FPGATrackSimGenScanBinningBase::subVec
std::vector< unsigned > subVec(const std::vector< unsigned > &elems, const std::vector< unsigned > &invec) const
Definition: FPGATrackSimGenScanBinning.cxx:77
FPGATrackSimGenScanBinningBase::rowParIdx
virtual unsigned rowParIdx() const =0
MCP::ScaleSmearParam::r1
@ r1
FPGATrackSimGenScanBinningBase::phiShift
double phiShift(const IdxSet &idx, FPGATrackSimHit const *hit, bool debug=false) const
Definition: FPGATrackSimGenScanBinning.h:147
FPGATrackSimGenScanKeyLyrHelper::trackParsToKeyPars
KeyLyrPars trackParsToKeyPars(const FPGATrackSimTrackPars &pars) const
Definition: FPGATrackSimGenScanBinning.cxx:260
FPGATrackSimGenScanBinningBase::makeVariationSet
std::vector< ParSet > makeVariationSet(const std::vector< unsigned > &scanpars, const IdxSet &idx) const
Definition: FPGATrackSimGenScanBinning.cxx:104
FPGATrackSimGenScanPhiSlicedKeyLyrBinning::parSetToKeyPars
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars parSetToKeyPars(const ParSet &parset) const
Definition: FPGATrackSimGenScanBinning.h:469
FPGATrackSimGenScanBinningBase::binCenter
double binCenter(unsigned par, unsigned bin) const
Definition: FPGATrackSimGenScanBinning.h:163
FPGATrackSimGenScanBinningBase::binHighEdge
double binHighEdge(unsigned par, unsigned bin) const
Definition: FPGATrackSimGenScanBinning.h:165