Skip to content
Snippets Groups Projects
Commit a2fe0334 authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'RemovePosInStat' into 'main'

xAODMuonPrepData - Remove the tube Pos  & strip Pos in station data members

See merge request atlas/athena!70657
parents a88489f8 a7ea29b2
No related branches found
Tags release/23.6.31 release/25.0.4
34 merge requests!78241Draft: FPGATrackSim: GenScan code refactor,!78236Draft: Switching Streams https://its.cern.ch/jira/browse/ATR-27417,!78056AFP monitoring: new synchronization and cleaning,!78041AFP monitoring: new synchronization and cleaning,!77990Updating TRT chip masks for L1TRT trigger simulation - ATR-28372,!77733Draft: add new HLT NN JVT, augmented with additional tracking information,!77731Draft: Updates to ZDC reconstruction,!77728Draft: updates to ZDC reconstruction,!77522Draft: sTGC Pad Trigger Emulator,!76725ZdcNtuple: Fix cppcheck warning.,!76611L1CaloFEXByteStream: Fix out-of-bounds array accesses.,!76475Punchthrough AF3 implementation in FastG4,!76474Punchthrough AF3 implementation in FastG4,!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method,!75729New implementation of ZDC nonlinear FADC correction.,!75703Draft: Update to HI han config for HLT jets,!75184Draft: Update file heavyions_run.config,!74430Draft: Fixing upper bound for Delayed Jet Triggers,!73963Changing the path of the histograms to "Expert" area,!73875updating ID ART reference plots,!73874AtlasCLHEP_RandomGenerators: Fix cppcheck warnings.,!73449Add muon detectors to DarkJetPEBTLA partial event building,!73343Draft: [TrigEgamma] Add photon ringer chains on bootstrap mechanism,!72972Update L1Calo Jet Trigger Efficiency Monitoring algorithm,!72336Fixed TRT calibration crash,!72176Draft: Improving L1TopoOnline chain that now gets no-empty plots. Activating it by default,!72012Draft: Separate JiveXMLConfig.py into Config files,!71876Fix MET trigger name in MissingETMonitoring,!71820Draft: Adding new TLA End-Of-Fill (EOF) chains and removing obsolete DIPZ chains,!71279Draft: ATR-29330: Move L1_4J15 and the HLT chains seeded by it in the MC Menu,!70990Updates to pulse analysis to support new 2016 p+Pb analysis and 2023 Pb+Pb analysis,!70948[TrigEGam] Adding egamma chains to be monitored,!70777Draft: sTGC offline raw monitoring: strip efficiency re-implementation,!70657xAODMuonPrepData - Remove the tube Pos & strip Pos in station data members
Showing
with 5 additions and 75 deletions
......@@ -34,7 +34,6 @@ MMClusterAuxContainer_v1::MMClusterAuxContainer_v1()
PRD_AUXVARIABLE(stripCharges);
PRD_AUXVARIABLE(stripDriftDist);
PRD_AUXVARIABLE(stripDriftErrors);
PRD_AUXVARIABLE(stripPosInStation);
}
} // namespace xAOD
#undef PRD_AUXVARIABLE
\ No newline at end of file
......@@ -13,7 +13,6 @@
namespace {
static const std::string preFixStr{"Mm_"};
static const xAOD::PosAccessor<3> accStripPos{preFixStr + "stripPosInStation"};
}
......@@ -25,13 +24,6 @@ IdentifierHash MMCluster_v1::measurementHash() const {
IdentifierHash MMCluster_v1::layerHash() const {
return MuonGMR4::MmReadoutElement::createHash(0, gasGap());
}
void MMCluster_v1::setStripPosInStation(const MeasVector<3>& pos){
VectorMap<3> v{accStripPos(*this).data()};
v = pos;
}
ConstVectorMap<3> MMCluster_v1::stripPosInStation() const {
return ConstVectorMap<3>{accStripPos(*this).data()};
}
IMPLEMENT_SETTER_GETTER(MMCluster_v1, uint16_t, time, setTime)
IMPLEMENT_SETTER_GETTER(MMCluster_v1, uint32_t, charge, setCharge)
IMPLEMENT_SETTER_GETTER(MMCluster_v1, float, driftDist, setDriftDist)
......
......@@ -22,7 +22,6 @@ MdtDriftCircleAuxContainer_v1::MdtDriftCircleAuxContainer_v1()
AUX_MEASUREMENTVAR(localCovariance, 1)
/// Names may be shared across different subdetectors
PRD_AUXVARIABLE(tubePosInStation);
PRD_AUXVARIABLE(tdc);
PRD_AUXVARIABLE(adc);
PRD_AUXVARIABLE(driftTube);
......
......@@ -12,8 +12,7 @@
#include "StoreGate/StoreGateSvc.h"
namespace {
static const std::string preFixStr{"Mdt_"};
static const xAOD::PosAccessor<3> accTubePos{preFixStr + "tubePosInStation"};
static const std::string preFixStr{"Mdt_"};
}
namespace xAOD {
......@@ -47,12 +46,5 @@ void MdtDriftCircle_v1::setDriftRadius(float r) {
void MdtDriftCircle_v1::setDriftRadCov(float cov) {
localCovariance<1>()(Trk::locR, Trk::locR) = cov;
}
void MdtDriftCircle_v1::setTubePosInStation(const MeasVector<3>& pos){
VectorMap<3> v{accTubePos(*this).data()};
v = pos;
}
ConstVectorMap<3> MdtDriftCircle_v1::tubePosInStation() const {
return ConstVectorMap<3>{accTubePos(*this).data()};
}
} // namespace xAOD
......@@ -25,7 +25,6 @@ RpcStripAuxContainer_v1::RpcStripAuxContainer_v1()
PRD_AUXVARIABLE(triggerInfo);
PRD_AUXVARIABLE(ambiguityFlag);
PRD_AUXVARIABLE(timeOverThreshold);
PRD_AUXVARIABLE(stripPosInStation);
PRD_AUXVARIABLE(stripNumber);
PRD_AUXVARIABLE(gasGap);
......
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// EDM include(s):
......@@ -14,7 +14,6 @@
namespace {
static const std::string preFixStr{"Rpc_"};
static const xAOD::PosAccessor<3> accStripPos{preFixStr + "stripPosInStation"};
}
namespace xAOD {
......@@ -37,13 +36,6 @@ IdentifierHash RpcStrip_v1::measurementHash() const {
IdentifierHash RpcStrip_v1::layerHash() const {
return MuonGMR4::RpcReadoutElement::createHash(0, gasGap(), doubletPhi(), measuresPhi());
}
void RpcStrip_v1::setStripPosInStation(const MeasVector<3>& pos){
VectorMap<3> v{accStripPos(*this).data()};
v = pos;
}
ConstVectorMap<3> RpcStrip_v1::stripPosInStation() const {
return ConstVectorMap<3>{accStripPos(*this).data()};
}
} // namespace xAOD
#undef IMPLEMENT_SETTER_GETTER
......@@ -27,7 +27,6 @@ TgcStripAuxContainer_v1::TgcStripAuxContainer_v1()
PRD_AUXVARIABLE(channelNumber);
PRD_AUXVARIABLE(gasGap);
PRD_AUXVARIABLE(measuresPhi);
PRD_AUXVARIABLE(stripPosInStation);
}
} // namespace xAOD
#undef PRD_AUXVARIABLE
\ No newline at end of file
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// EDM include(s):
......@@ -13,8 +13,6 @@
namespace {
static const std::string preFixStr{"Tgc_"};
static const xAOD::PosAccessor<3> accStripPos{preFixStr + "stripPosInStation"};
}
namespace xAOD {
......@@ -31,12 +29,5 @@ IdentifierHash TgcStrip_v1::measurementHash() const {
IdentifierHash TgcStrip_v1::layerHash() const {
return MuonGMR4::TgcReadoutElement::constructHash(0, gasGap(), measuresPhi());
}
void TgcStrip_v1::setStripPosInStation(const MeasVector<3>& pos){
VectorMap<3> v{accStripPos(*this).data()};
v = pos;
}
ConstVectorMap<3> TgcStrip_v1::stripPosInStation() const {
return ConstVectorMap<3>{accStripPos(*this).data()};
}
} // namespace xAOD
#undef IMPLEMENT_SETTER_GETTER
......@@ -42,7 +42,6 @@ class MMClusterAuxContainer_v1 : public AuxContainerBase {
std::vector<std::vector<int>> stripCharges{};
std::vector<std::vector<float>> stripDriftDist{};
std::vector<std::vector<PosAccessor<2>::element_type>> stripDriftErrors{};
std::vector<PosAccessor<3>::element_type> stripPosInStation{};
/// @}
};
} // namespace xAOD
......
......@@ -107,14 +107,6 @@ class MMCluster_v1 : public UncalibratedMeasurement_v1 {
Exceptions are thrown if that fails as well */
const MuonGMR4::MmReadoutElement* readoutElement() const;
/** @brief Returns the local position of the strip within
* the Muon Station (I.e. the center plane between 2 multilayers)
*/
ConstVectorMap<3> stripPosInStation() const;
/** @brief Sets the position of the strip within a muon station*/
void setStripPosInStation(const MeasVector<3>& pos);
private:
#ifdef __CLING__
/// Down cast the memory of the readoutElement cache if the object is stored to disk
......
......@@ -26,8 +26,6 @@ class MdtDriftCircleAuxContainer_v1 : public AuxContainerBase {
std::vector<PosAccessor<1>::element_type> localPosition{};
std::vector<CovAccessor<1>::element_type> localCovariance{};
std::vector<PosAccessor<3>::element_type> tubePosInStation{};
std::vector<int16_t> tdc{};
std::vector<int16_t> adc{};
std::vector<uint16_t> driftTube{};
......
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#ifndef XAODMUONPREPDATA_VERSION_MDTDRIFTCIRCLE_V1_H
#define XAODMUONPREPDATA_VERSION_MDTDRIFTCIRCLE_V1_H
......@@ -48,10 +48,6 @@ class MdtDriftCircle_v1 : public UncalibratedMeasurement_v1 {
float driftRadiusCov() const;
/** @brief Returns the uncertainty on the drift radius*/
float driftRadiusUncert() const;
/** @brief Returns the local position of the tube within
* the Muon Station (I.e. the center plane between 2 multilayers)
*/
ConstVectorMap<3> tubePosInStation() const;
/// Setter methods
......@@ -69,8 +65,6 @@ class MdtDriftCircle_v1 : public UncalibratedMeasurement_v1 {
void setDriftRadius(float r);
/** @brief Sets the covariance on the drift circle */
void setDriftRadCov(float cov);
/** @brief Sets the position of the tube within a muon station*/
void setTubePosInStation(const MeasVector<3>& pos);
/** @brief set the pointer to the MdtReadoutElement */
void setReadoutElement(const MuonGMR4::MdtReadoutElement* readoutEle);
......
......@@ -30,7 +30,6 @@ class RpcStripAuxContainer_v1 : public AuxContainerBase {
std::vector<uint32_t> triggerInfo{}; // FIXME - how big do we need this to be?
std::vector<uint8_t> ambiguityFlag{};
std::vector<float> timeOverThreshold{};
std::vector<PosAccessor<3>::element_type> stripPosInStation{};
std::vector<uint16_t> stripNumber{};
std::vector<uint8_t> gasGap{};
......
......@@ -77,14 +77,6 @@ class RpcStrip_v1 : public UncalibratedMeasurement_v1 {
Exceptions are thrown if that fails as well */
const MuonGMR4::RpcReadoutElement* readoutElement() const;
/** @brief Returns the local position of the strip within
* the Muon Station (I.e. the center plane between 2 multilayers)
*/
ConstVectorMap<3> stripPosInStation() const;
/** @brief Sets the position of the strip within a muon station*/
void setStripPosInStation(const MeasVector<3>& pos);
private:
#ifdef __CLING__
/// Down cast the memory of the readoutElement cache if the object is stored to disk
......
......@@ -31,7 +31,6 @@ class TgcStripAuxContainer_v1 : public AuxContainerBase {
std::vector<uint16_t> channelNumber{};
std::vector<uint8_t> gasGap{};
std::vector<uint8_t> measuresPhi{};
std::vector<PosAccessor<3>::element_type> stripPosInStation{};
/// @}
};
} // namespace xAOD
......
/*
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
#ifndef XAODMUONPREPDATA_VERSION_TGCSTRIP_V1_H
#define XAODMUONPREPDATA_VERSION_TGCSTRIP_V1_H
......@@ -61,13 +61,7 @@ class TgcStrip_v1 : public UncalibratedMeasurement_v1 {
If the element has not been set before, it's tried to load it on the fly.
Exceptions are thrown if that fails as well */
const MuonGMR4::TgcReadoutElement* readoutElement() const;
/** @brief Returns the local position of the strip within
* the Muon Station (I.e. the center plane between 2 multilayers)
*/
ConstVectorMap<3> stripPosInStation() const;
/** @brief Sets the position of the strip within a muon station*/
void setStripPosInStation(const MeasVector<3>& pos);
private:
#ifdef __CLING__
/// Down cast the memory of the readoutElement cache if the object is stored to disk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment