|
ATLAS Offline Software
|
Go to the documentation of this file.
19 declareInterface<MuonLayerHashProviderTool>(
this);
29 return StatusCode::FAILURE;
32 return StatusCode::SUCCESS;
51 for( ;
it!=it_end; ++
it ){
73 for( ;
it!=it_end; ++
it ){
80 int nstrips = detEl->
nStrips(1);
83 std::vector<int> sectors1;
88 for( ;sit!=sit_end; ++sit ){
93 std::vector<int> sectors2;
95 sit = sectors2.begin();
96 sit_end = sectors2.end();
97 for( ;sit!=sit_end; ++sit ){
98 if( added.count(*sit) )
continue;
118 it->resize(nsectorHashMax);
134 for(
int sector = 1; sector<=16; ++sector ){
138 for(
unsigned int hash = 0;
hash < nsectorHashMax; ++
hash ){
142 currentRegion = regionLayer.first;
152 <<
" " << std::setw(4) <<
vec[tech][
hash].size();
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
void getSectors(double phi, std::vector< int > §ors) const
returns the main sector plus neighboring if the phi position is in an overlap region
static unsigned int sectorLayerHashMax()
maximum create a hash out of region and layer
static unsigned int sectorLayerHash(DetectorRegionIndex detectorRegionIndex, LayerIndex layerIndex)
create a hash out of region and layer
bool msgLvl(const MSG::Level lvl) const
const_id_iterator module_end() const
std::vector< size_t > vec
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Amg::Vector3D channelPos(const Identifier &id) const
Returns the position of the active channel (wireGang or strip)
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
static unsigned int numberOfSectors()
return total number of sectors
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
static std::pair< DetectorRegionIndex, LayerIndex > decomposeSectorLayerHash(unsigned int hash)
decompose the hash into Region and Layer
static const std::string & regionName(DetectorRegionIndex index)
convert DetectorRegionIndex into a string
::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...
static const std::string & layerName(LayerIndex index)
convert LayerIndex into a string
int nStrips(int gasGap) const
Returns the number of strips in a given gas gap.
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
Eigen::Matrix< double, 3, 1 > Vector3D
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
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...
TechnologyIndex
enum to classify the different layers in the muon spectrometer
static const std::string & technologyName(TechnologyIndex index)
convert LayerIndex into a string