![]() |
![]() |
#include <OMTFConfigMaker.h>
Public Member Functions | |
void | fillCounts (unsigned int iProcessor, const OMTFinput &aInput) |
void | fillPhiMaps (unsigned int iProcessor, const OMTFinput &aInput) |
void | makeConnetionsMap (unsigned int iProcessor, const OMTFinput &aInput) |
OMTFConfigMaker (const edm::ParameterSet &cfg) | |
void | printConnections (std::ostream &out, unsigned int iProcessor, unsigned int iCone) |
void | printPhiMap (std::ostream &out) |
~OMTFConfigMaker () | |
Private Member Functions | |
void | fillInputRange (unsigned int iConfigMaker, unsigned int iCone, const OMTFinput &aInput) |
void | fillInputRange (unsigned int iConfigMaker, unsigned int iCone, unsigned int iRefLayer, unsigned int iHit) |
Private Attributes | |
std::vector< std::vector< int > > | minRefPhi2D |
Definition at line 16 of file OMTFConfigMaker.h.
OMTFConfigMaker::OMTFConfigMaker | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 14 of file OMTFConfigMaker.cc.
References minRefPhi2D, OMTFConfiguration::nPhiBins, and OMTFConfiguration::nRefLayers.
OMTFConfigMaker::~OMTFConfigMaker | ( | ) |
Definition at line 22 of file OMTFConfigMaker.cc.
void OMTFConfigMaker::fillCounts | ( | unsigned int | iProcessor, |
const OMTFinput & | aInput | ||
) |
Fill counts in GoldenPattern pdf bins Normalised counts will make a pdf for given GP.
Definition at line 25 of file OMTFConfigMaker.cc.
|
private |
Fill map of used inputs. FIXME: using hack from OMTFConfiguration
Definition at line 107 of file OMTFConfigMaker.cc.
References OMTFinput::getLayerData(), OMTFConfiguration::measurements4D, OMTFConfiguration::nLayers, and OMTFConfiguration::nPhiBins.
Referenced by makeConnetionsMap().
|
private |
Definition at line 120 of file OMTFConfigMaker.cc.
References OMTFConfiguration::measurements4Dref.
void OMTFConfigMaker::fillPhiMaps | ( | unsigned int | iProcessor, |
const OMTFinput & | aInput | ||
) |
Fill vector with minimal phi in each reference layer for given processor.
Definition at line 31 of file OMTFConfigMaker.cc.
References OMTFinput::getLayerData(), minRefPhi2D, OMTFConfiguration::nPhiBins, OMTFConfiguration::nRefLayers, and OMTFConfiguration::refToLogicNumber.
Referenced by makeConnetionsMap().
void OMTFConfigMaker::makeConnetionsMap | ( | unsigned int | iProcessor, |
const OMTFinput & | aInput | ||
) |
Fill histograms used for making the connections maps
Always use two hits from a single chamber. As we use single muons, the second hit has to be added by hand.
Definition at line 80 of file OMTFConfigMaker.cc.
References fillInputRange(), fillPhiMaps(), OMTFinput::getLayerData(), OMTFConfiguration::getRegionNumber(), OMTFConfiguration::nRefLayers, and OMTFConfiguration::refToLogicNumber.
void OMTFConfigMaker::printConnections | ( | std::ostream & | out, |
unsigned int | iProcessor, | ||
unsigned int | iCone | ||
) |
Print connections map for given logic cone in given processro. Connection map shows counts on each input.
Definition at line 130 of file OMTFConfigMaker.cc.
References OMTFConfiguration::measurements4Dref, and OMTFConfiguration::nLayers.
void OMTFConfigMaker::printPhiMap | ( | std::ostream & | out | ) |
Print starting iPhi for each reference layer in each processor
Definition at line 65 of file OMTFConfigMaker.cc.
References minRefPhi2D, OMTFConfiguration::nRefLayers, and OMTFConfiguration::processorPhiVsRefLayer.
|
private |
Map of phi starting points First index: reference layer number Second index: processor number
Definition at line 66 of file OMTFConfigMaker.h.
Referenced by fillPhiMaps(), OMTFConfigMaker(), and printPhiMap().