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;
82 std::vector<int>::iterator sit = sectors1.begin();
83 std::vector<int>::iterator sit_end = sectors1.end();
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;
#define ATH_CHECK
Evaluate an expression and check for errors.
This is a "hash" representation of an Identifier.
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
Amg::Vector3D channelPos(const Identifier &id) const
Returns the position of the active channel (wireGang or strip)
int nStrips(int gasGap) const
Returns the number of strips in a given gas gap.
std::vector< Identifier >::const_iterator const_id_iterator
const_id_iterator module_end() const
const_id_iterator module_begin() const
Iterators over full set of ids.
virtual int get_module_hash(const Identifier &id, IdentifierHash &hash_id) const
void getSectors(double phi, std::vector< int > §ors) const
returns the main sector plus neighboring if the phi position is in an overlap region
Eigen::Matrix< double, 3, 1 > Vector3D
constexpr unsigned numberOfSectors()
return total number of sectors
constexpr int toInt(const EnumType enumVal)
constexpr unsigned int sectorLayerHashMax()
maximum create a hash out of region and layer
unsigned int sectorLayerHash(DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex)
create a hash out of region and layer
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.