![]() |
ATLAS Offline Software
|
#include <RegSelectorMap.h>
Public Member Functions | |
| virtual void | HashIDList (const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const override |
| implementation of the IRegSelUT interface - intentionally inlined | |
| virtual void | HashIDList (long layer, const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const override |
| HashIDList interface declaration. return list of non-repeated IdentifierHash. | |
| virtual void | ROBIDList (const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const override |
| Rob identifier methods. | |
| virtual void | ROBIDList (long layer, const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const override |
| ROBIDList interface declaration. This interface can be used by the ID subdetectors. A list of non-repeated ROBIDs (uint_32_t) is returned by a reference. | |
| virtual | ~RegSelectorMap () override=default |
| double | etaminValue (void) const |
| the rest of the class starts here | |
| double | etamaxValue (void) const |
| double | phiminValue (void) const |
| double | phimaxValue (void) const |
| const std::vector< IdentifierHash > & | hashIdOut (void) const |
| const std::vector< uint32_t > & | robIdOut (void) const |
| const std::vector< int > & | barORendOut (void) const |
| const std::vector< int > & | layORdskOut (void) const |
| const std::vector< double > & | etaMinOut (void) const |
| const std::vector< double > & | etaMaxOut (void) const |
| const std::vector< double > & | phiMinOut (void) const |
| const std::vector< double > & | phiMaxOut (void) const |
| void | mountDataStruct (void) |
| void | regionSelectorRobIdUint (DETID TYPE, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< uint32_t > &outList) const |
| void | regionSelectorRobIdUint (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< uint32_t > &outList) const |
| void | regionSelectorRobIdUint (long layNumber, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< uint32_t > &outList) const |
| void | addLut (const RegionSelectorLUT *detLut) |
| void | addLut (const RegionSelectorLUT &detLut) |
| void | regionSelector (DETID TYPE, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< IdentifierHash > &outList) const |
| void | regionSelector (TYPEID typeinID, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< IdentifierHash > &outList) const |
| void | regionSelector (long layNumber, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< IdentifierHash > &outList) const |
| StatusCode | read (const char *filename, DETID type) |
| void | summaryDataFile (std::list< RegSelectorMapElement > &dataList) |
| void | verifyInputsInternal (double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const |
| StatusCode | verifyInputs (double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const |
| StatusCode | verifyInputsMinusPi (double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const |
| void | verifyOutput (double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, const std::vector< IdentifierHash > &outputIdlist) const |
| void | getEtaPhi (IdentifierHash hashId, double *etaMin, double *etaMax, double *phiMin, double *phiMax) const |
Protected Types | |
| template<typename C, typename T> | |
| using | handler = void (C::*)(const IRoiDescriptor& , std::vector<T>& ) const |
| template<typename C, typename T> | |
| using | handler_layer = void (C::*)(long layer, const IRoiDescriptor& , std::vector<T>& ) const |
Protected Member Functions | |
| virtual void | HashIDList_internal (const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const |
| internal lookup table access for full interface ... | |
| virtual void | HashIDList_internal (long layer, const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const |
| virtual void | ROBIDList_internal (const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const |
| Rob identifier methods. | |
| virtual void | ROBIDList_internal (long layer, const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const |
| template<typename C, typename T> | |
| void | IDList (const IRoiDescriptor &roi, std::vector< T > &idlist, handler< C, T > lister) const |
| template<typename C, typename T> | |
| void | IDList_layer (long layer, const IRoiDescriptor &roi, std::vector< T > &idlist, handler_layer< C, T > lister) const |
Static Protected Member Functions | |
| template<typename T> | |
| static void | removeDuplicates (std::vector< T > &vec) |
| useful for removing duplicates if required ... | |
Private Member Functions | |
| void | findPosition (TYPEID typeinID, bool posORneg, std::list< RegSelectorMapElement >::const_iterator &it) const |
| void | findPosition (long layNumber, bool posORneg, std::list< RegSelectorMapElement >::const_iterator &it) const |
| void | findMaxMinValues (std::list< RegSelectorMapElement > &dataList) |
| RegSelectorMapElement | creatingElement (int &positionIn, int &numberIn, double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn, IdentifierHash &hashIdIn, uint32_t &robId) |
| void | insertList (std::list< RegSelectorMapElement > &dataList, int positionIn, int numberIn, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, IdentifierHash hashIdIn, uint32_t &robIdIn) |
| void | insertDataElement (int &positionIn, int &numberIn, double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn, IdentifierHash &hashIdIn, uint32_t &robIdIn) |
| void | writeLine (int barORend, int layORdsk, IdentifierHash hashId, uint32_t robId, double emin, double emax, double pmin, double pmax) |
| StatusCode | readTILE (const char *filename) |
Private Attributes | |
| std::list< RegSelectorMapElement > | m_barreldataList |
| std::list< RegSelectorMapElement > | m_posdataList |
| std::list< RegSelectorMapElement > | m_negdataList |
| std::vector< int > | m_barORend |
| std::vector< int > | m_layORdsk |
| std::vector< IdentifierHash > | m_hashId |
| std::vector< uint32_t > | m_robId |
| std::vector< double > | m_etamin |
| std::vector< double > | m_etamax |
| std::vector< double > | m_phimin |
| std::vector< double > | m_phimax |
| double | m_etaminDet =0 |
| double | m_etamaxDet =0 |
| double | m_phiminDet =0 |
| double | m_phimaxDet =0 |
Definition at line 28 of file RegSelectorMap.h.
|
protectedinherited |
Definition at line 85 of file IRegSelLUT.h.
|
protectedinherited |
Definition at line 103 of file IRegSelLUT.h.
|
overridevirtualdefault |
|
inline |
Definition at line 83 of file RegSelectorMap.h.
| void RegSelectorMap::addLut | ( | const RegionSelectorLUT * | detLut | ) |
Definition at line 203 of file RegSelectorMap.cxx.
| const std::vector< int > & RegSelectorMap::barORendOut | ( | void | ) | const |
Definition at line 89 of file RegSelectorMap.cxx.
|
private |
Definition at line 702 of file RegSelectorMap.cxx.
| const std::vector< double > & RegSelectorMap::etaMaxOut | ( | void | ) | const |
Definition at line 101 of file RegSelectorMap.cxx.
| double RegSelectorMap::etamaxValue | ( | void | ) | const |
Definition at line 69 of file RegSelectorMap.cxx.
| const std::vector< double > & RegSelectorMap::etaMinOut | ( | void | ) | const |
Definition at line 97 of file RegSelectorMap.cxx.
| double RegSelectorMap::etaminValue | ( | void | ) | const |
|
private |
Definition at line 685 of file RegSelectorMap.cxx.
|
private |
Definition at line 660 of file RegSelectorMap.cxx.
|
private |
what does this even do ? just loops over the oiterators and then exits with the value of the iterator set ?? this is quite dangerous - in principle it can return itEnd but will any calling function test for this properly ??
Definition at line 629 of file RegSelectorMap.cxx.
| void RegSelectorMap::getEtaPhi | ( | IdentifierHash | hashId, |
| double * | etaMin, | ||
| double * | etaMax, | ||
| double * | phiMin, | ||
| double * | phiMax ) const |
|
overridevirtual |
implementation of the IRegSelUT interface - intentionally inlined
hash id methods
Implements IRegSelLUT.
Definition at line 18 of file RegSelectorMap.cxx.
|
overridevirtual |
HashIDList interface declaration. return list of non-repeated IdentifierHash.
| long | layer, long int to decide which layer within the detector. |
| IRoiDescriptor | roi, the IRoiDescriptor for the roi, all enabled elements in the roi are found. |
Implements IRegSelLUT.
Definition at line 22 of file RegSelectorMap.cxx.
|
protectedvirtual |
internal lookup table access for full interface ...
internal hash id methods
Definition at line 40 of file RegSelectorMap.cxx.
|
protectedvirtual |
Definition at line 45 of file RegSelectorMap.cxx.
| const std::vector< IdentifierHash > & RegSelectorMap::hashIdOut | ( | void | ) | const |
Definition at line 81 of file RegSelectorMap.cxx.
|
inlineprotectedinherited |
Definition at line 88 of file IRegSelLUT.h.
|
inlineprotectedinherited |
Definition at line 106 of file IRegSelLUT.h.
|
private |
Definition at line 748 of file RegSelectorMap.cxx.
|
private |
Definition at line 716 of file RegSelectorMap.cxx.
| const std::vector< int > & RegSelectorMap::layORdskOut | ( | void | ) | const |
Definition at line 93 of file RegSelectorMap.cxx.
| void RegSelectorMap::mountDataStruct | ( | void | ) |
Definition at line 113 of file RegSelectorMap.cxx.
| const std::vector< double > & RegSelectorMap::phiMaxOut | ( | void | ) | const |
Definition at line 109 of file RegSelectorMap.cxx.
| double RegSelectorMap::phimaxValue | ( | void | ) | const |
Definition at line 77 of file RegSelectorMap.cxx.
| const std::vector< double > & RegSelectorMap::phiMinOut | ( | void | ) | const |
Definition at line 105 of file RegSelectorMap.cxx.
| double RegSelectorMap::phiminValue | ( | void | ) | const |
Definition at line 73 of file RegSelectorMap.cxx.
| StatusCode RegSelectorMap::read | ( | const char * | filename, |
| DETID | type ) |
can't call the msg stream in this class - oh dear leave the code in place for the time being until we sort out a solution
Definition at line 365 of file RegSelectorMap.cxx.
|
private |
Definition at line 778 of file RegSelectorMap.cxx.
| void RegSelectorMap::regionSelector | ( | DETID | TYPE, |
| double | etaminIn, | ||
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| std::vector< IdentifierHash > & | outList ) const |
Definition at line 220 of file RegSelectorMap.cxx.
| void RegSelectorMap::regionSelector | ( | long | layNumber, |
| double | etaminIn, | ||
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| std::vector< IdentifierHash > & | outList ) const |
Definition at line 323 of file RegSelectorMap.cxx.
| void RegSelectorMap::regionSelector | ( | TYPEID | typeinID, |
| double | etaminIn, | ||
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| std::vector< IdentifierHash > & | outList ) const |
Definition at line 284 of file RegSelectorMap.cxx.
| void RegSelectorMap::regionSelectorRobIdUint | ( | DETID | TYPE, |
| double | etaminIn, | ||
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| std::vector< uint32_t > & | outList ) const |
Definition at line 139 of file RegSelectorMap.cxx.
| void RegSelectorMap::regionSelectorRobIdUint | ( | double | etaminIn, |
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| std::vector< uint32_t > & | outList ) const |
Definition at line 522 of file RegSelectorMap.cxx.
| void RegSelectorMap::regionSelectorRobIdUint | ( | long | layNumber, |
| double | etaminIn, | ||
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| std::vector< uint32_t > & | outList ) const |
Definition at line 587 of file RegSelectorMap.cxx.
|
inlinestaticprotectedinherited |
useful for removing duplicates if required ...
Definition at line 78 of file IRegSelLUT.h.
|
overridevirtual |
Rob identifier methods.
Implements IRegSelLUT.
Definition at line 28 of file RegSelectorMap.cxx.
|
overridevirtual |
ROBIDList interface declaration. This interface can be used by the ID subdetectors. A list of non-repeated ROBIDs (uint_32_t) is returned by a reference.
| long | layer, long int to decide which layer within the detector. |
| IRoiDescriptor | the IRoiDescriptor for the roi, all enabled elements in the roi are found. |
Implements IRegSelLUT.
Definition at line 32 of file RegSelectorMap.cxx.
|
protectedvirtual |
Rob identifier methods.
internal Rob identifier methods
Definition at line 52 of file RegSelectorMap.cxx.
|
protectedvirtual |
Definition at line 57 of file RegSelectorMap.cxx.
| const std::vector< uint32_t > & RegSelectorMap::robIdOut | ( | void | ) | const |
Definition at line 85 of file RegSelectorMap.cxx.
| void RegSelectorMap::summaryDataFile | ( | std::list< RegSelectorMapElement > & | dataList | ) |
Definition at line 393 of file RegSelectorMap.cxx.
| StatusCode RegSelectorMap::verifyInputs | ( | double & | etaminIn, |
| double & | etamaxIn, | ||
| double & | phiminIn, | ||
| double & | phimaxIn ) const |
Definition at line 434 of file RegSelectorMap.cxx.
| void RegSelectorMap::verifyInputsInternal | ( | double & | etaminIn, |
| double & | etamaxIn, | ||
| double & | phiminIn, | ||
| double & | phimaxIn ) const |
Definition at line 411 of file RegSelectorMap.cxx.
| StatusCode RegSelectorMap::verifyInputsMinusPi | ( | double & | etaminIn, |
| double & | etamaxIn, | ||
| double & | phiminIn, | ||
| double & | phimaxIn ) const |
Definition at line 442 of file RegSelectorMap.cxx.
| void RegSelectorMap::verifyOutput | ( | double | etaminIn, |
| double | etamaxIn, | ||
| double | phiminIn, | ||
| double | phimaxIn, | ||
| const std::vector< IdentifierHash > & | outputIdlist ) const |
Definition at line 468 of file RegSelectorMap.cxx.
|
private |
Definition at line 764 of file RegSelectorMap.cxx.
|
private |
Definition at line 152 of file RegSelectorMap.h.
|
private |
Definition at line 150 of file RegSelectorMap.h.
|
private |
Definition at line 158 of file RegSelectorMap.h.
|
private |
Definition at line 162 of file RegSelectorMap.h.
|
private |
Definition at line 158 of file RegSelectorMap.h.
|
private |
Definition at line 162 of file RegSelectorMap.h.
|
private |
Definition at line 154 of file RegSelectorMap.h.
|
private |
Definition at line 152 of file RegSelectorMap.h.
|
private |
Definition at line 150 of file RegSelectorMap.h.
|
private |
Definition at line 160 of file RegSelectorMap.h.
|
private |
Definition at line 164 of file RegSelectorMap.h.
|
private |
Definition at line 160 of file RegSelectorMap.h.
|
private |
Definition at line 164 of file RegSelectorMap.h.
|
private |
Definition at line 150 of file RegSelectorMap.h.
|
private |
Definition at line 156 of file RegSelectorMap.h.