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) {
const OMTFConfiguration * myOmtfConfig
vector1D results1D
Sum of pdf weights for each reference layer.
unsigned int fwVersion() const
vector1D refPhiRHit1D
Reference phi for each reference layer - the input value.
void configure(const OMTFConfiguration *omtfConfig)
unsigned int nLayers() const
const std::map< int, int > & getLogicToLogic() const
void setRefPhiRHits(unsigned int iRefLayer, int iRefPhiRHit)
vector1D refPhi1D
Reference phi for each reference layer.
unsigned int nRefLayers() const
std::ostream & operator<<(std::ostream &out, const OMTFResult &aResult)
const std::set< int > & getBendingLayers() const
vector1D hits1D
Number of hits for each reference layer.
void addResult(unsigned int iRefLayer, unsigned int iLayer, unsigned int val, int iRefPhi, int iRefEta)
TupleMultiplicity< TrackerTraits > const *__restrict__ uint32_t nHits
vector1D refEta1D
Reference phi for each reference layer.
Power< A, B >::type pow(const A &a, const B &b)
vector1D hitsBits
Words representing nimber of hit layers for each reference layer.