|
ATLAS Offline Software
|
Go to the documentation of this file.
9 const std::string& inContainer,
11 const std::string& collName) :
22 if (!insert_itr.second) {
23 return insert_itr.first->second;
52 idHelper.tubeLayer(
id));
94 return insert_itr.first->second;
105 if (!insert_itr.second) {
106 return insert_itr.first->second;
115 for (
const auto& spacePoint : bucket) {
116 spacePoints.push_back(
push_back(*spacePoint));
119 return insert_itr.first->second;
127 if (!container.isPresent()) {
131 for (
const auto& bucket : *container) {
VectorBranch< int16_t > & m_phiChannel
Channel of the secondary measurment.
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
virtual const sTgcIdHelper & stgcIdHelper() const =0
access to TgcIdHelper
: The muon space point bucket represents a collection of points that will bre processed together in t...
const MuonGMR4::SpectrometerSector * msSector() const
returns th associated muonChamber
double coveredMin() const
lower interval value covered by the bucket
MuonIdentifierBranch m_bucketId
stationIndex / stationEta / stationPhi of the bucket chamber
VectorBranch< float > & m_driftR
Space point drift radius.
SpacePointTesterModule(MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="")
const ChamberSet & chambers() const
Returns the associated chambers with this sector.
VectorBranch< float > & m_covXX
Covariance of the space point.
ThreeVectorBranch m_globPos
Space point position.
unsigned int bucketId() const
Returns the Identifier in the context of the MuonChamber.
bool m_applyFilter
: Flag whether the module is operated in filter mode
VectorBranch< unsigned int > & m_nPhiInstances
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
const xAOD::UncalibratedMeasurement * secondaryMeasurement() const
VectorBranch< unsigned char > & m_layer
Measurement layer.
VectorBranch< uint16_t > & m_channel
Measurement channel.
virtual const MmIdHelper & mmIdHelper() const =0
access to CscIdHelper
#define AmgSymMatrix(dim)
TTree * tree() override final
Returns the underlying TTree object.
bool measuresPhi() const
: Does the space point contain a phi measurement
VectorBranch< unsigned int > & m_nEtaInstances
How many other spacepoints were built with the same eta /phi prd.
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
double coveredMax() const
upper interval value covered by the bucket
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
bool msgLvl(const MSG::Level lvl) const
Test the output level.
VectorBranch< float > & m_bucketMin
Range of the space point bucket.
MuonIdentifierBranch m_spacePointId
Station Identifier.
VectorBranch< float > & m_covYY
virtual void push_back(const Identifier &id)
const Muon::IMuonIdHelperSvc * idHelperSvc() const
MatrixBranch< uint16_t > & m_bucketPoints
associated space points
VectorBranch< bool > & m_measPhi
void push_back(const T &value)
Adds a new element at the end of the vector.
The muon space point is the combination of two uncalibrated measurements one of them measures the eta...
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
virtual MuonStationIndex::TechnologyIndex technologyIndex(const Identifier &id) const =0
calculate layer index from Identifier
virtual const MdtIdHelper & mdtIdHelper() const =0
access to MdtIdHelper
VectorBranch< bool > & m_measEta
Does the space point measure phi or eta.
virtual const TgcIdHelper & tgcIdHelper() const =0
access to TgcIdHelper
VectorBranch< float > & m_covYX
bool declare_keys() override final
const Amg::Vector3D & positionInChamber() const
unsigned int nPhiInstanceCounts() const
How many space points have been built in total with the same phi prd
std::unordered_map< const MuonR4::SpacePoint *, unsigned int > m_spacePointIdx
: Keep track when a spacepoint is filled into the tree
bool measuresEta() const
: Does the space point contain an eta measurement
#define ATH_MSG_WARNING(x)
SG::ReadHandleKey< MuonR4::SpacePointContainer > m_key
VectorBranch< unsigned char > & m_techIdx
Technology index of the space point.
VectorBranch< uint16_t > & m_bucketNumber
Space point bucket information.
VectorBranch< float > & m_bucketMax
unsigned int push_back(const MuonR4::SpacePointBucket &bucket)
double driftRadius() const
: Returns the size of the drift radius
size_t size() const
Returns the number of actual saved elements.
Handle class for reading from StoreGate.
std::unordered_map< const MuonR4::SpacePointBucket *, unsigned int > m_bucketIdx
: Keep tarck when a space point bucket is filled into the tree
VectorBranch< float > & m_covXY
bool m_internalFill
: Flag toggling whether the module is in internal filling mode
TechnologyIndex
enum to classify the different layers in the muon spectrometer
const Identifier & identify() const
: Identifier of the primary measurement
unsigned int nEtaInstanceCounts() const
How many space points have been built in total with the same eta prd.
virtual const RpcIdHelper & rpcIdHelper() const =0
access to RpcIdHelper