#include <OMTFResult.h>
Public Types | |
typedef std::vector< unsigned int > | vector1D |
typedef std::vector< vector1D > | vector2D |
Public Member Functions | |
void | addResult (unsigned int iRefLayer, unsigned int iLayer, unsigned int val, int iRefPhi, int iRefEta) |
void | clear () |
bool | empty () const |
void | finalise () |
const OMTFResult::vector1D & | getHitsWord () const |
const OMTFResult::vector1D & | getRefEtas () const |
const OMTFResult::vector1D & | getRefPhiRHits () const |
const OMTFResult::vector1D & | getRefPhis () const |
const OMTFResult::vector2D & | getResults () const |
const OMTFResult::vector1D & | getSummaryHits () const |
const OMTFResult::vector1D & | getSummaryVals () const |
OMTFResult () | |
void | setRefPhiRHits (unsigned int iRefLayer, int iRefPhiRHit) |
Private Attributes | |
vector1D | hits1D |
Number of hits for each reference layer. More... | |
vector1D | hitsBits |
Words representing nimber of hit layers for each reference layer. More... | |
vector1D | refEta1D |
Reference phi for each reference layer. More... | |
vector1D | refPhi1D |
Reference phi for each reference layer. More... | |
vector1D | refPhiRHit1D |
Reference phi for each reference layer - the input value. More... | |
vector2D | results |
vector1D | results1D |
Sum of pdf weights for each reference layer. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const OMTFResult &aResult) |
Definition at line 7 of file OMTFResult.h.
typedef std::vector<unsigned int> OMTFResult::vector1D |
Definition at line 11 of file OMTFResult.h.
typedef std::vector<vector1D> OMTFResult::vector2D |
Definition at line 12 of file OMTFResult.h.
OMTFResult::OMTFResult | ( | ) |
Definition at line 10 of file OMTFResult.cc.
References clear().
void OMTFResult::addResult | ( | unsigned int | iRefLayer, |
unsigned int | iLayer, | ||
unsigned int | val, | ||
int | iRefPhi, | ||
int | iRefEta | ||
) |
Definition at line 24 of file OMTFResult.cc.
References refEta1D, refPhi1D, and results.
void OMTFResult::clear | ( | void | ) |
Definition at line 37 of file OMTFResult.cc.
References hits1D, hitsBits, OMTFConfiguration::instance(), refEta1D, refPhi1D, refPhiRHit1D, results, and results1D.
Referenced by OMTFResult().
bool OMTFResult::empty | ( | void | ) | const |
Definition at line 69 of file OMTFResult.cc.
References hits1D, OMTFConfiguration::instance(), and OMTFConfiguration::nRefLayers.
void OMTFResult::finalise | ( | ) |
If connected layer (POS or BEND) has not been fired, ignore this layer also
Do not count bending layers in hit count
Definition at line 49 of file OMTFResult.cc.
References OMTFConfiguration::bendingLayers, hits1D, hitsBits, OMTFConfiguration::instance(), OMTFConfiguration::logicToLogic, funct::pow(), results, and results1D.
|
inline |
Definition at line 26 of file OMTFResult.h.
References hitsBits.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 24 of file OMTFResult.h.
References refEta1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 28 of file OMTFResult.h.
References refPhiRHit1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 22 of file OMTFResult.h.
References refPhi1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 16 of file OMTFResult.h.
References results.
Referenced by XMLConfigWriter::writeResultsData().
|
inline |
Definition at line 20 of file OMTFResult.h.
References hits1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 18 of file OMTFResult.h.
References results1D.
Referenced by OMTFSorter::sortSingleResult().
void OMTFResult::setRefPhiRHits | ( | unsigned int | iRefLayer, |
int | iRefPhiRHit | ||
) |
Definition at line 18 of file OMTFResult.cc.
References refPhiRHit1D.
|
friend |
Definition at line 80 of file OMTFResult.cc.
|
private |
Number of hits for each reference layer.
Definition at line 62 of file OMTFResult.h.
Referenced by clear(), empty(), finalise(), getSummaryHits(), and operator<<().
|
private |
Words representing nimber of hit layers for each reference layer.
Definition at line 65 of file OMTFResult.h.
Referenced by clear(), finalise(), and getHitsWord().
|
private |
Reference phi for each reference layer.
Definition at line 56 of file OMTFResult.h.
Referenced by addResult(), clear(), and getRefEtas().
|
private |
Reference phi for each reference layer.
Definition at line 53 of file OMTFResult.h.
Referenced by addResult(), clear(), and getRefPhis().
|
private |
Reference phi for each reference layer - the input value.
Definition at line 68 of file OMTFResult.h.
Referenced by clear(), getRefPhiRHits(), and setRefPhiRHits().
|
private |
Pdf weight found for each layer First index: layer number Second index: ref layer number
Definition at line 50 of file OMTFResult.h.
Referenced by addResult(), clear(), finalise(), getResults(), and operator<<().
|
private |
Sum of pdf weights for each reference layer.
Definition at line 59 of file OMTFResult.h.
Referenced by clear(), finalise(), getSummaryVals(), and operator<<().