![]() |
ATLAS Offline Software
|
#include <FPGATrackSimFitConstantBank.h>
Public Member Functions | |
| FPGATrackSimFitConstantBank (FPGATrackSimPlaneMap const *pmap, int ncoords, std::string const &fname, bool isFirstStage, float phishift, int missingPlane=-1) | |
| int | getBankID () const |
| int | getNConstr () const |
| int | getNCoords () const |
| int | getNPars () const |
| int | getNSectors () const |
| int | getMissingPlane () const |
| bool | getIsGood (sector_t sector) const |
| float | getFitConst (int isec, int ipar) const |
| float | getFitPar (int isec, int ipar, int icoord) const |
| float | getKaverage (int isec, int iconstr) const |
| float | getKernel (int isec, int iconstr, int icoord) const |
| bool | linfit (sector_t sector, FPGATrackSimTrack &track, bool isSecondStage) const |
| void | linfit_chisq (sector_t sector, FPGATrackSimTrack &trk) const |
| void | linfit_pars_eval (sector_t sector, FPGATrackSimTrack &trk) const |
| int | missing_point_guess (sector_t sector, FPGATrackSimTrack &track, bool isFirstStage, bool doExtrapolation) const |
| void | invlinfit (sector_t sector, FPGATrackSimTrack &track, double const *constr) const |
| This method uses the track parameters and additional constraints to use the constants to calculate the corresponding hits. | |
| void | setIdealCoordFit (bool v) |
| void | setPhiShift (float v) |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
Private Member Functions | |
| void | readHeader (std::ifstream &geocfile) |
| void | readSectorInfo (std::ifstream &geocfile) |
| void | calculateMajority () |
| void | prepareInvFitConstants () |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
Private Attributes | |
| FPGATrackSimPlaneMap const * | m_pmap = nullptr |
| int | m_bankID |
| int | m_nsectors |
| int | m_npars = 0 |
| int | m_ncoords |
| int | m_nconstr |
| int | m_npixcy |
| float | m_phiShift |
| int | m_missingPlane |
| bool | m_isIdealCoordFit |
| std::vector< int > | m_missid |
| std::vector< bool > | m_sector_good |
| vector3D< float > | m_fit_pars |
| vector2D< float > | m_fit_const |
| vector3D< float > | m_kernel |
| vector2D< float > | m_kaverage |
| vector2D< float > | m_maj_a |
| vector3D< float > | m_maj_kk |
| vector3D< float > | m_maj_invkk |
| std::vector< Eigen::MatrixXf, Eigen::aligned_allocator< Eigen::MatrixXf > > | m_invfit_consts |
| vector2D< int > | m_WCs |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
Definition at line 23 of file FPGATrackSimFitConstantBank.h.
| FPGATrackSimFitConstantBank::FPGATrackSimFitConstantBank | ( | FPGATrackSimPlaneMap const * | pmap, |
| int | ncoords, | ||
| std::string const & | fname, | ||
| bool | isFirstStage, | ||
| float | phishift, | ||
| int | missingPlane = -1 ) |
Definition at line 22 of file FPGATrackSimFitConstantBank.cxx.
|
private |
Definition at line 169 of file FPGATrackSimFitConstantBank.cxx.
|
inline |
Definition at line 33 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 42 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 43 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 41 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 44 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 45 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 38 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 34 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 35 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 36 of file FPGATrackSimFitConstantBank.h.
|
inline |
Definition at line 37 of file FPGATrackSimFitConstantBank.h.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| void FPGATrackSimFitConstantBank::invlinfit | ( | sector_t | sector, |
| FPGATrackSimTrack & | track, | ||
| double const * | constr ) const |
This method uses the track parameters and additional constraints to use the constants to calculate the corresponding hits.
This method is the base of the patt-from-constant generation.
Definition at line 548 of file FPGATrackSimFitConstantBank.cxx.
| bool FPGATrackSimFitConstantBank::linfit | ( | sector_t | sector, |
| FPGATrackSimTrack & | track, | ||
| bool | isSecondStage ) const |
Definition at line 304 of file FPGATrackSimFitConstantBank.cxx.
| void FPGATrackSimFitConstantBank::linfit_chisq | ( | sector_t | sector, |
| FPGATrackSimTrack & | trk ) const |
we don't want to shift phi for the outer hits in a SP, so check that!
Definition at line 469 of file FPGATrackSimFitConstantBank.cxx.
| void FPGATrackSimFitConstantBank::linfit_pars_eval | ( | sector_t | sector, |
| FPGATrackSimTrack & | trk ) const |
we don't want to shift phi for the outer hits in a SP, so check that!
Definition at line 507 of file FPGATrackSimFitConstantBank.cxx.
| int FPGATrackSimFitConstantBank::missing_point_guess | ( | sector_t | sector, |
| FPGATrackSimTrack & | track, | ||
| bool | isFirstStage, | ||
| bool | doExtrapolation ) const |
we don't want to shift phi for the outer hits in a SP, so check that!
Definition at line 327 of file FPGATrackSimFitConstantBank.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 163 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 178 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
private |
Definition at line 211 of file FPGATrackSimFitConstantBank.cxx.
|
private |
Definition at line 60 of file FPGATrackSimFitConstantBank.cxx.
|
private |
Definition at line 104 of file FPGATrackSimFitConstantBank.cxx.
|
inline |
Definition at line 56 of file FPGATrackSimFitConstantBank.h.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
inline |
Definition at line 57 of file FPGATrackSimFitConstantBank.h.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 66 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 86 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 85 of file FPGATrackSimFitConstantBank.h.
|
mutableprivateinherited |
|
private |
Definition at line 94 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 75 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 88 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 87 of file FPGATrackSimFitConstantBank.h.
|
mutableprivateinherited |
|
private |
Definition at line 90 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 92 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 91 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 80 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 73 of file FPGATrackSimFitConstantBank.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
private |
Definition at line 70 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 69 of file FPGATrackSimFitConstantBank.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 68 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 71 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 67 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 72 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 61 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 84 of file FPGATrackSimFitConstantBank.h.
|
private |
Definition at line 96 of file FPGATrackSimFitConstantBank.h.