#include <L1MuGMTMatrix.h>
Public Member Functions | |
int | colAny (int c) const |
is any element in column c > 0 ? return index or -1 More... | |
void | init (T v=0) |
initialize matrix More... | |
bool | isMax (int r, int c) const |
is the element (r,c) the max. entry in its row and column? More... | |
bool | isMin (int r, int c) const |
is the element (r,c) the min. entry in its row and column? More... | |
L1MuGMTMatrix (int r, int c) | |
constructor More... | |
L1MuGMTMatrix (const L1MuGMTMatrix< T > &) | |
copy constructor More... | |
T & | operator() (int r, int c) |
const T & | operator() (int r, int c) const |
L1MuGMTMatrix & | operator*= (const T &s) |
scalar multiplication More... | |
L1MuGMTMatrix & | operator+= (const L1MuGMTMatrix &m) |
matrix addition More... | |
L1MuGMTMatrix & | operator+= (const T &s) |
scalar addition More... | |
L1MuGMTMatrix & | operator= (const L1MuGMTMatrix &m) |
assignment operator More... | |
void | print () const |
print matrix More... | |
int | rowAny (int r) const |
is any element in row r > 0 ? return index or -1 More... | |
void | set (int r, int c, T v) |
set matrix element More... | |
virtual | ~L1MuGMTMatrix () |
destructor More... | |
Private Attributes | |
int | c_size |
T ** | p |
int | r_size |
Matrix.
general matrix
Definition at line 49 of file L1MuGMTMatrix.h.
L1MuGMTMatrix< T >::L1MuGMTMatrix | ( | int | r, |
int | c | ||
) |
constructor
Definition at line 111 of file L1MuGMTMatrix.h.
References trackerHits::c, i, L1MuGMTMatrix< T >::p, and alignCSCRings::r.
L1MuGMTMatrix< T >::L1MuGMTMatrix | ( | const L1MuGMTMatrix< T > & | mat | ) |
copy constructor
Definition at line 128 of file L1MuGMTMatrix.h.
References L1MuGMTMatrix< T >::c_size, i, j, L1MuGMTMatrix< T >::p, and L1MuGMTMatrix< T >::r_size.
|
virtual |
destructor
Definition at line 147 of file L1MuGMTMatrix.h.
References i, and AlCaHLTBitMon_ParallelJobs::p.
int L1MuGMTMatrix< T >::colAny | ( | int | c | ) | const |
is any element in column c > 0 ? return index or -1
Definition at line 328 of file L1MuGMTMatrix.h.
References i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
void L1MuGMTMatrix< T >::init | ( | T | v = 0 | ) |
initialize matrix
Definition at line 188 of file L1MuGMTMatrix.h.
References trackerHits::c, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
Referenced by L1MuGMTInputEvent::L1MuGMTInputEvent(), L1MuGMTPSB::L1MuGMTPSB(), L1MuGMTMatcher::match(), L1MuGMTInputEvent::reset(), L1MuGMTMatcher::reset(), and L1MuGMTPSB::reset().
bool L1MuGMTMatrix< T >::isMax | ( | int | r, |
int | c | ||
) | const |
is the element (r,c) the max. entry in its row and column?
Definition at line 282 of file L1MuGMTMatrix.h.
References trackerHits::c, i, j, max(), AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
Referenced by L1MuGMTMatcher::match().
bool L1MuGMTMatrix< T >::isMin | ( | int | r, |
int | c | ||
) | const |
is the element (r,c) the min. entry in its row and column?
Definition at line 309 of file L1MuGMTMatrix.h.
References trackerHits::c, i, j, min, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
T & L1MuGMTMatrix< T >::operator() | ( | int | r, |
int | c | ||
) |
Definition at line 162 of file L1MuGMTMatrix.h.
References trackerHits::c, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
const T & L1MuGMTMatrix< T >::operator() | ( | int | r, |
int | c | ||
) | const |
Definition at line 175 of file L1MuGMTMatrix.h.
References trackerHits::c, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator*= | ( | const T & | s | ) |
scalar multiplication
Definition at line 267 of file L1MuGMTMatrix.h.
References trackerHits::c, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator+= | ( | const L1MuGMTMatrix< T > & | m | ) |
matrix addition
Definition at line 233 of file L1MuGMTMatrix.h.
References trackerHits::c, L1MuGMTMatrix< T >::c_size, L1MuGMTMatrix< T >::p, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, and L1MuGMTMatrix< T >::r_size.
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator+= | ( | const T & | s | ) |
scalar addition
Definition at line 252 of file L1MuGMTMatrix.h.
References trackerHits::c, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
L1MuGMTMatrix< T > & L1MuGMTMatrix< T >::operator= | ( | const L1MuGMTMatrix< T > & | m | ) |
assignment operator
Definition at line 214 of file L1MuGMTMatrix.h.
References trackerHits::c, L1MuGMTMatrix< T >::c_size, L1MuGMTMatrix< T >::p, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, and L1MuGMTMatrix< T >::r_size.
void L1MuGMTMatrix< T >::print | ( | void | ) | const |
print matrix
Definition at line 360 of file L1MuGMTMatrix.h.
References trackerHits::c, convertSQLitetoXML_cfg::output, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::r.
Referenced by L1MuGMTMatcher::print().
int L1MuGMTMatrix< T >::rowAny | ( | int | r | ) | const |
is any element in row r > 0 ? return index or -1
Definition at line 344 of file L1MuGMTMatrix.h.
References i, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by L1MuGMTCancelOutUnit::decide(), and L1MuGMTMerger::merge().
void L1MuGMTMatrix< T >::set | ( | int | r, |
int | c, | ||
T | v | ||
) |
set matrix element
Definition at line 201 of file L1MuGMTMatrix.h.
References trackerHits::c, AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, and findQualityFiles::v.
Referenced by L1MuGMTPSB::getCalo(), and betterConfigParser.BetterConfigParser::getGeneral().
|
private |
Definition at line 103 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatrix< T >::L1MuGMTMatrix(), L1MuGMTMatrix< T >::operator+=(), and L1MuGMTMatrix< T >::operator=().
|
private |
Definition at line 105 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatrix< T >::L1MuGMTMatrix(), L1MuGMTMatrix< T >::operator+=(), and L1MuGMTMatrix< T >::operator=().
|
private |
Definition at line 103 of file L1MuGMTMatrix.h.
Referenced by L1MuGMTMatrix< T >::L1MuGMTMatrix(), L1MuGMTMatrix< T >::operator+=(), and L1MuGMTMatrix< T >::operator=().