|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef NtupleStationId_H
6 #define NtupleStationId_H
13 #include "Identifier/Identifier.h"
18 class MuonDetectorManager;
62 inline NtupleStationId(
const std::string &station,
const int &eta,
const int &phi,
const int &ml = 0,
const int &
author = 0) :
73 m_ml =
id.mdtMultilayer();
77 inline void Initialize(
const int &station,
const int &eta,
const int &phi,
const int &ml = 0,
const int &
author = 0) {
86 for (
unsigned int ii = 0; ii < 2; ii++) {
100 bool Initialize(
const std::string &station,
const int &eta,
const int &phi,
const int &ml = 0,
const int &
author = 0);
144 if (
id.eta() !=
m_eta)
return false;
146 if (
id.phi() !=
m_phi)
return false;
bool operator<(const NtupleStationId &other) const
comparision operators for the use as map ids
int NMultilayers() const
return geometry information
Ensure that the Athena extensions are properly loaded.
void Initialize(const MuonFixedId &id)
initialize function
void SetMultilayer(const int &ml)
int NLayers(int ml) const
bool InitializeGeometry(const MdtIdHelper &mdtIdHelper, const MuonGM::MuonDetectorManager *detMgr)
initialize geometry information
std::string regionId() const
return the region id string
bool operator==(const MuonFixedId &id) const
return true if icdentifier matches selection
int TubeMin(int ml) const
void Initialize(const int &station, const int &eta, const int &phi, const int &ml=0, const int &author=0)
NtupleStationId()
Default constructor.
int m_region_hash
geo model information
NtupleStationId(const MuonFixedId &id)
Initializing Constructor.
bool operator>(const NtupleStationId &other) const
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
IdentifierHash MdtRegionHash
define type MdtRegionHash
int TubeMax(int ml) const
const int & GetAuthor() const
int LayerMin(int ml) const
IdentifierHash MdtBasicRegionHash
define type MdtBasicRegionHash for the smallest possible MDT calibration region
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
int LayerMax(int ml) const
Identifier MdtBasicRegionId
define type MdtBasicRegionId for the smallest possible MDT calibration region
void SetAuthor(const int &author)
bool operator==(const NtupleStationId &id) const
return true if the regions are the same
NtupleStationId(const std::string &station, const int &eta, const int &phi, const int &ml=0, const int &author=0)
Initializing Constructor.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
void SetStation(const std::string &station)
set station, eta or phi seperately
int GetStation() const
get station eta and phi
void SetEta(const int &eta)
void SetPhi(const int &phi)
set phi