ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Trk::GlobalChi2Fitter::Cache Struct Reference
Collaboration diagram for Trk::GlobalChi2Fitter::Cache:

Public Member Functions

 Cache (const GlobalChi2Fitter *fitter)
 
 ~Cache ()
 
Cacheoperator= (const Cache &)=delete
 
void incrementFitStatus (enum FitterStatusType status)
 

Static Public Member Functions

template<class T >
static void objVectorDeleter (const std::vector< const T * > *ptr)
 

Public Attributes

const TrackingGeometrym_trackingGeometry = nullptr
 
const TrackingVolumem_caloEntrance = nullptr
 
const TrackingVolumem_msEntrance = nullptr
 
bool m_calomat {}
 
bool m_extmat {}
 
bool m_idmat = true
 
bool m_sirecal {}
 
bool m_getmaterialfromtrack
 
bool m_reintoutl {}
 
bool m_matfilled = false
 
bool m_acceleration {}
 
bool m_fiteloss {}
 
bool m_asymeloss {}
 
std::vector< double > m_phiweight
 
std::vector< int > m_firstmeasurement
 
std::vector< int > m_lastmeasurement
 
std::vector< const Trk::Layer * > m_negdiscs
 
std::vector< const Trk::Layer * > m_posdiscs
 
std::vector< const Trk::Layer * > m_barrelcylinders
 
bool m_fastmat = true
 
int m_lastiter {}
 
int m_miniter {}
 
Amg::MatrixX m_derivmat
 
Amg::SymMatrixX m_fullcovmat
 
std::vector< std::unique_ptr< const std::vector< const TrackStateOnSurface * >, void(*)(const std::vector< const TrackStateOnSurface * > *) > > m_matTempStore
 
MagField::AtlasFieldCache m_field_cache
 
FitterStatusCode m_fittercode
 
std::array< unsigned int, S_MAX_VALUEm_fit_status {}
 
std::array< std::atomic< unsigned int >, S_MAX_VALUE > * m_fit_status_out = nullptr
 

Detailed Description

Definition at line 189 of file GlobalChi2Fitter.h.

Constructor & Destructor Documentation

◆ Cache()

Trk::GlobalChi2Fitter::Cache::Cache ( const GlobalChi2Fitter fitter)
inline

Definition at line 248 of file GlobalChi2Fitter.h.

248  :
249  m_calomat(fitter->m_calomat),
250  m_extmat(fitter->m_extmat),
251  m_sirecal(fitter->m_sirecal),
252  m_getmaterialfromtrack(fitter->m_getmaterialfromtrack),
253  m_reintoutl(fitter->m_reintoutl),
254  m_acceleration(fitter->m_acceleration),
255  m_fiteloss(fitter->m_fiteloss),
256  m_asymeloss(fitter->m_asymeloss),
257  m_miniter(fitter->m_miniter),
258  m_fit_status_out(&fitter->m_fit_status)
259  {}

◆ ~Cache()

Trk::GlobalChi2Fitter::Cache::~Cache ( )
inline

Definition at line 260 of file GlobalChi2Fitter.h.

260  {
261  unsigned int idx=0;
262  for (unsigned int a_fit_status : m_fit_status) {
263  if (a_fit_status) {
264  (*m_fit_status_out)[idx] += a_fit_status;
265  }
266  ++idx;
267  }
268  }

Member Function Documentation

◆ incrementFitStatus()

void Trk::GlobalChi2Fitter::Cache::incrementFitStatus ( enum FitterStatusType  status)
inline

Definition at line 272 of file GlobalChi2Fitter.h.

272  {
273  m_fit_status[status]++;
274  }

◆ objVectorDeleter()

template<class T >
static void Trk::GlobalChi2Fitter::Cache::objVectorDeleter ( const std::vector< const T * > *  ptr)
inlinestatic

Definition at line 196 of file GlobalChi2Fitter.h.

196  {
197  if (ptr) {
198  for (const T *elm : *ptr) { delete elm; }
199  delete ptr;
200  }
201  }

◆ operator=()

Cache& Trk::GlobalChi2Fitter::Cache::operator= ( const Cache )
delete

Member Data Documentation

◆ m_acceleration

bool Trk::GlobalChi2Fitter::Cache::m_acceleration {}

Definition at line 213 of file GlobalChi2Fitter.h.

◆ m_asymeloss

bool Trk::GlobalChi2Fitter::Cache::m_asymeloss {}

Definition at line 215 of file GlobalChi2Fitter.h.

◆ m_barrelcylinders

std::vector< const Trk::Layer * > Trk::GlobalChi2Fitter::Cache::m_barrelcylinders

Definition at line 223 of file GlobalChi2Fitter.h.

◆ m_caloEntrance

const TrackingVolume* Trk::GlobalChi2Fitter::Cache::m_caloEntrance = nullptr

Definition at line 204 of file GlobalChi2Fitter.h.

◆ m_calomat

bool Trk::GlobalChi2Fitter::Cache::m_calomat {}

Definition at line 207 of file GlobalChi2Fitter.h.

◆ m_derivmat

Amg::MatrixX Trk::GlobalChi2Fitter::Cache::m_derivmat

Definition at line 234 of file GlobalChi2Fitter.h.

◆ m_extmat

bool Trk::GlobalChi2Fitter::Cache::m_extmat {}

Definition at line 207 of file GlobalChi2Fitter.h.

◆ m_fastmat

bool Trk::GlobalChi2Fitter::Cache::m_fastmat = true

Definition at line 225 of file GlobalChi2Fitter.h.

◆ m_field_cache

MagField::AtlasFieldCache Trk::GlobalChi2Fitter::Cache::m_field_cache

Definition at line 241 of file GlobalChi2Fitter.h.

◆ m_firstmeasurement

std::vector<int> Trk::GlobalChi2Fitter::Cache::m_firstmeasurement

Definition at line 218 of file GlobalChi2Fitter.h.

◆ m_fit_status

std::array<unsigned int, S_MAX_VALUE> Trk::GlobalChi2Fitter::Cache::m_fit_status {}

Definition at line 245 of file GlobalChi2Fitter.h.

◆ m_fit_status_out

std::array<std::atomic<unsigned int>, S_MAX_VALUE>* Trk::GlobalChi2Fitter::Cache::m_fit_status_out = nullptr

Definition at line 246 of file GlobalChi2Fitter.h.

◆ m_fiteloss

bool Trk::GlobalChi2Fitter::Cache::m_fiteloss {}

Definition at line 214 of file GlobalChi2Fitter.h.

◆ m_fittercode

FitterStatusCode Trk::GlobalChi2Fitter::Cache::m_fittercode

Definition at line 243 of file GlobalChi2Fitter.h.

◆ m_fullcovmat

Amg::SymMatrixX Trk::GlobalChi2Fitter::Cache::m_fullcovmat

Definition at line 235 of file GlobalChi2Fitter.h.

◆ m_getmaterialfromtrack

bool Trk::GlobalChi2Fitter::Cache::m_getmaterialfromtrack

Definition at line 210 of file GlobalChi2Fitter.h.

◆ m_idmat

bool Trk::GlobalChi2Fitter::Cache::m_idmat = true

Definition at line 208 of file GlobalChi2Fitter.h.

◆ m_lastiter

int Trk::GlobalChi2Fitter::Cache::m_lastiter {}

Definition at line 227 of file GlobalChi2Fitter.h.

◆ m_lastmeasurement

std::vector<int> Trk::GlobalChi2Fitter::Cache::m_lastmeasurement

Definition at line 219 of file GlobalChi2Fitter.h.

◆ m_matfilled

bool Trk::GlobalChi2Fitter::Cache::m_matfilled = false

Definition at line 212 of file GlobalChi2Fitter.h.

◆ m_matTempStore

std::vector< std::unique_ptr< const std::vector < const TrackStateOnSurface *>, void (*)(const std::vector<const TrackStateOnSurface *> *) > > Trk::GlobalChi2Fitter::Cache::m_matTempStore

Definition at line 239 of file GlobalChi2Fitter.h.

◆ m_miniter

int Trk::GlobalChi2Fitter::Cache::m_miniter {}

Definition at line 228 of file GlobalChi2Fitter.h.

◆ m_msEntrance

const TrackingVolume* Trk::GlobalChi2Fitter::Cache::m_msEntrance = nullptr

Definition at line 205 of file GlobalChi2Fitter.h.

◆ m_negdiscs

std::vector< const Trk::Layer * > Trk::GlobalChi2Fitter::Cache::m_negdiscs

Definition at line 221 of file GlobalChi2Fitter.h.

◆ m_phiweight

std::vector<double> Trk::GlobalChi2Fitter::Cache::m_phiweight

Definition at line 217 of file GlobalChi2Fitter.h.

◆ m_posdiscs

std::vector< const Trk::Layer * > Trk::GlobalChi2Fitter::Cache::m_posdiscs

Definition at line 222 of file GlobalChi2Fitter.h.

◆ m_reintoutl

bool Trk::GlobalChi2Fitter::Cache::m_reintoutl {}

Definition at line 211 of file GlobalChi2Fitter.h.

◆ m_sirecal

bool Trk::GlobalChi2Fitter::Cache::m_sirecal {}

Definition at line 209 of file GlobalChi2Fitter.h.

◆ m_trackingGeometry

const TrackingGeometry* Trk::GlobalChi2Fitter::Cache::m_trackingGeometry = nullptr

Definition at line 203 of file GlobalChi2Fitter.h.


The documentation for this struct was generated from the following file:
Trk::GlobalChi2Fitter::Cache::m_calomat
bool m_calomat
Definition: GlobalChi2Fitter.h:207
LArSamples::FitterData::fitter
const ShapeFitter * fitter
Definition: ShapeFitter.cxx:23
Trk::GlobalChi2Fitter::Cache::m_fit_status_out
std::array< std::atomic< unsigned int >, S_MAX_VALUE > * m_fit_status_out
Definition: GlobalChi2Fitter.h:246
Trk::GlobalChi2Fitter::Cache::m_fit_status
std::array< unsigned int, S_MAX_VALUE > m_fit_status
Definition: GlobalChi2Fitter.h:245
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
Trk::GlobalChi2Fitter::Cache::m_asymeloss
bool m_asymeloss
Definition: GlobalChi2Fitter.h:215
Trk::GlobalChi2Fitter::Cache::m_fiteloss
bool m_fiteloss
Definition: GlobalChi2Fitter.h:214
Trk::GlobalChi2Fitter::Cache::m_miniter
int m_miniter
Definition: GlobalChi2Fitter.h:228
Trk::GlobalChi2Fitter::Cache::m_acceleration
bool m_acceleration
Definition: GlobalChi2Fitter.h:213
Trk::GlobalChi2Fitter::Cache::m_getmaterialfromtrack
bool m_getmaterialfromtrack
Definition: GlobalChi2Fitter.h:210
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
merge.status
status
Definition: merge.py:17
Trk::GlobalChi2Fitter::Cache::m_sirecal
bool m_sirecal
Definition: GlobalChi2Fitter.h:209
Trk::GlobalChi2Fitter::Cache::m_extmat
bool m_extmat
Definition: GlobalChi2Fitter.h:207
Trk::GlobalChi2Fitter::Cache::m_reintoutl
bool m_reintoutl
Definition: GlobalChi2Fitter.h:211