39 if(!refLayerHits.size())
continue;
41 int phiRef = refLayerHits[iInput];
53 out<<
"min Phi in each logicRegion (X) in each ref Layer (Y): "<<std::endl;
56 out<<
" "<<
minRefPhi2D[iRefLayer][iLogicRegion]<<
"\t";
62 out<<
"max Phi in each logicRegion (X) in each ref Layer (Y): "<<std::endl;
65 out<<
" "<<
maxRefPhi2D[iRefLayer][iLogicRegion]<<
"\t";
81 if(!refLayerHits.size())
continue;
83 for(
unsigned int iInput=0;iInput<refLayerHits.size();++iInput){
84 int phiRef = refLayerHits[iInput];
92 if(iInput%2==0)
fillInputRange(iProcessor,iRegion,iRefLayer,iInput+1);
104 for(
unsigned int iInput=0;iInput<14;++iInput){
113 unsigned int iRegion,
114 unsigned int iRefLayer,
115 unsigned int iInput){
123 unsigned int iProcessor,
124 unsigned int iRegion){
126 out<<
"iProcessor: "<<iProcessor
127 <<
" iRegion: "<<iRegion
130 out<<
"Ref hits"<<std::endl;
132 out<<
"Logic layer: "<<iLogicLayer<<
" Hits: ";
133 for(
unsigned int iInput=0;iInput<14;++iInput){
void fillPhiMaps(unsigned int iProcessor, const OMTFinput &aInput)
void makeConnetionsMap(unsigned int iProcessor, const OMTFinput &aInput)
unsigned int nLogicRegions
OMTFConfigMaker(const edm::ParameterSet &cfg, OMTFConfiguration *omtf_config)
vector4D measurements4Dref
unsigned int getRegionNumberFromMap(unsigned int iInput, unsigned int iRefLayer, int iPhi) const
void printConnections(std::ostream &out, unsigned int iProcessor, unsigned int iCone)
void fillCounts(unsigned int iProcessor, const OMTFinput &aInput)
std::vector< std::vector< int > > minRefPhi2D
OMTFConfiguration * m_omtf_config
void printPhiMap(std::ostream &out)
void fillInputRange(unsigned int iConfigMaker, unsigned int iCone, const OMTFinput &aInput)
static const OMTFConfiguration * instance()
std::vector< std::vector< int > > maxRefPhi2D