|
ATLAS Offline Software
|
#include <RegSelectorMap.h>
|
virtual void | HashIDList (const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const override |
| implementation of the IRegSelUT interface - intentionally inlined More...
|
|
virtual void | HashIDList (long layer, const IRoiDescriptor &roi, std::vector< IdentifierHash > &idlist) const override |
| HashIDList interface declaration. return list of non-repeated IdentifierHash. More...
|
|
virtual void | ROBIDList (const IRoiDescriptor &roi, std::vector< uint32_t > &roblist) const override |
| Rob identifier methods. More...
|
|
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. More...
|
|
virtual | ~RegSelectorMap () override=default |
|
double | etaminValue (void) const |
| the rest of the class starts here More...
|
|
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 |
|
|
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) |
|
Definition at line 28 of file RegSelectorMap.h.
◆ ~RegSelectorMap()
virtual RegSelectorMap::~RegSelectorMap |
( |
| ) |
|
|
overridevirtualdefault |
◆ addLut() [1/2]
◆ addLut() [2/2]
◆ barORendOut()
const std::vector< int > & RegSelectorMap::barORendOut |
( |
void |
| ) |
const |
◆ creatingElement()
RegSelectorMapElement RegSelectorMap::creatingElement |
( |
int & |
positionIn, |
|
|
int & |
numberIn, |
|
|
double & |
etaminIn, |
|
|
double & |
etamaxIn, |
|
|
double & |
phiminIn, |
|
|
double & |
phimaxIn, |
|
|
IdentifierHash & |
hashIdIn, |
|
|
uint32_t & |
robId |
|
) |
| |
|
private |
◆ etaMaxOut()
const std::vector< double > & RegSelectorMap::etaMaxOut |
( |
void |
| ) |
const |
◆ etamaxValue()
double RegSelectorMap::etamaxValue |
( |
void |
| ) |
const |
◆ etaMinOut()
const std::vector< double > & RegSelectorMap::etaMinOut |
( |
void |
| ) |
const |
◆ etaminValue()
double RegSelectorMap::etaminValue |
( |
void |
| ) |
const |
◆ findMaxMinValues()
◆ findPosition() [1/2]
void RegSelectorMap::findPosition |
( |
long |
layNumber, |
|
|
bool |
posORneg, |
|
|
std::list< RegSelectorMapElement >::const_iterator & |
it |
|
) |
| const |
|
private |
Definition at line 635 of file RegSelectorMap.cxx.
638 std::list<RegSelectorMapElement>::const_iterator itPos, itNeg, itEnd;
643 if(posORneg ==
false){
653 if( (*it).layerDiskNumber() == layNumber )
◆ findPosition() [2/2]
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 604 of file RegSelectorMap.cxx.
607 std::list<RegSelectorMapElement>::const_iterator itPos, itNeg, itEnd;
613 if(posORneg ==
false){
628 if( (*it).layerDiskNumber() == typeinID )
◆ getEtaPhi()
void RegSelectorMap::getEtaPhi |
( |
IdentifierHash |
hashId, |
|
|
double * |
etaMin, |
|
|
double * |
etaMax, |
|
|
double * |
phiMin, |
|
|
double * |
phiMax |
|
) |
| const |
◆ HashIDList() [1/2]
implementation of the IRegSelUT interface - intentionally inlined
implementation of the IRegSelUT interface - intentionally inlined
hash id methods
hash id methods
Implements IRegSelLUT.
Definition at line 17 of file RegSelectorMap.cxx.
◆ HashIDList() [2/2]
HashIDList interface declaration. return list of non-repeated IdentifierHash.
- Parameters
-
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. |
- Returns
- std::vector<IdentifierHash> which is a list of non-repeated Offline Identifier Hash numbers.
Implements IRegSelLUT.
Definition at line 22 of file RegSelectorMap.cxx.
◆ hashIdOut()
◆ insertDataElement()
void RegSelectorMap::insertDataElement |
( |
int & |
positionIn, |
|
|
int & |
numberIn, |
|
|
double & |
etaminIn, |
|
|
double & |
etamaxIn, |
|
|
double & |
phiminIn, |
|
|
double & |
phimaxIn, |
|
|
IdentifierHash & |
hashIdIn, |
|
|
uint32_t & |
robIdIn |
|
) |
| |
|
private |
Definition at line 723 of file RegSelectorMap.cxx.
727 etaminIn, etamaxIn, phiminIn, phimaxIn, hashIdIn, robIdIn);
729 else if(positionIn < 0){
731 etaminIn, etamaxIn, phiminIn, phimaxIn, hashIdIn, robIdIn);
733 else if(positionIn == 0){
735 etaminIn, etamaxIn, phiminIn, phimaxIn, hashIdIn, robIdIn);
◆ insertList()
void RegSelectorMap::insertList |
( |
std::list< RegSelectorMapElement > & |
dataList, |
|
|
int |
positionIn, |
|
|
int |
numberIn, |
|
|
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
IdentifierHash |
hashIdIn, |
|
|
uint32_t & |
robIdIn |
|
) |
| |
|
private |
Definition at line 691 of file RegSelectorMap.cxx.
699 for(
it = dataList.begin();
it != dataList.end(); ++
it){
700 if( positionIn == (*it).layerDiskPosition() ){
702 if( numberIn == (*it).layerDiskNumber() ) {
703 (*it).additem( hashIdIn, etaminIn, etamaxIn,
704 phiminIn, phimaxIn, numberIn, positionIn, robIdIn );
714 if(
flag ==
true || dataList.size() == 0){
719 dataList.push_back( newElement );
◆ layORdskOut()
const std::vector< int > & RegSelectorMap::layORdskOut |
( |
void |
| ) |
const |
◆ mountDataStruct()
void RegSelectorMap::mountDataStruct |
( |
void |
| ) |
|
Definition at line 90 of file RegSelectorMap.cxx.
94 for(
i = 0;
i < nLines; ++
i){
103 (*it).findMaxMinElem();
105 (*it).findMaxMinElem();
107 (*it).findMaxMinElem();
◆ phiMaxOut()
const std::vector< double > & RegSelectorMap::phiMaxOut |
( |
void |
| ) |
const |
◆ phimaxValue()
double RegSelectorMap::phimaxValue |
( |
void |
| ) |
const |
◆ phiMinOut()
const std::vector< double > & RegSelectorMap::phiMinOut |
( |
void |
| ) |
const |
◆ phiminValue()
double RegSelectorMap::phiminValue |
( |
void |
| ) |
const |
◆ read()
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 341 of file RegSelectorMap.cxx.
346 std::string unresolvedFileName(
filename);
349 if (fullFileName ==
"") {
351 std::cerr <<
"RegSelectorMap: FATAL: Could not find input file in DATAPATH" << unresolvedFileName<< std::endl;
352 return StatusCode::FAILURE;
364 sc = StatusCode::FAILURE;
◆ readTILE()
StatusCode RegSelectorMap::readTILE |
( |
const char * |
filename | ) |
|
|
private |
Definition at line 753 of file RegSelectorMap.cxx.
757 int barORend =0, layORwhe =0;
759 double emin, emax, pmin, pmax;
764 sc = StatusCode::FAILURE;
769 if (strncmp(
buffer,
"#",1)!=0){
770 sscanf(
buffer,
"%x %x %x %lf %lf %lf %lf", &robid, &collid, (
unsigned int*)&hashId, &emin, &emax, &pmin, &pmax);
771 writeLine(barORend, layORwhe, hashId, robid, emin, emax, pmin, pmax);
◆ regionSelector() [1/3]
void RegSelectorMap::regionSelector |
( |
DETID |
TYPE, |
|
|
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::vector< IdentifierHash > & |
outList |
|
) |
| const |
Definition at line 197 of file RegSelectorMap.cxx.
204 std::list<RegSelectorMapElement>::const_iterator
it;
205 std::set<IdentifierHash> outset;
206 std::set<IdentifierHash>::const_iterator itset, negbarrelbeg,negbarrelend;
207 bool divideEta =
false;
211 (*it).selection(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
215 case TILE: divideEta =
true;
break;
220 if(etaminIn < 0 || etamaxIn < 0){
222 (*it).selection(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
226 if( etaminIn >= 0 || etamaxIn >= 0 ){
228 (*it).selection(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
234 (*it).selection(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
237 (*it).selection(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
242 negbarrelbeg = outset.upper_bound(0x3f);
243 negbarrelend = outset.lower_bound(0x80);
244 for(itset = negbarrelbeg; itset != negbarrelend; ++itset){
247 for(itset = outset.begin(); itset != negbarrelbeg; ++itset){
250 for(itset = negbarrelend; itset != outset.end(); ++itset){
254 for(itset = outset.begin(); itset != outset.end(); ++itset){
◆ regionSelector() [2/3]
void RegSelectorMap::regionSelector |
( |
long |
layNumber, |
|
|
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::vector< IdentifierHash > & |
outList |
|
) |
| const |
Definition at line 300 of file RegSelectorMap.cxx.
307 std::list<RegSelectorMapElement>::const_iterator
it, itEnd;
308 std::set<IdentifierHash> outset;
309 std::set<IdentifierHash>::const_iterator itset;
313 if( etaminIn > 0 && etamaxIn > 0 ){
316 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
318 else if( etaminIn < 0 && etamaxIn < 0 ){
321 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
329 if( (*it).layerDiskNumber() == layNumber )
333 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
335 for(itset = outset.begin(); itset != outset.end(); ++itset){
◆ regionSelector() [3/3]
void RegSelectorMap::regionSelector |
( |
TYPEID |
typeinID, |
|
|
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::vector< IdentifierHash > & |
outList |
|
) |
| const |
Definition at line 261 of file RegSelectorMap.cxx.
268 std::list<RegSelectorMapElement>::const_iterator
it;
269 std::set<IdentifierHash> outset;
270 std::set<IdentifierHash>::const_iterator itset;
274 if( etaminIn > 0 && etamaxIn > 0 ){
277 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
279 else if( etaminIn < 0 && etamaxIn < 0 ){
282 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
287 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
290 (*it).selection( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
293 for(itset = outset.begin(); itset != outset.end(); ++itset){
◆ regionSelectorRobIdUint() [1/3]
void RegSelectorMap::regionSelectorRobIdUint |
( |
DETID |
TYPE, |
|
|
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::vector< uint32_t > & |
outList |
|
) |
| const |
Definition at line 116 of file RegSelectorMap.cxx.
123 std::list<RegSelectorMapElement>::const_iterator
it;
124 std::set<uint32_t> outset;
125 std::set<uint32_t>::const_iterator itset, negbarrelbeg, negbarrelend;
126 bool divideEta =
false;
130 (*it).selectionRobIdUint( etaminIn, etamaxIn, phiminIn, phimaxIn, outset );
134 case TILE: divideEta =
true;
break;
139 if(etaminIn < 0 || etamaxIn < 0){
141 (*it).selectionRobIdUint(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
145 if( etaminIn >= 0 || etamaxIn >= 0 ){
147 (*it).selectionRobIdUint(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
153 (*it).selectionRobIdUint(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
156 (*it).selectionRobIdUint(etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
161 negbarrelbeg = outset.upper_bound(0x51000f);
162 negbarrelend = outset.lower_bound(0x530000);
163 for(itset = negbarrelbeg; itset != negbarrelend; ++itset){
166 for(itset = outset.begin(); itset != negbarrelbeg; ++itset){
169 for(itset = negbarrelend; itset != outset.end(); ++itset){
173 for(itset = outset.begin(); itset != outset.end(); ++itset){
◆ regionSelectorRobIdUint() [2/3]
void RegSelectorMap::regionSelectorRobIdUint |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::vector< uint32_t > & |
outList |
|
) |
| const |
Definition at line 498 of file RegSelectorMap.cxx.
504 std::set<uint32_t> outset;
507 double etamin, etamax, phimin, phimax;
508 std::vector<uint32_t> outvec;
511 for(
i= 0;
i < vecsize; ++
i){
521 if( (etaminIn <= etamax) && (etamaxIn >=
etamin) ){
522 if( (phiminIn <= phimax) && (phimaxIn >= phimin) ){
528 if( (etaminIn <= etamax) && (etamaxIn >=
etamin) ){
529 if( (phiminIn <= phimax) && (phimaxIn >= phimin) ){
536 if( (etaminIn <= etamax) && (etamaxIn >=
etamin) ){
537 if( (phiminIn <= phimax) && (phimaxIn >= phimin) ){
545 for(
it = outset.begin();
it != outset.end(); ++
it)
546 outvec.push_back(*
it);
549 std::cout <<
"equal vectors " << std::endl;
550 std::cout <<
"desired output ";
551 for( j=0; j < outvec.size(); ++j)
552 std::cout << std::dec << outvec[j] <<
" ";
553 std::cout << std::endl;
554 std::cout <<
"obtained output ";
555 for( j=0; j <
outList.size(); ++j)
556 std::cout << std::dec <<
outList[j] <<
" ";
557 std::cout << std::endl;
◆ regionSelectorRobIdUint() [3/3]
void RegSelectorMap::regionSelectorRobIdUint |
( |
long |
layNumber, |
|
|
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
std::vector< uint32_t > & |
outList |
|
) |
| const |
Definition at line 563 of file RegSelectorMap.cxx.
570 std::set<uint32_t> outset;
571 std::list<RegSelectorMapElement>::const_iterator
it, itEnd;
572 std::set<uint32_t>::const_iterator itset;
576 if( etaminIn > 0 && etamaxIn > 0 ){
579 (*it).selectionRobIdUint( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
581 else if( etaminIn < 0 && etamaxIn < 0 ){
584 (*it).selectionRobIdUint( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
592 if( (*it).layerDiskNumber() == layNumber )
596 (*it).selectionRobIdUint( etaminIn, etamaxIn, phiminIn, phimaxIn, outset);
598 for(itset = outset.begin(); itset != outset.end(); ++itset){
◆ ROBIDList() [1/2]
void RegSelectorMap::ROBIDList |
( |
const IRoiDescriptor & |
roi, |
|
|
std::vector< uint32_t > & |
roblist |
|
) |
| const |
|
overridevirtual |
◆ ROBIDList() [2/2]
void RegSelectorMap::ROBIDList |
( |
long |
layer, |
|
|
const IRoiDescriptor & |
roi, |
|
|
std::vector< uint32_t > & |
roblist |
|
) |
| const |
|
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.
- Parameters
-
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. |
- Returns
- std::vector<uint32_t> which is a list of non-repeated ROBID numbers.
Implements IRegSelLUT.
Definition at line 34 of file RegSelectorMap.cxx.
◆ robIdOut()
const std::vector< uint32_t > & RegSelectorMap::robIdOut |
( |
void |
| ) |
const |
◆ summaryDataFile()
Definition at line 369 of file RegSelectorMap.cxx.
372 for(
it = dataList.begin();
it != dataList.end(); ++
it){
373 std::cout <<
"position: " << (*it).layerDiskPosition() <<
" number: " << (*it).layerDiskNumber() << std::endl;
376 std::cout <<
"hashId: ";
377 std::vector<IdentifierHash> aux = (*it).hashId();
379 std::cout << (*i) <<
" ";
380 std::cout << std::endl;
◆ verifyInputs()
StatusCode RegSelectorMap::verifyInputs |
( |
double & |
etaminIn, |
|
|
double & |
etamaxIn, |
|
|
double & |
phiminIn, |
|
|
double & |
phimaxIn |
|
) |
| const |
◆ verifyInputsInternal()
void RegSelectorMap::verifyInputsInternal |
( |
double & |
etaminIn, |
|
|
double & |
etamaxIn, |
|
|
double & |
phiminIn, |
|
|
double & |
phimaxIn |
|
) |
| const |
Definition at line 387 of file RegSelectorMap.cxx.
390 while (phiminIn > 2*
M_PI) phiminIn -= 2*
M_PI;
391 while (phiminIn < 0 ) phiminIn += 2*
M_PI;
392 while (phimaxIn > 2*
M_PI) phimaxIn -= 2*
M_PI;
393 while (phimaxIn < 0 ) phimaxIn += 2*
M_PI;
◆ verifyInputsMinusPi()
StatusCode RegSelectorMap::verifyInputsMinusPi |
( |
double & |
etaminIn, |
|
|
double & |
etamaxIn, |
|
|
double & |
phiminIn, |
|
|
double & |
phimaxIn |
|
) |
| const |
◆ verifyOutput()
void RegSelectorMap::verifyOutput |
( |
double |
etaminIn, |
|
|
double |
etamaxIn, |
|
|
double |
phiminIn, |
|
|
double |
phimaxIn, |
|
|
const std::vector< IdentifierHash > & |
outputIdlist |
|
) |
| const |
Definition at line 444 of file RegSelectorMap.cxx.
448 std::vector<IdentifierHash> outset;
451 double etamin, etamax, phimin, phimax;
453 for(
i= 0;
i < vecsize; ++
i){
463 if( (etaminIn <= etamax) && (etamaxIn >=
etamin) ){
464 if( (phiminIn <= phimax) && (phimaxIn >= phimin) ){
470 if( (etaminIn <= etamax) && (etamaxIn >=
etamin) ){
471 if( (phiminIn <= phimax) && (phimaxIn >= phimin) ){
478 if( (etaminIn <= etamax) && (etamaxIn >=
etamin) ){
479 if( (phiminIn <= phimax) && (phimaxIn >= phimin) ){
485 if(outset == outputIdlist)
486 std::cout <<
"equal vectors " << std::endl;
487 std::cout <<
"desired output ";
488 for( j=0; j < outset.size(); ++j)
489 std::cout << std::dec << outset[j] <<
" ";
490 std::cout << std::endl;
491 std::cout <<
"obtained output ";
492 for( j=0; j < outputIdlist.size(); ++j)
493 std::cout << std::dec << outputIdlist[j] <<
" ";
494 std::cout << std::endl;
◆ writeLine()
void RegSelectorMap::writeLine |
( |
int |
barORend, |
|
|
int |
layORdsk, |
|
|
IdentifierHash |
hashId, |
|
|
uint32_t |
robId, |
|
|
double |
emin, |
|
|
double |
emax, |
|
|
double |
pmin, |
|
|
double |
pmax |
|
) |
| |
|
private |
◆ m_barORend
std::vector<int> RegSelectorMap::m_barORend |
|
private |
◆ m_barreldataList
◆ m_etamax
std::vector<double> RegSelectorMap::m_etamax |
|
private |
◆ m_etamaxDet
double RegSelectorMap::m_etamaxDet |
|
private |
◆ m_etamin
std::vector<double> RegSelectorMap::m_etamin |
|
private |
◆ m_etaminDet
double RegSelectorMap::m_etaminDet |
|
private |
◆ m_hashId
◆ m_layORdsk
std::vector<int> RegSelectorMap::m_layORdsk |
|
private |
◆ m_negdataList
◆ m_phimax
std::vector<double> RegSelectorMap::m_phimax |
|
private |
◆ m_phimaxDet
double RegSelectorMap::m_phimaxDet |
|
private |
◆ m_phimin
std::vector<double> RegSelectorMap::m_phimin |
|
private |
◆ m_phiminDet
double RegSelectorMap::m_phiminDet |
|
private |
◆ m_posdataList
◆ m_robId
std::vector<uint32_t> RegSelectorMap::m_robId |
|
private |
The documentation for this class was generated from the following files:
JetConstituentVector::iterator iterator
double phimaxValue(void) const
double phiminValue(void) const
void writeLine(int barORend, int layORdsk, IdentifierHash hashId, uint32_t robId, double emin, double emax, double pmin, double pmax)
int layerDiskPosition(int hashId) const
static std::string find_file(const std::string &logical_file_name, const std::string &search_path, SearchType search_type=LocalSearch)
virtual double etaMinus() const =0
void insertList(std::list< RegSelectorMapElement > &dataList, int positionIn, int numberIn, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, IdentifierHash hashIdIn, uint32_t &robIdIn)
std::vector< int > m_barORend
unsigned int maxHash(void) const
virtual double etaPlus() const =0
double etaMin(int hashId) const
std::list< RegSelectorMapElement > m_posdataList
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)
std::vector< int > m_layORdsk
double phiMax(int hashId) const
void addLut(const RegionSelectorLUT *detLut)
RegSelectorMapElement creatingElement(int &positionIn, int &numberIn, double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn, IdentifierHash &hashIdIn, uint32_t &robId)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual double phiMinus() const =0
virtual double phiPlus() const =0
extreme phi values
#define TYPE(CODE, TYP, IOTYP)
void regionSelector(DETID TYPE, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< IdentifierHash > &outList) const
std::vector< double > m_etamin
int robId(int hashId) const
void verifyInputsInternal(double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn) const
int layerDiskNumber(int hashId) const
void insertDataElement(int &positionIn, int &numberIn, double &etaminIn, double &etamaxIn, double &phiminIn, double &phimaxIn, IdentifierHash &hashIdIn, uint32_t &robIdIn)
std::list< RegSelectorMapElement > m_barreldataList
std::vector< double > m_etamax
std::vector< double > m_phimin
double etaMax(int hashId) const
void findPosition(TYPEID typeinID, bool posORneg, std::list< RegSelectorMapElement >::const_iterator &it) const
std::vector< uint32_t > m_robId
virtual bool isFullscan() const =0
is this a full detector RoI?
void findMaxMinValues(std::list< RegSelectorMapElement > &dataList)
std::list< RegSelectorMapElement > m_negdataList
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
StatusCode readTILE(const char *filename)
void regionSelectorRobIdUint(DETID TYPE, double etaminIn, double etamaxIn, double phiminIn, double phimaxIn, std::vector< uint32_t > &outList) const
int hashId(int value) const
std::vector< IdentifierHash > m_hashId
std::vector< double > m_phimax
double phiMin(int hashId) const