ATLAS Offline Software
Loading...
Searching...
No Matches
xAOD::ChamberViewConcepts Namespace Reference

Under the assumption that all measurements in an uncalibrated measurement container are sorted by their IdentifierHash which is the unique hash of the associated ReadoutElement, the UnCalibMeasViewer provides a begin & end iterator where all measurements in between share the same identifierHash. More...

Concepts

concept  identifyConcept
 Define the concept that the object needs to have an Identifier method.
concept  identifierHashConcept
 Define the concept that the object needs to have an IdentifierHash method.
concept  ContainerConcept

Detailed Description

Under the assumption that all measurements in an uncalibrated measurement container are sorted by their IdentifierHash which is the unique hash of the associated ReadoutElement, the UnCalibMeasViewer provides a begin & end iterator where all measurements in between share the same identifierHash.

That allows for convenient range based for loops restricted over all measurements in chamber. A minimal example of how to use the ChamberMeasViewer is given below.

/// Fetch some pointer to the full measruement container const xAOD::UnCalibMeasurementContainer* allMeasurements{};

ChamberMeasViewer viewer{allMeasurements}; /// Start the loop over the chambers do { for (const xAOD::UnCalibMeasurement meas : viewer) { } } /// Load the hits from the next chamber while(viewer.next());