 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 using namespace MuonStationIndex;
17 declareInterface<MuonLayerHashProviderTool>(
this);
28 return StatusCode::FAILURE;
31 return StatusCode::SUCCESS;
42 m_regionHashesPerSector[sector-1].technologyRegionHashVecs[techIndex][layHash].push_back(
hash);
50 for( ;
it!=it_end; ++
it ){
60 if (m_hashLoaded)
return;
69 for( ;
it!=it_end; ++
it ){
76 int nstrips = detEl->
nStrips(1);
79 std::vector<int> sectors1;
84 for( ;sit!=sit_end; ++sit ){
89 std::vector<int> sectors2;
91 sit = sectors2.begin();
92 sit_end = sectors2.end();
93 for( ;sit!=sit_end; ++sit ){
94 if( added.count(*sit) )
continue;
105 for(
unsigned int i=0;
i<m_regionHashesPerSector.size();++
i ) {
106 m_regionHashesPerSector[
i].sector=
i+1;
JetConstituentVector::iterator iterator
constexpr unsigned int sectorLayerHashMax()
maximum create a hash out of region and layer
void getSectors(double phi, std::vector< int > §ors) const
returns the main sector plus neighboring if the phi position is in an overlap region
unsigned int sectorLayerHash(DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex)
create a hash out of region and layer
const_id_iterator module_end() const
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
constexpr unsigned numberOfSectors()
return total number of sectors
Amg::Vector3D channelPos(const Identifier &id) const
Returns the position of the active channel (wireGang or strip)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual int get_module_hash(const Identifier &id, IdentifierHash &hash_id) const
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
int nStrips(int gasGap) const
Returns the number of strips in a given gas gap.
constexpr int toInt(const ParamDefs p)
StatusCode initialize(bool used=true)
Eigen::Matrix< double, 3, 1 > Vector3D
std::vector< Identifier >::const_iterator const_id_iterator
const_id_iterator module_begin() const
Iterators over full set of ids.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...