ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
FPGATrackSimGenScanKeyLyrBinning Class Reference

#include <FPGATrackSimGenScanBinning.h>

Inheritance diagram for FPGATrackSimGenScanKeyLyrBinning:
Collaboration diagram for FPGATrackSimGenScanKeyLyrBinning:

Public Member Functions

 FPGATrackSimGenScanKeyLyrBinning (const std::string &algname, const std::string &name, const IInterface *ifc)
 
virtual StatusCode initialize () override
 
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 sliceVarExpected (const ParSet &pars, FPGATrackSimHit const *hit) const override
 
virtual double sliceVar (FPGATrackSimHit const *hit) const override
 
virtual double rowPar (const ParSet &parset, FPGATrackSimHit const *hit) const override
 
virtual double etaResidual (const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug=false) const override
 
virtual double phiResidual (const ParSet &parset, FPGATrackSimHit const *hit, [[maybe_unused]] bool debug=false) const override
 

Public Attributes

Gaudi::Property< double > m_rin {this, "rin", {-1.0}, "Radius of inner layer for keylayer definition"}
 
Gaudi::Property< double > m_rout {this, "rout", {-1.0}, "Radius of outer layer for keylayer definition"}
 

Private Attributes

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

Detailed Description

Definition at line 428 of file FPGATrackSimGenScanBinning.h.

Constructor & Destructor Documentation

◆ FPGATrackSimGenScanKeyLyrBinning()

FPGATrackSimGenScanKeyLyrBinning::FPGATrackSimGenScanKeyLyrBinning ( const std::string &  algname,
const std::string &  name,
const IInterface *  ifc 
)
inline

Definition at line 431 of file FPGATrackSimGenScanBinning.h.

431  :
432  base_class(algname, name, ifc), m_keylyrtool(m_rin,m_rout), m_parNames({"zR1", "zR2", "phiR1", "phiR2", "xm"})
433  {
434  declareInterface<FPGATrackSimGenScanBinningBase>(this);
435  }

Member Function Documentation

◆ etaHistScale()

virtual double FPGATrackSimGenScanKeyLyrBinning::etaHistScale ( ) const
inlineoverridevirtual

Definition at line 451 of file FPGATrackSimGenScanBinning.h.

451 {return 300.0;}

◆ etaResidual()

virtual double FPGATrackSimGenScanKeyLyrBinning::etaResidual ( const ParSet &  parset,
FPGATrackSimHit const hit,
[[maybe_unused] ] bool  debug = false 
) const
inlineoverridevirtual

Definition at line 479 of file FPGATrackSimGenScanBinning.h.

479  {
480  return hit->getZ()- m_keylyrtool.zExpected(parSetToKeyPars(parset),hit->getR());
481  }

◆ initialize()

virtual StatusCode FPGATrackSimGenScanKeyLyrBinning::initialize ( )
inlineoverridevirtual

Definition at line 437 of file FPGATrackSimGenScanBinning.h.

437  {
440  return StatusCode::SUCCESS;
441  }

◆ keyparsToParSet()

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

Definition at line 454 of file FPGATrackSimGenScanBinning.h.

454  {
455  return ParSet({keypars.z1,keypars.z2,keypars.phi1,keypars.phi2,keypars.xm});
456  }

◆ parNames()

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

Definition at line 446 of file FPGATrackSimGenScanBinning.h.

446 { return m_parNames[i]; }

◆ parSetToKeyPars()

FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars FPGATrackSimGenScanKeyLyrBinning::parSetToKeyPars ( const ParSet &  parset) const
inline

Definition at line 458 of file FPGATrackSimGenScanBinning.h.

458  {
460  }

◆ parSetToTrackPars()

virtual const FPGATrackSimTrackPars FPGATrackSimGenScanKeyLyrBinning::parSetToTrackPars ( const ParSet &  parset) const
inlineoverridevirtual

Definition at line 465 of file FPGATrackSimGenScanBinning.h.

465  {
467  }

◆ phiHistScale()

virtual double FPGATrackSimGenScanKeyLyrBinning::phiHistScale ( ) const
inlineoverridevirtual

Definition at line 452 of file FPGATrackSimGenScanBinning.h.

452 {return 60.0;}

◆ phiResidual()

virtual double FPGATrackSimGenScanKeyLyrBinning::phiResidual ( const ParSet &  parset,
FPGATrackSimHit const hit,
[[maybe_unused] ] bool  debug = false 
) const
inlineoverridevirtual

Definition at line 483 of file FPGATrackSimGenScanBinning.h.

483  {
484  return m_keylyrtool.deltaX(parSetToKeyPars(parset),hit);
485  }

◆ rowPar()

virtual double FPGATrackSimGenScanKeyLyrBinning::rowPar ( const ParSet &  parset,
FPGATrackSimHit const hit 
) const
inlineoverridevirtual

Definition at line 475 of file FPGATrackSimGenScanBinning.h.

476  {
477  return m_keylyrtool.xmForHit(parSetToKeyPars(parset),hit);
478  }

◆ rowParIdx()

virtual unsigned FPGATrackSimGenScanKeyLyrBinning::rowParIdx ( ) const
inlineoverridevirtual

Definition at line 447 of file FPGATrackSimGenScanBinning.h.

447 { return 4;}

◆ scanPars()

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

Definition at line 449 of file FPGATrackSimGenScanBinning.h.

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

◆ slicePars()

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

Definition at line 448 of file FPGATrackSimGenScanBinning.h.

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

◆ sliceVar()

virtual double FPGATrackSimGenScanKeyLyrBinning::sliceVar ( FPGATrackSimHit const hit) const
inlineoverridevirtual

Definition at line 472 of file FPGATrackSimGenScanBinning.h.

472  {
473  return hit->getZ();
474  }

◆ sliceVarExpected()

virtual double FPGATrackSimGenScanKeyLyrBinning::sliceVarExpected ( const ParSet &  pars,
FPGATrackSimHit const hit 
) const
inlineoverridevirtual

Definition at line 468 of file FPGATrackSimGenScanBinning.h.

469  {
470  return m_keylyrtool.zExpected(parSetToKeyPars(pars),hit->getR());
471  }

◆ trackParsToParSet()

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

Definition at line 462 of file FPGATrackSimGenScanBinning.h.

462  {
464  }

Member Data Documentation

◆ m_keylyrtool

FPGATrackSimGenScanKeyLyrHelper FPGATrackSimGenScanKeyLyrBinning::m_keylyrtool
private

Definition at line 488 of file FPGATrackSimGenScanBinning.h.

◆ m_parNames

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

Definition at line 489 of file FPGATrackSimGenScanBinning.h.

◆ m_rin

Gaudi::Property<double> FPGATrackSimGenScanKeyLyrBinning::m_rin {this, "rin", {-1.0}, "Radius of inner layer for keylayer definition"}

Definition at line 443 of file FPGATrackSimGenScanBinning.h.

◆ m_rout

Gaudi::Property<double> FPGATrackSimGenScanKeyLyrBinning::m_rout {this, "rout", {-1.0}, "Radius of outer layer for keylayer definition"}

Definition at line 444 of file FPGATrackSimGenScanBinning.h.


The documentation for this class was generated from the following file:
make_hlt_rep.pars
pars
Definition: make_hlt_rep.py:90
FPGATrackSimGenScanKeyLyrHelper::setR1
void setR1(const double r1)
Definition: FPGATrackSimGenScanBinning.h:412
getMenu.algname
algname
Definition: getMenu.py:54
FPGATrackSimGenScanKeyLyrHelper::xmForHit
double xmForHit(const KeyLyrPars &keypars, const FPGATrackSimHit *hit) const
Definition: FPGATrackSimGenScanBinning.cxx:339
FPGATrackSimGenScanKeyLyrHelper::setR2
void setR2(const double r2)
Definition: FPGATrackSimGenScanBinning.h:413
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::z1
double z1
Definition: FPGATrackSimGenScanBinning.h:363
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::xm
double xm
Definition: FPGATrackSimGenScanBinning.h:367
FPGATrackSimGenScanKeyLyrHelper::keyParsToTrackPars
FPGATrackSimTrackPars keyParsToTrackPars(const KeyLyrPars &keypars) const
Definition: FPGATrackSimGenScanBinning.cxx:286
FPGATrackSimGenScanKeyLyrBinning::m_parNames
const std::vector< std::string > m_parNames
Definition: FPGATrackSimGenScanBinning.h:489
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::phi2
double phi2
Definition: FPGATrackSimGenScanBinning.h:366
FPGATrackSimGenScanKeyLyrBinning::m_rout
Gaudi::Property< double > m_rout
Definition: FPGATrackSimGenScanBinning.h:444
lumiFormat.i
int i
Definition: lumiFormat.py:85
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::phi1
double phi1
Definition: FPGATrackSimGenScanBinning.h:365
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars::z2
double z2
Definition: FPGATrackSimGenScanBinning.h:364
FPGATrackSimGenScanKeyLyrBinning::m_rin
Gaudi::Property< double > m_rin
Definition: FPGATrackSimGenScanBinning.h:443
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars
Definition: FPGATrackSimGenScanBinning.h:359
FPGATrackSimGenScanKeyLyrBinning::m_keylyrtool
FPGATrackSimGenScanKeyLyrHelper m_keylyrtool
Definition: FPGATrackSimGenScanBinning.h:488
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
FPGATrackSimGenScanKeyLyrHelper::deltaX
double deltaX(const KeyLyrPars &keypars, const FPGATrackSimHit *hit) const
Definition: FPGATrackSimGenScanBinning.cxx:363
FPGATrackSimGenScanKeyLyrHelper::zExpected
double zExpected(const KeyLyrPars &keypars, double r) const
Definition: FPGATrackSimGenScanBinning.cxx:333
FPGATrackSimGenScanKeyLyrHelper::trackParsToKeyPars
KeyLyrPars trackParsToKeyPars(const FPGATrackSimTrackPars &pars) const
Definition: FPGATrackSimGenScanBinning.cxx:260
FPGATrackSimGenScanKeyLyrBinning::keyparsToParSet
ParSet keyparsToParSet(const FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars &keypars) const
Definition: FPGATrackSimGenScanBinning.h:454
FPGATrackSimGenScanKeyLyrBinning::parSetToKeyPars
FPGATrackSimGenScanKeyLyrHelper::KeyLyrPars parSetToKeyPars(const ParSet &parset) const
Definition: FPGATrackSimGenScanBinning.h:458