34 results[iLayer][iRefLayer] = val;
53 for(
unsigned int iLogicLayer=0;iLogicLayer<
results.size();++iLogicLayer){
55 for(
unsigned int iRefLayer=0;iRefLayer<
results[iLogicLayer].size();++iRefLayer){
57 unsigned int val =
results[connectedLayer][iRefLayer]>0 ?
results[iLogicLayer][iRefLayer]: 0;
69 unsigned int nHits = 0;
79 for(
unsigned int iLogicLayer=0;iLogicLayer<aResult.
results.size();++iLogicLayer){
80 out<<
"Logic layer: "<<iLogicLayer<<
" results: ";
81 for(
unsigned int iRefLayer=0;iRefLayer<aResult.
results[iLogicLayer].size();++iRefLayer){
82 out<<aResult.
results[iLogicLayer][iRefLayer]<<
"\t";
87 out<<
" Sum over layers: ";
88 for(
unsigned int iRefLayer=0;iRefLayer<aResult.
results1D.size();++iRefLayer){
94 out<<
" Number of hits: ";
95 for(
unsigned int iRefLayer=0;iRefLayer<aResult.
hits1D.size();++iRefLayer){
96 out<<aResult.
hits1D[iRefLayer]<<
"\t";
const std::set< int > & getBendingLayers() const
unsigned int nRefLayers() 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.
vector1D refPhiRHit1D
Reference phi for each reference layer - the input value.
void configure(const OMTFConfiguration *omtfConfig)
const std::map< int, int > & getLogicToLogic() const
void setRefPhiRHits(unsigned int iRefLayer, int iRefPhiRHit)
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)
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.