Go to the documentation of this file.
41 for (
unsigned int iLogicLayer = 0; iLogicLayer <
results.size(); ++iLogicLayer) {
43 for (
unsigned int iRefLayer = 0; iRefLayer <
results[iLogicLayer].size(); ++iRefLayer) {
45 unsigned int val =
results[connectedLayer][iRefLayer] > 0 ?
results[iLogicLayer][iRefLayer] : 0;
62 unsigned int nHits = 0;
71 for (
unsigned int iLogicLayer = 0; iLogicLayer < aResult.
results.size(); ++iLogicLayer) {
72 out <<
"Logic layer: " << iLogicLayer <<
" results: ";
73 for (
unsigned int iRefLayer = 0; iRefLayer < aResult.
results[iLogicLayer].size(); ++iRefLayer) {
74 out << aResult.
results[iLogicLayer][iRefLayer] <<
"\t";
79 out <<
" Sum over layers: ";
80 for (
unsigned int iRefLayer = 0; iRefLayer < aResult.
results1D.size(); ++iRefLayer) {
86 out <<
" Number of hits: ";
87 for (
unsigned int iRefLayer = 0; iRefLayer < aResult.
hits1D.size(); ++iRefLayer) {
void setRefPhiRHits(unsigned int iRefLayer, int iRefPhiRHit)
void configure(const OMTFConfiguration *omtfConfig)
vector1D refPhi1D
Reference phi for each reference layer.
vector1D hits1D
Number of hits for each reference layer.
void addResult(unsigned int iRefLayer, unsigned int iLayer, unsigned int val, int iRefPhi, int iRefEta)
unsigned int fwVersion() const
vector1D refEta1D
Reference phi for each reference layer.
const caConstants::TupleMultiplicity *__restrict__ const HitsOnGPU *__restrict__ double *__restrict__ float *__restrict__ double *__restrict__ uint32_t nHits
vector1D hitsBits
Words representing nimber of hit layers for each reference layer.
const std::map< int, int > & getLogicToLogic() const
unsigned int nLayers() const
std::ostream & operator<<(std::ostream &out, const OMTFResult &aResult)
const OMTFConfiguration * myOmtfConfig
vector1D results1D
Sum of pdf weights for each reference layer.
unsigned int nRefLayers() const
const std::set< int > & getBendingLayers() const
Power< A, B >::type pow(const A &a, const B &b)
vector1D refPhiRHit1D
Reference phi for each reference layer - the input value.