ATLAS Offline Software
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
Trk::AlMat Class Reference

#include <AlMat.h>

Collaboration diagram for Trk::AlMat:

Classes

class  AlMat_row
 
class  AlMat_row_const
 

Public Member Functions

 AlMat (int N, int M)
 
 AlMat ()
 
 AlMat (const AlMat &m)
 
virtual ~AlMat ()
 
AlMat_row operator[] (int)
 
AlMat_row_const operator[] (int) const
 
long int nrow () const
 
long int ncol () const
 
const std::string Print (const int NColsPerSet=10)
 
AlMatoperator= (const double &)
 
AlMatoperator= (const AlMat &m)
 
AlMatoperator= (const AlSymMat &m)
 
AlMat operator+ (const AlMat &m) const
 
AlMatoperator+= (const AlMat &m)
 
AlMat operator- (const AlMat &m) const
 
AlMatoperator-= (const AlMat &m)
 
AlMat operator* (const AlMat &m) const
 
AlMat operator* (const AlSymMatBase &m) const
 
AlVec operator* (const AlVec &v) const
 
AlMatoperator*= (const double &d)
 
AlMat T () const
 
AlMatTranspose ()
 
AlMatNormal ()
 
void invertS (int &ierr, double Norm)
 
void reSize (int Nnew, int Mnew)
 
StatusCode ReadScalaPack (const std::string &)
 
void SetPathBin (const std::string &)
 
void SetPathTxt (const std::string &)
 
StatusCode Write (const std::string &, bool, unsigned int precision=6)
 
double & elemr (long int, long int)
 
double elemc (long int, long int) const
 
const double * ptrData () const
 
double * ptrData ()
 
const std::string & pathBin () const
 
const std::string & pathTxt () const
 

Protected Member Functions

virtual long int elem (long int, long int) const
 

Protected Attributes

int m_ncol
 
int m_nrow
 
int m_nele
 
std::string m_pathbin
 
std::string m_pathtxt
 
double * m_ptr_data
 
bool m_transpose
 

Private Member Functions

void copy (const AlMat &m)
 
void copy (const AlSymMatBase &m)
 

Detailed Description

contains the implementation of the methods of class AlMat, for handling general NxM matrices

Definition at line 27 of file AlMat.h.

Constructor & Destructor Documentation

◆ AlMat() [1/3]

Trk::AlMat::AlMat ( int  N,
int  M 
)

Definition at line 32 of file AlMat.cxx.

33  : m_ncol(M)
34  , m_nrow(N)
35  , m_nele(N * M)
36  , m_pathbin("./")
37  , m_pathtxt("./")
38  , m_ptr_data(new double[m_nele])
39  , m_transpose(false)
40 {
41 
42  double* p = m_ptr_data + m_nele;
43  while (p > m_ptr_data) *(--p) = 0.;
44 }

◆ AlMat() [2/3]

Trk::AlMat::AlMat ( )

Definition at line 21 of file AlMat.cxx.

22  : m_ncol(0)
23  , m_nrow(0)
24  , m_nele(0)
25  , m_pathbin("./")
26  , m_pathtxt("./")
27  , m_ptr_data(nullptr)
28  , m_transpose(false)
29 {
30 }

◆ AlMat() [3/3]

Trk::AlMat::AlMat ( const AlMat m)

Definition at line 46 of file AlMat.cxx.

47  : m_ncol(m.ncol())
48  , m_nrow(m.nrow())
49  , m_nele(m_nrow * m_ncol)
50  , m_pathbin(m.m_pathbin)
51  , m_pathtxt(m.m_pathtxt)
52  , m_ptr_data(new double[m_nele])
53  , m_transpose(false)
54 {
55 
56  copy(m);
57 }

◆ ~AlMat()

Trk::AlMat::~AlMat ( )
virtual

Definition at line 59 of file AlMat.cxx.

60 {if( m_ptr_data != nullptr ) delete [] m_ptr_data;}

Member Function Documentation

◆ copy() [1/2]

void Trk::AlMat::copy ( const AlMat m)
private

Definition at line 62 of file AlMat.cxx.

62  {
63  int nr = nrow();
64  int nc = ncol();
65  if( nr != m.nrow() || nc != m.ncol() ) {
66  throw std::range_error( "AlMat::copy: sizes do not match!" );
67  }
68 
69  for( int i=0; i<nr; i++ ) {
70  for( int j=0; j<nc; j++ ) {
71  elemr(i, j) = m.elemc(i, j);
72  }
73  }
74 }

◆ copy() [2/2]

void Trk::AlMat::copy ( const AlSymMatBase m)
private

Definition at line 76 of file AlMat.cxx.

76  {
77  long int n = m.size();
78  if( nrow() != n || ncol() != n ) {
79  throw std::range_error( "AlMat::copy: sizes do not match!" );
80  }
81 
82  for( int i=0; i<n; i++ ) {
83  for( int j=0; j<n; j++ ) {
84  *(m_ptr_data+i*m_ncol+j) = m.elemc(i, j);
85  }
86  }
87 }

◆ elem()

long int Trk::AlMat::elem ( long int  i,
long int  j 
) const
protectedvirtual

Definition at line 113 of file AlMat.cxx.

113  {
114 #ifdef _DEBUG
115  if( i<0 ) { throw std::out_of_range( "AlMat::elemr: Index 1 < zero! " ); };
116  if( i>=size ) { throw std::out_of_range( "AlMat::elemr: Index 1 too large!" ); };
117  if( j<0 ) { throw std::out_of_range( "AlMat::elemr: Index 2 < zero! " ); };
118  if( j>=size ) { throw std::out_of_range( "AlMat::elemr: Index 2 too large!" ); };
119 #endif
120 
121  if( m_transpose ) return (j*m_ncol+i);
122  return (i*m_ncol+j);
123 }

◆ elemc()

double Trk::AlMat::elemc ( long int  i,
long int  j 
) const

Definition at line 101 of file AlMat.cxx.

101  {
102 #ifdef _DEBUG
103  if( i<0 ) { throw std::out_of_range( "AlMat::elemr: Index 1 < zero! " ); };
104  if( i>=size ) { throw std::out_of_range( "AlMat::elemr: Index 1 too large!" ); };
105  if( j<0 ) { throw std::out_of_range( "AlMat::elemr: Index 2 < zero! " ); };
106  if( j>=size ) { throw std::out_of_range( "AlMat::elemr: Index 2 too large!" ); };
107 #endif
108 
109  if( m_transpose ) return *(m_ptr_data+j*m_ncol+i);
110  return *(m_ptr_data+i*m_ncol+j);
111 }

◆ elemr()

double & Trk::AlMat::elemr ( long int  i,
long int  j 
)

Definition at line 89 of file AlMat.cxx.

89  {
90 #ifdef _DEBUG
91  if( i<0 ) { throw std::out_of_range( "AlMat::elemr: Index 1 < zero! " ); };
92  if( i>=size ) { throw std::out_of_range( "AlMat::elemr: Index 1 too large!" ); };
93  if( j<0 ) { throw std::out_of_range( "AlMat::elemr: Index 2 < zero! " ); };
94  if( j>=size ) { throw std::out_of_range( "AlMat::elemr: Index 2 too large!" ); };
95 #endif
96 
97  if( m_transpose ) return *(m_ptr_data+j*m_ncol+i);
98  return *(m_ptr_data+i*m_ncol+j);
99 }

◆ invertS()

void Trk::AlMat::invertS ( int &  ierr,
double  Norm = 1. 
)

Definition at line 317 of file AlMat.cxx.

317  {
318  if(m_nrow!=m_ncol) {
319  throw std::range_error( "AlMat invertS: non-square matrix!" );
320  }
321 
322  AlSymMat b(m_nrow);
323  for( int i=0; i<b.size(); i++ ) {
324  for( int j=0; j<=i; j++ ) {
325  b.elemr(i, j) = elemc(i, j);
326  }
327  }
328 
329  b*=Norm;
330  ierr = b.invert();
331  b*=Norm;
332 
333  if (ierr==0) (*this).copy(b);
334 
335 }

◆ ncol()

long int Trk::AlMat::ncol ( ) const
inline

Definition at line 162 of file AlMat.h.

162  {
163  if( m_transpose ) return m_nrow;
164  return m_ncol;
165 }

◆ Normal()

AlMat & Trk::AlMat::Normal ( )

Definition at line 308 of file AlMat.cxx.

308  {
309 
310  m_transpose = false;
311 
312  return *this;
313 }

◆ nrow()

long int Trk::AlMat::nrow ( ) const
inline

Definition at line 157 of file AlMat.h.

157  {
158  if( m_transpose ) return m_ncol;
159  return m_nrow;
160 }

◆ operator*() [1/3]

AlMat Trk::AlMat::operator* ( const AlMat m) const

Definition at line 221 of file AlMat.cxx.

221  {
222  if( ncol() != m.nrow() )
223  {
224  throw std::range_error( "AlMat: operator*: size do not match!" );
225  }
226 
227  int k(nrow());
228  int l(m.ncol());
229  int f(ncol());
230 
231  AlMat b( k, l);
232  for( int i=0; i<k; i++ ) {
233  for( int j=0; j<l; j++ ) {
234  for( int n=0; n<f; n++) b.elemr(i, j) += elemc(i, n)*m.elemc(n, j);
235  }
236  }
237  return b;
238 }

◆ operator*() [2/3]

AlMat Trk::AlMat::operator* ( const AlSymMatBase m) const

Definition at line 240 of file AlMat.cxx.

240  {
241  if( ncol() != m.size())
242  {
243  throw std::range_error( "AlMat: operator*: size do not match!" );
244  }
245 
246  int k(nrow());
247  int l(m.size());
248 
249  AlMat b( k, l);
250  for( int i=0; i<k; i++ ) {
251  for( int j=0; j<l; j++ ) {
252  for( int n=0; n<l; n++) b.elemr(i, j) += elemc(i, n)*m.elemc(n, j);
253  }
254  }
255  return b;
256 }

◆ operator*() [3/3]

AlVec Trk::AlMat::operator* ( const AlVec v) const

Definition at line 259 of file AlMat.cxx.

259  {
260  if( ncol() != v.size() )
261  {
262  throw std::range_error( "AlMat: operator*: size do not match! " );
263  }
264 
265  int k(nrow());
266  int l(ncol());
267  double* p;
268  double* q;
269 
270  AlVec b(k);
271  for( int i=0; i<k; i++ ) {
272  p = b.ptrData()+i;
273  q = m_ptr_data+i*l;
274  for( int j=0; j<l; j++ ) *p += (*(q+j))*(*(v.ptrData()+j));
275  }
276 
277  return b;
278 }

◆ operator*=()

AlMat & Trk::AlMat::operator*= ( const double &  d)

Definition at line 280 of file AlMat.cxx.

280  {
281  double* p = m_ptr_data+m_nele;
282  while (p > m_ptr_data)
283  *(--p) *= d;
284 
285  return *this;
286 }

◆ operator+()

AlMat Trk::AlMat::operator+ ( const AlMat m) const

Definition at line 162 of file AlMat.cxx.

162  {
163  if( m_nrow != m.m_nrow || m_ncol != m.m_ncol )
164  {
165  throw std::range_error( "AlMat: operator+: size do not match!" );
166  }
167 
168  AlMat b( m_nrow, m_ncol );
169 
170  double* p = m_ptr_data + m_nele;
171  double* q = m.m_ptr_data + m_nele;
172  double* r = b.m_ptr_data + m_nele;
173  while (p > m_ptr_data) *(--r) = (*(--p))+(*(--q));
174 
175  return b;
176 }

◆ operator+=()

AlMat & Trk::AlMat::operator+= ( const AlMat m)

Definition at line 178 of file AlMat.cxx.

178  {
179 
180  if( m_nrow != m.m_nrow || m_ncol != m.m_ncol )
181  {
182  throw std::range_error( "AlMat: operator+=: size do not match!" );
183  }
184 
185  double* p = m_ptr_data + m_nele;
186  double* q = m.m_ptr_data + m_nele;
187  while (p > m_ptr_data) *(--p) += *(--q);
188 
189  return *this;
190 }

◆ operator-()

AlMat Trk::AlMat::operator- ( const AlMat m) const

Definition at line 192 of file AlMat.cxx.

192  {
193  if( m_nrow != m.m_nrow || m_ncol != m.m_ncol )
194  {
195  throw std::range_error( "AlMat: operator-: size do not match!" );
196  }
197 
198  AlMat b( m_nrow, m_ncol );
199 
200  double* p = m_ptr_data + m_nele;
201  double* q = m.m_ptr_data + m_nele;
202  double* r = b.m_ptr_data + m_nele;
203  while (p > m_ptr_data) *(--r) = (*(--p))-(*(--q));
204 
205  return b;
206 }

◆ operator-=()

AlMat & Trk::AlMat::operator-= ( const AlMat m)

Definition at line 208 of file AlMat.cxx.

208  {
209  if( m_nrow != m.m_nrow || m_ncol != m.m_ncol )
210  {
211  throw std::range_error( "AlMat: operator-=: size do not match!");
212  }
213 
214  double* p = m_ptr_data + m_nele;
215  double* q = m.m_ptr_data + m_nele;
216  while (p > m_ptr_data) *(--p) -= *(--q);
217 
218  return *this;
219 }

◆ operator=() [1/3]

AlMat & Trk::AlMat::operator= ( const AlMat m)

Definition at line 134 of file AlMat.cxx.

134  {
135  if (this==&m) return *this;
136 
137  if(( m_nrow!=0 || m_ncol!=0) && (m_nrow != m.nrow() || m_ncol != m.ncol() ))
138  {
139  throw std::range_error( "AlMat=AlMat Assignment: size do not match!" );
140  }
141 
142  if ( m_ptr_data != m.m_ptr_data ) {
143  reSize(m.nrow(), m.ncol());
144  copy(m);
145  };
146  return (*this);
147 }

◆ operator=() [2/3]

AlMat & Trk::AlMat::operator= ( const AlSymMat m)

Definition at line 149 of file AlMat.cxx.

149  {
150  if( ( m_nrow!=0 || m_ncol!=0) && (m_nrow != m.size() || m_ncol != m.size() ))
151  {
152  throw std::range_error( "AlMat=AlSymMatBase Assignment: size do not match!" );
153  }
154 
155  if ( m_ptr_data != m.ptrData() ) {
156  reSize(m.size(), m.size());
157  copy(m);
158  }
159  return (*this);
160 }

◆ operator=() [3/3]

AlMat & Trk::AlMat::operator= ( const double &  d)

Definition at line 126 of file AlMat.cxx.

126  {
127 
128  double* p = m_ptr_data + m_nele;
129  while (p > m_ptr_data) *(--p) = d;
130 
131  return *this;
132 }

◆ operator[]() [1/2]

AlMat::AlMat_row Trk::AlMat::operator[] ( int  r)
inline

Definition at line 123 of file AlMat.h.

123  {
124  AlMat_row b(*this,r);
125  return b;
126 }

◆ operator[]() [2/2]

AlMat::AlMat_row_const Trk::AlMat::operator[] ( int  r) const
inline

Definition at line 128 of file AlMat.h.

128  {
129  const AlMat_row_const b(*this,r);
130  return b;
131 }

◆ pathBin()

const std::string & Trk::AlMat::pathBin ( ) const
inline

Definition at line 175 of file AlMat.h.

175  {
176  return m_pathbin;
177 }

◆ pathTxt()

const std::string & Trk::AlMat::pathTxt ( ) const
inline

Definition at line 179 of file AlMat.h.

179  {
180  return m_pathtxt;
181 }

◆ Print()

const std::string Trk::AlMat::Print ( const int  NColsPerSet = 10)

Definition at line 452 of file AlMat.cxx.

453 {
454  std::ostringstream textmatrix;
455  int FirstCol = 0;
456  int LastCol = NColsPerSet;
457 
458  int NSets = (ncol()/NColsPerSet);
459  if (ncol()%NColsPerSet>0) NSets++;
460  textmatrix << std::endl;
461  textmatrix << " ++++++++++++++ AlMat ++ "
462  << nrow()
463  << " x "
464  << ncol()
465  << " +++++++++++++++++++++++++++++"<< std::endl;
466  for (int set=0; set < NSets; set++) {
467  FirstCol = set*NColsPerSet;
468  LastCol = (set+1)*NColsPerSet;
469  if (LastCol>ncol()) LastCol = ncol();
470  textmatrix << " |row\\col| ";
471  for (int col=FirstCol; col < LastCol; col++) {
472  textmatrix << std::setw(6) << col << " | ";
473  }
474  textmatrix << std::endl;
475  textmatrix << " |-------|";
476  for (int col=FirstCol; col < LastCol; col++) {
477  textmatrix << "--------|";
478  }
479  textmatrix << std::endl;
480  for (int row=0; row<nrow(); row++) {
481  textmatrix << " |" << std::setw(6) << row << " | ";
482  for (int col=FirstCol; col<LastCol; col++) {
483  double melem = *(m_ptr_data+row*ncol()+col);
484  textmatrix << std::setprecision(5) << std:: setw(6) << melem << " | ";
485  }
486  textmatrix << std::endl;
487  }
488  if (set != (NSets-1)) textmatrix << std::endl;
489  }
490  textmatrix << " +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"<< std::endl;
491  return textmatrix.str();
492 }

◆ ptrData() [1/2]

double * Trk::AlMat::ptrData ( )
inline

Definition at line 171 of file AlMat.h.

171  {
172  return m_ptr_data;
173 }

◆ ptrData() [2/2]

const double * Trk::AlMat::ptrData ( ) const
inline

Definition at line 167 of file AlMat.h.

167  {
168  return m_ptr_data;
169 }

◆ ReadScalaPack()

StatusCode Trk::AlMat::ReadScalaPack ( const std::string &  filename)

Definition at line 364 of file AlMat.cxx.

364  {
365  std::ifstream inmat(filename.c_str(), std::ios::binary);
366  if(inmat.fail())
367  return StatusCode::FAILURE;
368 
369  int32_t mNrow = m_nrow;
370  inmat.read((char*)&mNrow, sizeof (mNrow));
371  int32_t mNcol = m_ncol;
372  inmat.read((char*)&mNcol, sizeof (mNcol));
373 
374  m_nrow=abs(mNrow);
375  m_ncol=abs(mNcol);
377  m_transpose = false;
378 
379  // printf("ALMat::nrow: %d \n",m_nrow);
380  // printf("ALMat::ncol: %d \n",m_ncol);
381  // printf("ALMat::nele: %d \n",m_nele);
382 
383  double melem=0;
384  for(int i=0; i<m_nrow; i++) {
385  for(int j=0; j<m_ncol; j++) {
386  inmat.read((char*)&melem, sizeof (melem));
387  *(m_ptr_data+i*m_ncol+j) = melem;
388  // printf("(%d,%d) = %.16lf \n",i,j,melem);
389  }
390  }
391 
392  inmat.close();
393  return StatusCode::SUCCESS;
394 }

◆ reSize()

void Trk::AlMat::reSize ( int  Nnew,
int  Mnew 
)

Definition at line 338 of file AlMat.cxx.

338  {
339  if ( Nnew != m_nrow || Mnew != m_ncol ) {
340 
341  double* p = m_ptr_data;
342  m_nele = Nnew*Mnew;
343  m_ptr_data = new double[m_nele];
344  int nrow_old = m_nrow;
345  int ncol_old = m_ncol;
346  m_transpose = false;
347 
348  m_nrow = Nnew;
349  m_ncol = Mnew;
350  int k = m_nrow <= nrow_old ? m_nrow : nrow_old;
351  int l = m_ncol <= ncol_old ? m_ncol : ncol_old;
352 
353  for( int i=0; i<k; i++ ) {
354  for( int j=0; j<l; j++ ) {
355  *(m_ptr_data+i*m_ncol+j) = *(p+i*ncol_old+j);
356  }
357  }
358 
359  delete [] p;
360  }
361 }

◆ SetPathBin()

void Trk::AlMat::SetPathBin ( const std::string &  path)

Definition at line 397 of file AlMat.cxx.

398 {
399  m_pathbin.assign(path);
400 }

◆ SetPathTxt()

void Trk::AlMat::SetPathTxt ( const std::string &  path)

Definition at line 403 of file AlMat.cxx.

404 {
405  m_pathtxt.assign(path);
406 }

◆ T()

AlMat Trk::AlMat::T ( ) const

Definition at line 289 of file AlMat.cxx.

289  {
290  AlMat b(m_ncol,m_nrow);
291  for( int i=0; i<b.m_nrow; i++ ) {
292  for( int j=0; j<b.m_ncol; j++ ) {
293  b[i][j]= *(m_ptr_data+j*m_ncol+i);
294  }
295  }
296  return b;
297 }

◆ Transpose()

AlMat & Trk::AlMat::Transpose ( )

Definition at line 300 of file AlMat.cxx.

300  {
301 
302  m_transpose = true;
303 
304  return *this;
305 }

◆ Write()

StatusCode Trk::AlMat::Write ( const std::string &  filename,
bool  binary,
unsigned int  precision = 6 
)

Definition at line 409 of file AlMat.cxx.

410 {
411  std::ofstream outmat;
412 
413  if(binary) {
414  outmat.open((m_pathbin+filename).c_str(), std::ios::binary);
415  if(outmat.fail())
416  return StatusCode::FAILURE;
417 
418  int32_t mNrow = m_nrow;
419  outmat.write((char*)&mNrow, sizeof (mNrow));
420  int32_t mNcol = m_ncol;
421  outmat.write((char*)&mNcol, sizeof (mNcol));
422  }
423  else {
424  outmat.open((m_pathtxt+filename).c_str());
425  if(outmat.fail())
426  return StatusCode::FAILURE;
427  outmat.setf(std::ios::fixed);
428  if(precision>0)
429  outmat.setf(std::ios::showpoint);
430  outmat.precision(precision);
431  }
432 
433  double melem=0;
434 
435  for( int i=0; i<m_nrow; i++) {
436  for( int j=0; j<m_ncol; j++) {
437  melem = *(m_ptr_data+i*m_ncol+j);
438  if(binary)
439  outmat.write((char*)&(melem), sizeof (melem));
440  else
441  outmat << " " << std::setw(12) << melem;
442  }
443  if(!binary)
444  outmat << std::endl;
445  }
446 
447  outmat.close();
448  return StatusCode::SUCCESS;
449 }

Member Data Documentation

◆ m_ncol

int Trk::AlMat::m_ncol
protected

Definition at line 109 of file AlMat.h.

◆ m_nele

int Trk::AlMat::m_nele
protected

Definition at line 111 of file AlMat.h.

◆ m_nrow

int Trk::AlMat::m_nrow
protected

Definition at line 110 of file AlMat.h.

◆ m_pathbin

std::string Trk::AlMat::m_pathbin
protected

Definition at line 112 of file AlMat.h.

◆ m_pathtxt

std::string Trk::AlMat::m_pathtxt
protected

Definition at line 113 of file AlMat.h.

◆ m_ptr_data

double* Trk::AlMat::m_ptr_data
protected

Definition at line 114 of file AlMat.h.

◆ m_transpose

bool Trk::AlMat::m_transpose
protected

Definition at line 115 of file AlMat.h.


The documentation for this class was generated from the following files:
query_example.row
row
Definition: query_example.py:24
beamspotman.r
def r
Definition: beamspotman.py:676
Trk::AlMat::m_pathbin
std::string m_pathbin
Definition: AlMat.h:112
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
athena.path
path
python interpreter configuration --------------------------------------—
Definition: athena.py:128
Trk::AlMat::AlMat
AlMat()
Definition: AlMat.cxx:21
hist_file_dump.d
d
Definition: hist_file_dump.py:137
Trk::AlMat::m_transpose
bool m_transpose
Definition: AlMat.h:115
Trk::AlMat::reSize
void reSize(int Nnew, int Mnew)
Definition: AlMat.cxx:338
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
Trk::AlMat::m_nrow
int m_nrow
Definition: AlMat.h:110
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
Trk::AlMat::ncol
long int ncol() const
Definition: AlMat.h:162
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
lumiFormat.i
int i
Definition: lumiFormat.py:85
Trk::AlMat::copy
void copy(const AlMat &m)
Definition: AlMat.cxx:62
beamspotman.n
n
Definition: beamspotman.py:731
Trk::AlMat::m_ncol
int m_ncol
Definition: AlMat.h:109
JetVoronoiDiagramHelpers::Norm
Point Norm(const Point &a)
Definition: JetVoronoiDiagramHelpers.cxx:79
hist_file_dump.f
f
Definition: hist_file_dump.py:135
Trk::AlMat::nrow
long int nrow() const
Definition: AlMat.h:157
CxxUtils::set
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Definition: bitmask.h:232
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
Trk::AlMat::m_nele
int m_nele
Definition: AlMat.h:111
Trk::AlMat::elemc
double elemc(long int, long int) const
Definition: AlMat.cxx:101
query_example.col
col
Definition: query_example.py:7
Trk::AlMat::m_ptr_data
double * m_ptr_data
Definition: AlMat.h:114
Trk::AlMat::elemr
double & elemr(long int, long int)
Definition: AlMat.cxx:89
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
extractSporadic.q
list q
Definition: extractSporadic.py:98
plotBeamSpotMon.nc
int nc
Definition: plotBeamSpotMon.py:83
Trk::v
@ v
Definition: ParamDefs.h:78
Trk::AlMat::m_pathtxt
std::string m_pathtxt
Definition: AlMat.h:113
fitman.k
k
Definition: fitman.py:528