#include <RegSelectorMapElement.h>
|
| RegSelectorMapElement () |
|
int | layerDiskPosition () const |
|
int | layerDiskNumber () const |
|
double | etaMin (const IdentifierHash hashId) const |
|
double | etaMax (IdentifierHash hashId) const |
|
double | phiMin (IdentifierHash hashId) const |
|
double | phiMax (IdentifierHash hashId) const |
|
const std::vector< IdentifierHash > & | hashId () const |
|
double | etaminElem () const |
|
double | etamaxElem () const |
|
double | phiminElem () const |
|
double | phimaxElem () const |
|
double | phiminElem () |
| these phi*Elem() functions are some of the worst functions I have ever come accross: if the value it has is larger(smaller) than some threshold, it sets the value to some new value, which is also larger (and smaller) than the same threshold, so that every subsequent time it is called, it will be setting the value to this too-large (or too-small) value what it sthe point of it ? Why does it need to change this value at all ? If we want to find the value we should check all the elements in one place, and then set the value once and for all, and not mess about setting it to already out-of-range values in the accessor. More...
|
|
double | phimaxElem () |
|
void | findMaxMinElem (void) |
|
void | additem (const IdentifierHash hashId, const double etaMin, const double etaMax, const double phiMin, const double phiMax, const int layerDiskNumber, const int layerDiskPosition, const uint32_t robId) |
|
void | selection (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::set< IdentifierHash > &outset) const |
|
void | selectionRobIdUint (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::set< uint32_t > &outset) const |
|
|
void | insertElementInVector (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, IdentifierHash hashIdIn, uint32_t robIdIn) |
|
void | insertNumberElement (int numberIn) |
|
void | insertPositionElement (int position) |
|
void | findHash (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::set< IdentifierHash > &outset) const |
|
void | findRobId (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::set< uint32_t > &outset) const |
|
Definition at line 17 of file RegSelectorMapElement.h.
◆ RegSelectorMapElement()
RegSelectorMapElement::RegSelectorMapElement |
( |
| ) |
|
◆ additem()
◆ etaMax()
◆ etamaxElem()
double RegSelectorMapElement::etamaxElem |
( |
| ) |
const |
◆ etaMin()
◆ etaminElem()
double RegSelectorMapElement::etaminElem |
( |
| ) |
const |
◆ findHash()
void RegSelectorMapElement::findHash |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::set< IdentifierHash > & |
outset |
|
) |
| const |
|
private |
◆ findMaxMinElem()
void RegSelectorMapElement::findMaxMinElem |
( |
void |
| ) |
|
◆ findRobId()
void RegSelectorMapElement::findRobId |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::set< uint32_t > & |
outset |
|
) |
| const |
|
private |
◆ hashId()
◆ insertElementInVector()
void RegSelectorMapElement::insertElementInVector |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
IdentifierHash |
hashIdIn, |
|
|
uint32_t |
robIdIn |
|
) |
| |
|
private |
◆ insertNumberElement()
void RegSelectorMapElement::insertNumberElement |
( |
int |
numberIn | ) |
|
|
private |
◆ insertPositionElement()
void RegSelectorMapElement::insertPositionElement |
( |
int |
position | ) |
|
|
private |
◆ layerDiskNumber()
int RegSelectorMapElement::layerDiskNumber |
( |
| ) |
const |
◆ layerDiskPosition()
int RegSelectorMapElement::layerDiskPosition |
( |
| ) |
const |
◆ phiMax()
◆ phimaxElem() [1/2]
double RegSelectorMapElement::phimaxElem |
( |
| ) |
|
◆ phimaxElem() [2/2]
double RegSelectorMapElement::phimaxElem |
( |
| ) |
const |
◆ phiMin()
◆ phiminElem() [1/2]
double RegSelectorMapElement::phiminElem |
( |
| ) |
|
these phi*Elem() functions are some of the worst functions I have ever come accross: if the value it has is larger(smaller) than some threshold, it sets the value to some new value, which is also larger (and smaller) than the same threshold, so that every subsequent time it is called, it will be setting the value to this too-large (or too-small) value what it sthe point of it ? Why does it need to change this value at all ? If we want to find the value we should check all the elements in one place, and then set the value once and for all, and not mess about setting it to already out-of-range values in the accessor.
So what this means is that when calling this function to to get the limit for the map, it might actually change that said limit, and give you some hardcoded limit instead. Why is the limit set to be the value that it is ? working out how to replace this function will be a complete pain, The sooner we get rid of this awful class the better
Definition at line 144 of file RegSelectorMapElement.cxx.
◆ phiminElem() [2/2]
double RegSelectorMapElement::phiminElem |
( |
| ) |
const |
◆ selection()
void RegSelectorMapElement::selection |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::set< IdentifierHash > & |
outset |
|
) |
| const |
Definition at line 203 of file RegSelectorMapElement.cxx.
206 if(phiminIn > phimaxIn){
208 findHash(etaminIn, etamaxIn, phiminIn,
tmp, outset);
210 findHash(etaminIn, etamaxIn,
tmp, phimaxIn, outset);
213 findHash(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
◆ selectionRobIdUint()
void RegSelectorMapElement::selectionRobIdUint |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::set< uint32_t > & |
outset |
|
) |
| const |
◆ m_etamax
std::vector<double> RegSelectorMapElement::m_etamax |
|
private |
◆ m_etamaxValue
double RegSelectorMapElement::m_etamaxValue |
|
private |
◆ m_etamin
std::vector<double> RegSelectorMapElement::m_etamin |
|
private |
◆ m_etaminValue
double RegSelectorMapElement::m_etaminValue |
|
private |
◆ m_hashId
◆ m_number
int RegSelectorMapElement::m_number |
|
private |
◆ m_phimax
std::vector<double> RegSelectorMapElement::m_phimax |
|
private |
◆ m_phimaxValue
double RegSelectorMapElement::m_phimaxValue |
|
private |
◆ m_phimin
std::vector<double> RegSelectorMapElement::m_phimin |
|
private |
◆ m_phiminValue
double RegSelectorMapElement::m_phiminValue |
|
private |
◆ m_position
int RegSelectorMapElement::m_position |
|
private |
◆ m_robId
std::vector<uint32_t> RegSelectorMapElement::m_robId |
|
private |
The documentation for this class was generated from the following files: