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;
52 hits1D[iRefLayer] += (val > 0);
54 hits1D[iRefLayer] += (val > 0);
62 unsigned int nHits = 0;
64 nHits +=
hits1D[iRefLayer];
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) {
81 out << aResult.
results1D[iRefLayer] <<
"\t";
86 out <<
" Number of hits: ";
87 for (
unsigned int iRefLayer = 0; iRefLayer < aResult.
hits1D.size(); ++iRefLayer) {
88 out << aResult.
hits1D[iRefLayer] <<
"\t";
const std::set< int > & getBendingLayers() const
unsigned int nRefLayers() const
unsigned int fwVersion() const
const OMTFConfiguration * myOmtfConfig
unsigned int nLayers() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
vector1D results1D
Sum of pdf weights for each reference layer.
const std::map< int, int > & getLogicToLogic() const
vector1D refPhiRHit1D
Reference phi for each reference layer - the input value.
void configure(const OMTFConfiguration *omtfConfig)
void setRefPhiRHits(unsigned int iRefLayer, int iRefPhiRHit)
vector1D refPhi1D
Reference phi for each reference layer.
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
vector1D hits1D
Number of hits for each reference layer.
void addResult(unsigned int iRefLayer, unsigned int iLayer, unsigned int val, int iRefPhi, int iRefEta)
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.