|
ATLAS Offline Software
|
Go to the documentation of this file.
18 declareInterface<IIdToFixedIdTool>(
this);
25 return StatusCode::SUCCESS;
33 ATH_MSG_DEBUG(
" MuonIdentifier doesn't correspond to a muon ");
38 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (general) ");
48 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (MDT) ");
61 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (RPC) ");
72 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (CSC) ");
82 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (TGC) ");
100 }
else if (fid.
is_tgc()) {
112 ATH_MSG_DEBUG(
" MuonIdentifier doesn't correspond to a muon ");
117 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (general) ");
127 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (MDT) ");
140 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (RPC) ");
151 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (CSC) ");
161 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (TGC) ");
171 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (MMG) ");
181 case sTgcIdHelper::sTgcChannelTypes::Pad:
182 channelType = MuonFixedLongId::StgChannelType::stgChannelPad;
184 case sTgcIdHelper::sTgcChannelTypes::Strip:
185 channelType = MuonFixedLongId::StgChannelType::stgChannelStrip;
187 case sTgcIdHelper::sTgcChannelTypes::Wire:
188 channelType = MuonFixedLongId::StgChannelType::stgChannelWire;
200 if (!done)
ATH_MSG_INFO(
"Something went wrong in the conversion id->fid (STG) ");
211 }
else if (fid.
is_rpc()) {
218 }
else if (fid.
is_tgc()) {
221 }
else if (fid.
is_mmg()) {
224 }
else if (fid.
is_stg()) {
228 case MuonFixedLongId::StgChannelType::stgChannelPad:
229 channelType = sTgcIdHelper::sTgcChannelTypes::Pad;
231 case MuonFixedLongId::StgChannelType::stgChannelStrip:
232 channelType = sTgcIdHelper::sTgcChannelTypes::Strip;
234 case MuonFixedLongId::StgChannelType::stgChannelWire:
235 channelType = sTgcIdHelper::sTgcChannelTypes::Wire;
251 std::string stnName(region, 0, 3);
252 std::string::size_type separator1 = region.find_first_of(
'_');
253 std::string::size_type separator2 = region.find_last_of(
'_');
254 if ((separator1 == std::string::npos) || (separator2 == std::string::npos) || (separator1 == separator2)) {
255 ATH_MSG_WARNING(
"IdToFixedIdTool::regionKeyToId : invalid region key " << region);
258 std::string::size_type separator3 = region.find(
'_', separator1 + 1);
259 if (separator3 != separator2) {
261 std::string stnPhi(region, separator1 + 1, separator2 - separator1 - 1);
262 std::string stnEta(region, separator2 + 1, separator3 - separator2 - 1);
263 std::istringstream is1, is2;
268 std::string Ml(region, separator3 + 1, region.size() - separator3 - 1);
269 std::istringstream is3;
274 std::string stnPhi(region, separator1 + 1, separator2 - separator1 - 1);
275 std::string stnEta(region, separator2 + 1, region.size() - separator2 - 1);
276 std::istringstream is1, is2;
bool setMdtTubeLayer(int num)
Mdt specific: set layer to num.
bool setMdtMultilayer(int num)
Mdt specific: set multilayer to num.
int mmgMultilayer() const
Mmg specific:
bool setStgChannel(int num)
Stg specific: set channel to num.
int tgcGasGap() const
Tgc specific:
bool setTgcIsStrip(int num)
Tgc specific: set is_strip to num.
int mmgStrip() const
Mmg specific:
bool setMdtTube(int num)
Mdt specific: set tube to num.
bool setCscChamberLayer(int num)
Csc specific: set chamber layer to num.
bool setTgcIsStrip(int num)
Tgc specific: set is_strip to num.
int rpcDoubletR() const
Rpc specific:
bool setTgcChannel(int num)
Tgc specific: set channel to num.
bool setTgcGasGap(int num)
Tgc specific: set gas_gap to num.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
bool setStationName(StationName num)
set station name to num in the fixed identifier
bool setRpcDoubletZ(int num)
Rpc specific: set doublet_Z to num.
bool setStgMultilayer(int num)
Stg specific: set multilayer to num.
int mdtTubeLayer() const
Mdt specific:
bool setCscWireLayer(int num)
Csc specific: set wire layer to num.
int mdtMultilayer() const
Mdt specific:
int rpcMeasuresPhi() const
Rpc specific:
bool setStationPhi(int num)
set station phi to num in the fixed identifier
int cscStrip() const
Csc specific:
bool setTechnology(int num)
set technology to num in the fixed identifier
int mmgGasGap() const
Mmg specific:
int tgcGasGap() const
Tgc specific:
#define ATH_MSG_VERBOSE(x)
bool setStationEta(int num)
set station eta to num in the fixed identifier
bool setMmgMultilayer(int num)
Mmg specific: set multilayer to num.
StgChannelType
an enum with the STGC channel types
int rpcGasGap() const
Rpc specific:
int mdtTube() const
Mdt specific:
bool setMdtTube(int num)
Mdt specific: set tube to num.
int tgcChannel() const
Tgc specific:
std::string stationNameString() const
bool setMdtMultilayer(int num)
Mdt specific: set multilayer to num.
bool setMdtTubeLayer(int num)
Mdt specific: set layer to num.
int stgMultilayer() const
Stg specific:
bool setTechnology(Technology num)
set technology to num in the fixed identifier
bool setCscMeasuresPhi(int num)
Csc specific: set measures_phi to num.
std::string_view stationNameString() const
static int stationStringToFixedStationNumber(const std::string &station)
bool setStationPhi(int num)
set station phi to num in the fixed identifier
bool setCscMeasuresPhi(int num)
Csc specific: set measures_phi to num.
bool setStationName(int num)
set station name to num in the fixed identifier
int cscWireLayer() const
Csc specific:
StgChannelType stgChannelType() const
Stg specific:
int tgcIsStrip() const
Tgc specific:
::StatusCode StatusCode
StatusCode definition for legacy code.
bool setStgChannelType(StgChannelType num)
Stg specific: set channel_type to num.
int rpcDoubletZ() const
Rpc specific:
int rpcStrip() const
Rpc specific:
bool setRpcGasGap(int num)
Rpc specific: set gas_gap to num.
bool setStgGasGap(int num)
Stg specific: set gas_gap to num.
int rpcDoubletPhi() const
Rpc specific:
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
bool setRpcMeasuresPhi(int num)
Rpc specific: set measures_phi to num.
bool setCscStrip(int num)
Csc specific: set strip to num.
int rpcMeasuresPhi() const
Rpc specific:
int cscWireLayer() const
Csc specific:
int cscStrip() const
Csc specific:
int stgChannel() const
Stg specific:
int rpcDoubletZ() const
Rpc specific:
bool setRpcDoubletPhi(int num)
Rpc specific: set doublet_Phi to num.
bool setMmgGasGap(int num)
Mmg specific: set gas_gap to num.
bool setStationEta(int num)
set station eta to num in the fixed identifier
int cscChamberLayer() const
Csc specific:
int rpcDoubletPhi() const
Rpc specific:
int rpcDoubletR() const
Rpc specific:
int stgGasGap() const
Stg specific:
bool setRpcDoubletR(int num)
Rpc specific: set doublet_R to num.
int rpcGasGap() const
Rpc specific:
bool setRpcDoubletZ(int num)
Rpc specific: set doublet_Z to num.
bool setRpcMeasuresPhi(int num)
Rpc specific: set measures_phi to num.
static StationName stationStringToFixedStationNumber(std::string_view station)
#define ATH_MSG_WARNING(x)
int mdtMultilayer() const
Mdt specific:
int cscMeasuresPhi() const
Csc specific:
bool setTgcChannel(int num)
Tgc specific: set channel to num.
bool setCscWireLayer(int num)
Csc specific: set wire layer to num.
int mdtTube() const
Mdt specific:
bool setCscChamberLayer(int num)
Csc specific: set chamber layer to num.
int tgcChannel() const
Tgc specific:
int rpcStrip() const
Rpc specific:
int tgcIsStrip() const
Tgc specific:
bool setRpcGasGap(int num)
Rpc specific: set gas_gap to num.
bool setRpcStrip(int num)
Rpc specific: set strip to num.
bool setCscStrip(int num)
Csc specific: set strip to num.
bool setRpcDoubletR(int num)
Rpc specific: set doublet_R to num.
bool setRpcStrip(int num)
Rpc specific: set strip to num.
bool setRpcDoubletPhi(int num)
Rpc specific: set doublet_Phi to num.
bool setTgcGasGap(int num)
Tgc specific: set gas_gap to num.
bool setMmgStrip(int num)
Mmg specific: set strip to num.
int mdtTubeLayer() const
Mdt specific:
int cscMeasuresPhi() const
Csc specific:
int cscChamberLayer() const
Csc specific: