ATLAS Offline Software
|
#include <FPGATrackSimGenScanBinning.h>
Public Types | |
typedef std::vector< double > | ParSet |
typedef std::vector< unsigned int > | IdxSet |
Public Member Functions | |
virtual const std::string & | parNames (unsigned i) const =0 |
virtual std::vector< unsigned > | slicePars () const =0 |
virtual std::vector< unsigned > | scanPars () const =0 |
virtual unsigned | rowParIdx () const =0 |
virtual const ParSet | trackParsToParSet (const FPGATrackSimTrackPars &pars) const =0 |
virtual const FPGATrackSimTrackPars | parSetToTrackPars (const ParSet &parset) const =0 |
virtual double | phiResidual (const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug=false) const =0 |
virtual double | etaResidual (const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug=false) const =0 |
virtual double | phiHistScale () const =0 |
virtual double | etaHistScale () const =0 |
virtual bool | hitInSlice (const IdxSet &idx, FPGATrackSimHit const *hit) const |
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 |
double | binLowEdge (unsigned par, unsigned bin) const |
double | binHighEdge (unsigned par, unsigned bin) const |
ParSet | binLowEdge (const IdxSet &idx) const |
ParSet | binCenter (const IdxSet &idx) const |
ParSet | center () const |
unsigned | binIdx (unsigned par, double val) const |
unsigned | rowParBinIdx (double val) const |
bool | inRange (unsigned par, double val) const |
bool | inRange (const ParSet &pars) const |
IdxSet | binIdx (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< ParSet > | makeVariationSet (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 |
Definition at line 75 of file FPGATrackSimGenScanBinning.h.
typedef std::vector<unsigned int> FPGATrackSimGenScanBinningBase::IdxSet |
Definition at line 79 of file FPGATrackSimGenScanBinning.h.
typedef std::vector<double> FPGATrackSimGenScanBinningBase::ParSet |
Definition at line 78 of file FPGATrackSimGenScanBinning.h.
FPGATrackSimGenScanBinningBase::ParSet FPGATrackSimGenScanBinningBase::binCenter | ( | const IdxSet & | idx | ) | const |
|
inline |
|
inline |
FPGATrackSimGenScanBinningBase::IdxSet FPGATrackSimGenScanBinningBase::binIdx | ( | const ParSet & | pars | ) | const |
|
inline |
FPGATrackSimGenScanBinningBase::ParSet FPGATrackSimGenScanBinningBase::binLowEdge | ( | const IdxSet & | idx | ) | const |
|
inline |
FPGATrackSimGenScanBinningBase::ParSet FPGATrackSimGenScanBinningBase::center | ( | ) | const |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 148 of file FPGATrackSimGenScanBinning.h.
|
virtual |
Reimplemented in FPGATrackSimGenScanPhiSlicedKeyLyrBinning.
Definition at line 122 of file FPGATrackSimGenScanBinning.cxx.
|
virtual |
Definition at line 142 of file FPGATrackSimGenScanBinning.cxx.
|
inline |
std::vector< FPGATrackSimGenScanBinningBase::ParSet > FPGATrackSimGenScanBinningBase::makeVariationSet | ( | const std::vector< unsigned > & | scanpars, |
const IdxSet & | idx | ||
) | const |
Definition at line 104 of file FPGATrackSimGenScanBinning.cxx.
|
pure virtual |
|
pure virtual |
const FPGATrackSimGenScanBinningBase::IdxSet FPGATrackSimGenScanBinningBase::parsToBin | ( | FPGATrackSimTrackPars & | pars | ) | const |
Definition at line 37 of file FPGATrackSimGenScanBinning.cxx.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 147 of file FPGATrackSimGenScanBinning.h.
|
inlinevirtual |
Definition at line 154 of file FPGATrackSimGenScanBinning.h.
Definition at line 160 of file FPGATrackSimGenScanBinning.h.
|
privatevirtual |
Definition at line 167 of file FPGATrackSimGenScanBinning.cxx.
|
inline |
Definition at line 174 of file FPGATrackSimGenScanBinning.h.
|
pure virtual |
|
inlinevirtual |
Definition at line 152 of file FPGATrackSimGenScanBinning.h.
|
inlinevirtual |
Definition at line 158 of file FPGATrackSimGenScanBinning.h.
|
pure virtual |
StatusCode FPGATrackSimGenScanBinningBase::setIdxSubVec | ( | IdxSet & | idx, |
const std::vector< unsigned > & | subvecelems, | ||
const std::vector< unsigned > & | subvecidx | ||
) | const |
Definition at line 87 of file FPGATrackSimGenScanBinning.cxx.
|
inlinevirtual |
Definition at line 153 of file FPGATrackSimGenScanBinning.h.
|
inlinevirtual |
Definition at line 159 of file FPGATrackSimGenScanBinning.h.
|
inline |
|
inlinevirtual |
Definition at line 151 of file FPGATrackSimGenScanBinning.h.
|
inlinevirtual |
Definition at line 157 of file FPGATrackSimGenScanBinning.h.
|
pure virtual |
|
privatevirtual |
Definition at line 165 of file FPGATrackSimGenScanBinning.cxx.
|
privatevirtual |
Definition at line 166 of file FPGATrackSimGenScanBinning.cxx.
std::vector< unsigned > FPGATrackSimGenScanBinningBase::subVec | ( | const std::vector< unsigned > & | elems, |
const std::vector< unsigned > & | invec | ||
) | const |
Definition at line 77 of file FPGATrackSimGenScanBinning.cxx.
|
pure virtual |
const std::vector<unsigned> FPGATrackSimGenScanBinningBase::m_invalidBin |
Definition at line 208 of file FPGATrackSimGenScanBinning.h.
std::vector<unsigned> FPGATrackSimGenScanBinningBase::m_parBins |
Definition at line 205 of file FPGATrackSimGenScanBinning.h.
std::vector<double> FPGATrackSimGenScanBinningBase::m_parMax |
Definition at line 203 of file FPGATrackSimGenScanBinning.h.
std::vector<double> FPGATrackSimGenScanBinningBase::m_parMin |
Definition at line 202 of file FPGATrackSimGenScanBinning.h.
std::vector<double> FPGATrackSimGenScanBinningBase::m_parStep |
Definition at line 204 of file FPGATrackSimGenScanBinning.h.
|
staticconstexpr |
Definition at line 201 of file FPGATrackSimGenScanBinning.h.