CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends
OMTFConfiguration Class Reference

#include <OMTFConfiguration.h>

Public Types

typedef std::vector< int > vector1D
 
typedef std::vector< std::pair
< unsigned int, unsigned int > > 
vector1D_A
 Map of connections. More...
 
typedef std::vector< vector1Dvector2D
 
typedef std::vector< vector1D_Avector2D_A
 
typedef std::vector< vector2Dvector3D
 
typedef std::vector< vector2D_Avector3D_A
 
typedef std::vector< vector3Dvector4D
 

Public Member Functions

void configure (XMLConfigReader *aReader)
 
void configure (std::shared_ptr< L1TMuonOverlapParams > omtfParams)
 
void initCounterMatrices ()
 
 OMTFConfiguration (const edm::ParameterSet &cfg)
 

Static Public Member Functions

static uint32_t getLayerNumber (uint32_t rawId)
 
static unsigned int getRegionNumber (unsigned int iProcessor, unsigned int iRefLayer, int iPhi)
 
static unsigned int getRegionNumberFromMap (unsigned int iProcessor, unsigned int iRefLayer, int iPhi)
 
static int globalPhiStart (unsigned int iProcessor)
 
static bool isInRegionRange (int iPhiStart, unsigned int coneSize, int iPhi)
 

Static Public Attributes

static std::vector< unsigned int > barrelMax
 
static std::vector< unsigned int > barrelMin
 
static std::set< int > bendingLayers
 
static vector3D_A connections
 
static std::vector< unsigned int > endcap10DegMax
 
static std::vector< unsigned int > endcap10DegMin
 
static std::vector< unsigned int > endcap20DegMax
 
static std::vector< unsigned int > endcap20DegMin
 
static std::map< int, int > hwToLogicLayer
 
static std::map< int, int > logicToHwLayer
 
static std::map< int, int > logicToLogic
 
static vector4D measurements4D
 
static vector4D measurements4Dref
 
static float minPdfVal
 
static unsigned int nGoldenPatterns
 
static unsigned int nHitsPerLayer
 
static unsigned int nInputs
 
static unsigned int nLayers
 
static unsigned int nLogicRegions
 
static unsigned int nPdfAddrBits
 
static unsigned int nPdfValBits
 
static unsigned int nPhiBins
 
static unsigned int nPhiBits
 
static unsigned int nProcessors
 
static unsigned int nRefHits
 
static unsigned int nRefLayers
 
static unsigned int nTestRefHits
 
static std::vector
< std::vector< int > > 
processorPhiVsRefLayer
 
static std::vector
< std::vector< RefHitDef > > 
refHitsDefs
 
static std::vector< int > refToLogicNumber
 
static std::vector
< std::vector< std::vector
< std::pair< int, int > > > > 
regionPhisVsRefLayerVsProcessor
 

Friends

std::ostream & operator<< (std::ostream &out, const OMTFConfiguration &aConfig)
 

Detailed Description

Definition at line 50 of file OMTFConfiguration.h.

Member Typedef Documentation

typedef std::vector<int> OMTFConfiguration::vector1D

Temporary hack to pass data from deep inside class Matrices are used during creation of the connections tables.

Definition at line 124 of file OMTFConfiguration.h.

typedef std::vector< std::pair<unsigned int, unsigned int> > OMTFConfiguration::vector1D_A

Map of connections.

Definition at line 117 of file OMTFConfiguration.h.

typedef std::vector<vector1D > OMTFConfiguration::vector2D

Definition at line 125 of file OMTFConfiguration.h.

Definition at line 118 of file OMTFConfiguration.h.

typedef std::vector<vector2D > OMTFConfiguration::vector3D

Definition at line 126 of file OMTFConfiguration.h.

Definition at line 119 of file OMTFConfiguration.h.

typedef std::vector<vector3D > OMTFConfiguration::vector4D

Definition at line 127 of file OMTFConfiguration.h.

Constructor & Destructor Documentation

OMTFConfiguration::OMTFConfiguration ( const edm::ParameterSet cfg)

Definition at line 87 of file OMTFConfiguration.cc.

References configure(), edm::ParameterSet::exists(), MainPageGenerator::fName, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), XMLConfigReader::setConfigFile(), and AlCaHLTBitMon_QueryRunRegistry::string.

87  {
88 
89  if(theConfig.getParameter<bool>("configFromXML")){
90  if (!theConfig.exists("configXMLFile") ) return;
91  std::string fName = theConfig.getParameter<edm::FileInPath>("configXMLFile").fullPath();
92 
93  XMLConfigReader myReader;
94  myReader.setConfigFile(fName);
95  configure(&myReader);
96  }
97 }
void configure(XMLConfigReader *aReader)
void setConfigFile(const std::string &fName)

Member Function Documentation

void OMTFConfiguration::configure ( XMLConfigReader aReader)

Definition at line 119 of file OMTFConfiguration.cc.

References initCounterMatrices(), and XMLConfigReader::readConfig().

Referenced by L1TMuonOverlapTrackProducer::beginRun(), L1TMuonOverlapParamsESProducer::L1TMuonOverlapParamsESProducer(), and OMTFConfiguration().

119  {
120 
121  aReader->readConfig(this);
123 
124 }
void readConfig(const std::string fName)
void OMTFConfiguration::configure ( std::shared_ptr< L1TMuonOverlapParams omtfParams)

Set global parameters

Set chamber sectors connections to logic processros.

Set connections tables

connections tables for each processor each logic cone Vector of all layers

Vector of all logic cones

Vector of all processors

Starting phis of each region Vector of all regions in one processor

Vector of all reflayers

Vector of all processors

Vector of all processros

Symetrize connections. Use th same connections for all processors

Definition at line 127 of file OMTFConfiguration.cc.

References barrelMax, barrelMin, L1TMuonOverlapParams::LayerMapNode::bendingLayer, bendingLayers, L1TMuonOverlapParams::LayerMapNode::connectedToLayer, connections, filterCSVwithJSON::copy, endcap10DegMax, endcap10DegMin, endcap20DegMax, endcap20DegMin, L1TMuonOverlapParams::LayerMapNode::hwNumber, hwToLogicLayer, initCounterMatrices(), L1TMuonOverlapParams::LayerMapNode::logicNumber, L1TMuonOverlapParams::RefLayerMapNode::logicNumber, logicToHwLayer, logicToLogic, minPdfVal, nGoldenPatterns, nHitsPerLayer, nInputs, nLayers, nLogicRegions, nPdfAddrBits, nPdfValBits, nPhiBins, nPhiBits, nProcessors, nRefHits, nRefLayers, nTestRefHits, processorPhiVsRefLayer, refHitsDefs, L1TMuonOverlapParams::RefLayerMapNode::refLayer, refToLogicNumber, and regionPhisVsRefLayerVsProcessor.

127  {
128 
130  minPdfVal = 0.001;
131  nPdfAddrBits = omtfParams->nPdfAddrBits();
132  nPdfValBits = omtfParams->nPdfValBits();
133  nHitsPerLayer = omtfParams->nHitsPerLayer();
134  nPhiBits = omtfParams->nPhiBits();
135  nPhiBins = omtfParams->nPhiBins();
136  nRefHits = omtfParams->nRefHits();
137  nTestRefHits = omtfParams->nTestRefHits();
138  nProcessors = omtfParams->nProcessors();
139  nLogicRegions = omtfParams->nLogicRegions();
140  nInputs = omtfParams->nInputs();
141  nLayers = omtfParams->nLayers();
142  nRefLayers = omtfParams->nRefLayers();
143  nGoldenPatterns = omtfParams->nGoldenPatterns();
144 
149 
153 
154  std::vector<int> *connectedSectorsStartVec = omtfParams->connectedSectorsStart();
155  std::vector<int> *connectedSectorsEndVec = omtfParams->connectedSectorsEnd();
156 
157  std::copy(connectedSectorsStartVec->begin(), connectedSectorsStartVec->begin()+6, barrelMin.begin());
158  std::copy(connectedSectorsStartVec->begin()+6, connectedSectorsStartVec->begin()+12, endcap10DegMin.begin());
159  std::copy(connectedSectorsStartVec->begin()+12, connectedSectorsStartVec->end(), endcap20DegMin.begin());
160 
161  std::copy(connectedSectorsEndVec->begin(), connectedSectorsEndVec->begin()+6, barrelMax.begin());
162  std::copy(connectedSectorsEndVec->begin()+6, connectedSectorsEndVec->begin()+12, endcap10DegMax.begin());
163  std::copy(connectedSectorsEndVec->begin()+12, connectedSectorsEndVec->end(), endcap20DegMax.begin());
164 
166  std::vector<L1TMuonOverlapParams::LayerMapNode> *layerMap = omtfParams->layerMap();
167 
168  for(unsigned int iLayer=0;iLayer<OMTFConfiguration::nLayers;++iLayer){
169  L1TMuonOverlapParams::LayerMapNode aNode = layerMap->at(iLayer);
170  hwToLogicLayer[aNode.hwNumber] = aNode.logicNumber;
171  logicToHwLayer[aNode.logicNumber] = aNode.hwNumber;
172  logicToLogic[aNode.logicNumber] = aNode.connectedToLayer;
173  if(aNode.bendingLayer) bendingLayers.insert(aNode.logicNumber);
174  }
177 
178  std::vector<L1TMuonOverlapParams::RefLayerMapNode> *refLayerMap = omtfParams->refLayerMap();
179  for(unsigned int iRefLayer=0;iRefLayer<OMTFConfiguration::nRefLayers;++iRefLayer){
180  L1TMuonOverlapParams::RefLayerMapNode aNode = refLayerMap->at(iRefLayer);
181  refToLogicNumber[aNode.refLayer] = aNode.logicNumber;
182  }
184  std::vector<int> vector1D(OMTFConfiguration::nRefLayers,OMTFConfiguration::nPhiBins);
186 
189  OMTFConfiguration::vector1D_A aLayer1D(OMTFConfiguration::nLayers);
192  aLayer2D.assign(OMTFConfiguration::nLogicRegions,aLayer1D);
195 
198  std::vector<std::pair<int,int> > aRefHit1D(OMTFConfiguration::nLogicRegions,std::pair<int,int>(9999,9999));
200  std::vector<std::vector<std::pair<int,int> > > aRefHit2D;
201  aRefHit2D.assign(OMTFConfiguration::nRefLayers,aRefHit1D);
204 
205  //Vector of ref hit definitions
206  std::vector<RefHitDef> aRefHitsDefs(OMTFConfiguration::nRefHits);
208  refHitsDefs.assign(OMTFConfiguration::nProcessors,aRefHitsDefs);
209 
210  std::vector<int> *phiStartMap = omtfParams->globalPhiStartMap();
211  std::vector<L1TMuonOverlapParams::RefHitNode> *refHitMap = omtfParams->refHitMap();
212  std::vector<L1TMuonOverlapParams::LayerInputNode> *layerInputMap = omtfParams->layerInputMap();
213  unsigned int tmpIndex = 0;
214  for(unsigned int iProcessor=0;iProcessor<OMTFConfiguration::nProcessors;++iProcessor){
215  for(unsigned int iRefLayer=0;iRefLayer<OMTFConfiguration::nRefLayers;++iRefLayer){
216  int iPhiStart = phiStartMap->at(iRefLayer+iProcessor*OMTFConfiguration::nRefLayers);
217  processorPhiVsRefLayer[iProcessor][iRefLayer] = iPhiStart;
218  }
219  for(unsigned int iRefHit=0;iRefHit<OMTFConfiguration::nRefHits;++iRefHit){
220  int iPhiMin = refHitMap->at(iRefHit+iProcessor*OMTFConfiguration::nRefHits).iPhiMin;
221  int iPhiMax = refHitMap->at(iRefHit+iProcessor*OMTFConfiguration::nRefHits).iPhiMax;
222  unsigned int iInput = refHitMap->at(iRefHit+iProcessor*OMTFConfiguration::nRefHits).iInput;
223  unsigned int iRegion = refHitMap->at(iRefHit+iProcessor*OMTFConfiguration::nRefHits).iRegion;
224  unsigned int iRefLayer = refHitMap->at(iRefHit+iProcessor*OMTFConfiguration::nRefHits).iRefLayer;
225  regionPhisVsRefLayerVsProcessor[iProcessor][iRefLayer][iRegion] = std::pair<int,int>(iPhiMin,iPhiMax);
226  refHitsDefs[iProcessor][iRefHit] = RefHitDef(iInput,iPhiMin,iPhiMax,iRegion,iRefLayer);
227  }
228  for(unsigned int iLogicRegion=0;iLogicRegion<OMTFConfiguration::nLogicRegions;++iLogicRegion){
229  for(unsigned int iLayer=0;iLayer<OMTFConfiguration::nLayers;++iLayer){
230  tmpIndex = iLayer+iLogicRegion*OMTFConfiguration::nLayers + iProcessor*OMTFConfiguration::nLogicRegions*OMTFConfiguration::nLayers;
231  unsigned int iFirstInput = layerInputMap->at(tmpIndex).iFirstInput;
232  unsigned int nInputs = layerInputMap->at(tmpIndex).nInputs;
233  OMTFConfiguration::connections[iProcessor][iLogicRegion][iLayer] = std::pair<unsigned int, unsigned int>(iFirstInput,nInputs);
235  if(iProcessor!=0) OMTFConfiguration::connections[iProcessor][iLogicRegion][iLayer] = OMTFConfiguration::connections[0][iLogicRegion][iLayer];
236  }
237  }
238  }
239 
241 
242 }
static unsigned int nLayers
static unsigned int nInputs
unsigned int hwNumber
short layer number used within OMTF emulator
static std::vector< unsigned int > endcap20DegMax
static vector3D_A connections
static float minPdfVal
unsigned int logicNumber
logic numer of the layer
static std::vector< unsigned int > endcap10DegMin
static std::vector< unsigned int > barrelMax
static unsigned int nProcessors
static unsigned int nLogicRegions
static std::map< int, int > logicToLogic
static unsigned int nPdfAddrBits
static std::vector< unsigned int > barrelMin
static unsigned int nTestRefHits
static unsigned int nHitsPerLayer
static std::vector< std::vector< int > > processorPhiVsRefLayer
std::vector< std::pair< unsigned int, unsigned int > > vector1D_A
Map of connections.
std::vector< int > vector1D
static unsigned int nPhiBins
bool bendingLayer
Is this a bending layers?
static std::vector< int > refToLogicNumber
static unsigned int nPhiBits
static std::map< int, int > hwToLogicLayer
unsigned int refLayer
Reference layer number.
static unsigned int nRefLayers
static std::map< int, int > logicToHwLayer
static unsigned int nRefHits
static std::set< int > bendingLayers
unsigned int logicNumber
Corresponding logical layer number.
static unsigned int nGoldenPatterns
std::vector< vector1D_A > vector2D_A
static std::vector< unsigned int > endcap10DegMax
static std::vector< std::vector< std::vector< std::pair< int, int > > > > regionPhisVsRefLayerVsProcessor
static std::vector< unsigned int > endcap20DegMin
static unsigned int nPdfValBits
static std::vector< std::vector< RefHitDef > > refHitsDefs
uint32_t OMTFConfiguration::getLayerNumber ( uint32_t  rawId)
static

Return layer number encoding subsystem, and station number in a simple formula: aLayer+100*detId.subdetId() where aLayer is a layer number counting from vertex

Definition at line 332 of file OMTFConfiguration.cc.

References gather_cfg::cout, MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, dt, GeomDetEnumerators::isBarrel(), RPCDetId::layer(), DetId::Muon, RPCDetId::region(), CSCDetId::ring(), MuonSubdetId::RPC, DTChamberId::station(), CSCDetId::station(), RPCDetId::station(), and DetId::subdetId().

Referenced by OMTFinputMaker::processCSC(), OMTFinputMaker::processDT(), and OMTFinputMaker::processRPC().

332  {
333 
334  uint32_t aLayer = 0;
335 
336  DetId detId(rawId);
337  if (detId.det() != DetId::Muon){
338  std::cout << "PROBLEM: hit in unknown Det, detID: "<<detId.det()<<std::endl;
339  return rawId;
340  }
341 
342  switch (detId.subdetId()) {
343  case MuonSubdetId::RPC: {
344  RPCDetId aId(rawId);
345  bool isBarrel = (aId.region()==0);
346  if(isBarrel) aLayer = aId.station() <=2 ?
347  2*( aId.station()-1)+ aId.layer()
348  : aId.station()+2;
349  else aLayer = aId.station();
350  aLayer+= 10*(!isBarrel);
351  break;
352  }
353  case MuonSubdetId::DT: {
354  DTChamberId dt(rawId);
355  aLayer = dt.station();
356  break;
357  }
358  case MuonSubdetId::CSC: {
359  CSCDetId csc(rawId);
360  aLayer = csc.station();
361  if(csc.ring()==2 && csc.station()==1) aLayer = 4;
362  if(csc.station()==4) aLayer = 5;
363  break;
364  }
365  }
366 
367  int hwNumber = aLayer+100*detId.subdetId();
368 
369  return hwNumber;
370 }
float dt
Definition: AMPTWrapper.h:126
bool isBarrel(GeomDetEnumerators::SubDetector m)
static const int CSC
Definition: MuonSubdetId.h:13
Definition: DetId.h:18
static const int RPC
Definition: MuonSubdetId.h:14
tuple cout
Definition: gather_cfg.py:145
static const int DT
Definition: MuonSubdetId.h:12
unsigned int OMTFConfiguration::getRegionNumber ( unsigned int  iProcessor,
unsigned int  iRefLayer,
int  iPhi 
)
static

Find number of logic region within a given processor. Number is calculated assuming 10 deg wide logic regions Global phi scale is assumed at input.

FIX ME 2Pi wrapping

Definition at line 288 of file OMTFConfiguration.cc.

References isInRegionRange(), nLogicRegions, nPhiBins, nProcessors, and processorPhiVsRefLayer.

Referenced by OMTFConfigMaker::makeConnetionsMap().

290  {
291 
292  if(iPhi>=(int)OMTFConfiguration::nPhiBins) return 99;
293 
294  float logicRegionWidth = 360.0/(OMTFConfiguration::nLogicRegions*OMTFConfiguration::nProcessors);
295  unsigned int logicRegionSize = logicRegionWidth/360.0*OMTFConfiguration::nPhiBins;
296 
297  unsigned int iRegion = 0;
298  int iPhiStart = OMTFConfiguration::processorPhiVsRefLayer[iProcessor][iRefLayer];
299 
301  while(!OMTFConfiguration::isInRegionRange(iPhiStart,logicRegionSize,iPhi) && iRegion<OMTFConfiguration::nLogicRegions){
302  ++iRegion;
303  iPhiStart+=logicRegionSize;
304  }
305 
306  if(iRegion>OMTFConfiguration::nLogicRegions-1) iRegion = 99;
307  return iRegion;
308 }
static bool isInRegionRange(int iPhiStart, unsigned int coneSize, int iPhi)
static unsigned int nProcessors
static unsigned int nLogicRegions
static std::vector< std::vector< int > > processorPhiVsRefLayer
static unsigned int nPhiBins
unsigned int OMTFConfiguration::getRegionNumberFromMap ( unsigned int  iProcessor,
unsigned int  iRefLayer,
int  iPhi 
)
static

Find logic region number using shifted, 10 bit phi values, and commection maps

Definition at line 311 of file OMTFConfiguration.cc.

References plotBeamSpotDB::first, nLogicRegions, regionPhisVsRefLayerVsProcessor, and edm::second().

313  {
314  for(unsigned int iRegion=0;iRegion<OMTFConfiguration::nLogicRegions;++iRegion){
315  if(iPhi>=OMTFConfiguration::regionPhisVsRefLayerVsProcessor[iProcessor][iRefLayer][iRegion].first &&
316  iPhi<=OMTFConfiguration::regionPhisVsRefLayerVsProcessor[iProcessor][iRefLayer][iRegion].second)
317  return iRegion;
318  }
319 
320  return 99;
321 }
static unsigned int nLogicRegions
U second(std::pair< T, U > const &p)
static std::vector< std::vector< std::vector< std::pair< int, int > > > > regionPhisVsRefLayerVsProcessor
int OMTFConfiguration::globalPhiStart ( unsigned int  iProcessor)
static

Return global phi for beggining of given processor Uses minim phi over all reference layers.

Definition at line 324 of file OMTFConfiguration.cc.

References begin, end, and processorPhiVsRefLayer.

Referenced by L1TMuonOverlapTrackProducer::processCandidates(), OMTFProcessor::shiftInput(), and XMLConfigWriter::writeConnectionsData().

324  {
325 
326  return *std::min_element(OMTFConfiguration::processorPhiVsRefLayer[iProcessor].begin(),
328 
329 }
static std::vector< std::vector< int > > processorPhiVsRefLayer
#define end
Definition: vmac.h:37
#define begin
Definition: vmac.h:30
void OMTFConfiguration::initCounterMatrices ( )

Vector of all inputs

Vector of all layers

Vector of all logic cones

Vector of all processors

Definition at line 100 of file OMTFConfiguration.cc.

References measurements4D, measurements4Dref, nInputs, nLayers, nLogicRegions, and nProcessors.

Referenced by configure().

100  {
101 
103  std::vector<int> aLayer1D(nInputs,0);
104 
107  aLayer2D.assign(nLayers,aLayer1D);
108 
111  aLayer3D.assign(nLogicRegions,aLayer2D);
112 
114  measurements4D.assign(nProcessors,aLayer3D);
115  measurements4Dref.assign(nProcessors,aLayer3D);
116 }
static unsigned int nLayers
static unsigned int nInputs
static vector4D measurements4D
static unsigned int nProcessors
static unsigned int nLogicRegions
static vector4D measurements4Dref
std::vector< vector2D > vector3D
std::vector< vector1D > vector2D
bool OMTFConfiguration::isInRegionRange ( int  iPhiStart,
unsigned int  coneSize,
int  iPhi 
)
static

Check if given referecne hit is in phi range for some logic cone. Care is needed arounf +Pi and +2Pi points

Definition at line 268 of file OMTFConfiguration.cc.

References nPhiBins.

Referenced by getRegionNumber().

270  {
271 
272  if(iPhi<0) iPhi+=OMTFConfiguration::nPhiBins;
273  if(iPhiStart<0) iPhiStart+=OMTFConfiguration::nPhiBins;
274 
275  if(iPhiStart+(int)coneSize<(int)OMTFConfiguration::nPhiBins){
276  return iPhiStart<=iPhi && iPhiStart+(int)coneSize>iPhi;
277  }
278  else if(iPhi>(int)OMTFConfiguration::nPhiBins/2){
279  return iPhiStart<=iPhi;
280  }
281  else if(iPhi<(int)OMTFConfiguration::nPhiBins/2){
282  return iPhi<iPhiStart+(int)coneSize-(int)OMTFConfiguration::nPhiBins;
283  }
284  return false;
285 }
static unsigned int nPhiBins
return(e1-e2)*(e1-e2)+dp *dp
volatile std::atomic< bool > shutdown_flag false

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const OMTFConfiguration aConfig 
)
friend

Definition at line 245 of file OMTFConfiguration.cc.

245  {
246 
247 
248  out<<"nLayers: "<<aConfig.nLayers
249  <<" nHitsPerLayer: "<<aConfig.nHitsPerLayer
250  <<" nRefLayers: "<<aConfig.nRefLayers
251  <<" nPdfAddrBits: "<<aConfig.nPdfAddrBits
252  <<" nPdfValBits: "<<aConfig.nPdfValBits
253  <<std::endl;
254 
255  for(unsigned int iProcessor = 0;iProcessor<aConfig.nProcessors; ++iProcessor){
256  out<<"Processor: "<<iProcessor;
257  for(unsigned int iRefLayer=0;iRefLayer<aConfig.nRefLayers;++iRefLayer){
258  out<<" "<<aConfig.processorPhiVsRefLayer[iProcessor][iRefLayer];
259  }
260  out<<std::endl;
261  }
262 
263  return out;
264 
265 }
static unsigned int nLayers
static unsigned int nProcessors
static unsigned int nPdfAddrBits
static unsigned int nHitsPerLayer
static std::vector< std::vector< int > > processorPhiVsRefLayer
static unsigned int nRefLayers
static unsigned int nPdfValBits

Member Data Documentation

std::vector< unsigned int > OMTFConfiguration::barrelMax
static
std::vector< unsigned int > OMTFConfiguration::barrelMin
static

Starting and final sectors connected to processors. Index: processor number

Definition at line 88 of file OMTFConfiguration.h.

Referenced by OMTFinputMaker::acceptDigi(), configure(), OMTFinputMaker::getInputNumber(), and XMLConfigReader::readConfig().

std::set< int > OMTFConfiguration::bendingLayers
static
OMTFConfiguration::vector3D_A OMTFConfiguration::connections
static
std::vector< unsigned int > OMTFConfiguration::endcap10DegMax
static
std::vector< unsigned int > OMTFConfiguration::endcap10DegMin
static
std::vector< unsigned int > OMTFConfiguration::endcap20DegMax
static
std::vector< unsigned int > OMTFConfiguration::endcap20DegMin
static
std::map< int, int > OMTFConfiguration::hwToLogicLayer
static
std::map< int, int > OMTFConfiguration::logicToHwLayer
static

Definition at line 80 of file OMTFConfiguration.h.

Referenced by configure(), and XMLConfigReader::readConfig().

std::map< int, int > OMTFConfiguration::logicToLogic
static
OMTFConfiguration::vector4D OMTFConfiguration::measurements4D
static
OMTFConfiguration::vector4D OMTFConfiguration::measurements4Dref
static
float OMTFConfiguration::minPdfVal
static
unsigned int OMTFConfiguration::nGoldenPatterns
static
unsigned int OMTFConfiguration::nHitsPerLayer
static

Definition at line 66 of file OMTFConfiguration.h.

Referenced by configure(), operator<<(), and XMLConfigReader::readConfig().

unsigned int OMTFConfiguration::nInputs
static

Definition at line 76 of file OMTFConfiguration.h.

Referenced by configure(), initCounterMatrices(), and XMLConfigReader::readConfig().

unsigned int OMTFConfiguration::nLayers
static
unsigned int OMTFConfiguration::nLogicRegions
static
unsigned int OMTFConfiguration::nPdfAddrBits
static
unsigned int OMTFConfiguration::nPdfValBits
static
unsigned int OMTFConfiguration::nPhiBins
static
unsigned int OMTFConfiguration::nPhiBits
static
unsigned int OMTFConfiguration::nProcessors
static
unsigned int OMTFConfiguration::nRefHits
static
unsigned int OMTFConfiguration::nRefLayers
static
unsigned int OMTFConfiguration::nTestRefHits
static
std::vector< std::vector< int > > OMTFConfiguration::processorPhiVsRefLayer
static

Starting iPhi for each processor and each referecne layer Global phi scale is used First index: processor number Second index: referecne layer number

Definition at line 99 of file OMTFConfiguration.h.

Referenced by configure(), getRegionNumber(), globalPhiStart(), operator<<(), OMTFConfigMaker::printPhiMap(), XMLConfigReader::readConfig(), and XMLConfigWriter::writeConnectionsData().

std::vector< std::vector< RefHitDef > > OMTFConfiguration::refHitsDefs
static

Vector with definitions of reference hits Vector has fixed size of nRefHits Order of elements defines priority order First index: processor number (0-5) Second index: ref hit number (0-79)

Definition at line 114 of file OMTFConfiguration.h.

Referenced by configure(), OMTFProcessor::fillCounts(), OMTFinput::getRefHits(), OMTFProcessor::processInput(), and XMLConfigReader::readConfig().

std::vector< int > OMTFConfiguration::refToLogicNumber
static
std::vector< std::vector< std::vector< std::pair< int, int > > > > OMTFConfiguration::regionPhisVsRefLayerVsProcessor
static

Begin and end local phi for each processor and each reference layer First index: processor number Second index: reference layer number Third index: region pair.first: starting phi of region (inclusive) pair.second: ending phi of region (inclusive)

Definition at line 107 of file OMTFConfiguration.h.

Referenced by configure(), getRegionNumberFromMap(), and XMLConfigReader::readConfig().