#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 () |
void | configure (const OMTFConfiguration *omtfConfig) |
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... | |
const OMTFConfiguration * | myOmtfConfig |
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 9 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.
|
inline |
Definition at line 14 of file OMTFResult.h.
void OMTFResult::addResult | ( | unsigned int | iRefLayer, |
unsigned int | iLayer, | ||
unsigned int | val, | ||
int | iRefPhi, | ||
int | iRefEta | ||
) |
Definition at line 22 of file OMTFResult.cc.
References refEta1D, refPhi1D, results, and heppy_batch::val.
void OMTFResult::clear | ( | void | ) |
Definition at line 29 of file OMTFResult.cc.
References hits1D, hitsBits, myOmtfConfig, OMTFConfiguration::nLayers(), OMTFConfiguration::nRefLayers(), refEta1D, refPhi1D, refPhiRHit1D, results, and results1D.
Referenced by configure().
void OMTFResult::configure | ( | const OMTFConfiguration * | omtfConfig | ) |
Definition at line 10 of file OMTFResult.cc.
References clear(), and myOmtfConfig.
Referenced by OMTFProcessor::addGP().
bool OMTFResult::empty | ( | void | ) | const |
Definition at line 61 of file OMTFResult.cc.
References hits1D, myOmtfConfig, 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 40 of file OMTFResult.cc.
References OMTFConfiguration::fwVersion(), OMTFConfiguration::getBendingLayers(), OMTFConfiguration::getLogicToLogic(), hits1D, hitsBits, myOmtfConfig, funct::pow(), results, results1D, and heppy_batch::val.
|
inline |
Definition at line 28 of file OMTFResult.h.
References hitsBits.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 26 of file OMTFResult.h.
References refEta1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 30 of file OMTFResult.h.
References refPhiRHit1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 24 of file OMTFResult.h.
References refPhi1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 18 of file OMTFResult.h.
References results.
Referenced by XMLConfigWriter::writeResultsData().
|
inline |
Definition at line 22 of file OMTFResult.h.
References hits1D.
Referenced by OMTFSorter::sortSingleResult().
|
inline |
Definition at line 20 of file OMTFResult.h.
References results1D.
Referenced by OMTFSorter::sortSingleResult().
void OMTFResult::setRefPhiRHits | ( | unsigned int | iRefLayer, |
int | iRefPhiRHit | ||
) |
|
friend |
Definition at line 70 of file OMTFResult.cc.
|
private |
Number of hits for each reference layer.
Definition at line 60 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 63 of file OMTFResult.h.
Referenced by clear(), finalise(), and getHitsWord().
|
private |
Definition at line 68 of file OMTFResult.h.
Referenced by clear(), configure(), empty(), and finalise().
|
private |
Reference phi for each reference layer.
Definition at line 54 of file OMTFResult.h.
Referenced by addResult(), clear(), and getRefEtas().
|
private |
Reference phi for each reference layer.
Definition at line 51 of file OMTFResult.h.
Referenced by addResult(), clear(), and getRefPhis().
|
private |
Reference phi for each reference layer - the input value.
Definition at line 66 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 48 of file OMTFResult.h.
Referenced by addResult(), clear(), finalise(), getResults(), and operator<<().
|
private |
Sum of pdf weights for each reference layer.
Definition at line 57 of file OMTFResult.h.
Referenced by clear(), finalise(), getSummaryVals(), and operator<<().