ATLAS Offline Software
|
#include <SiDetElementRoadMakerData_xk.h>
Public Types | |
typedef std::array< std::vector< std::vector< bool > >, 3 > | ElementUsageTracker |
Following the pattern established for example in the seed-maker event data, we use public members directly rather than exposing private members with full read-write-access. More... | |
Public Member Functions | |
SiDetElementRoadMakerData_xk () | |
trivial constructor - the members of this event data struct need client tool information for initialisation, hence this is done at client-level. More... | |
~SiDetElementRoadMakerData_xk ()=default | |
Default destructor. More... | |
void | resetUsageTracker () |
method to reset the flags stored in the elementUsageTracker (below) when building a new search road. More... | |
Public Attributes | |
ElementUsageTracker | elementUsageTracker |
bool | isInitialized {false} |
Flag to check if the event data was already initialized by the client tool. More... | |
InDet::SiDetElementRoadMakerData_xk holds event dependent data used by SiDetElementRoadMaker_xk.
Definition at line 28 of file SiDetElementRoadMakerData_xk.h.
typedef std::array<std::vector<std::vector<bool> >,3> InDet::SiDetElementRoadMakerData_xk::ElementUsageTracker |
Following the pattern established for example in the seed-maker event data, we use public members directly rather than exposing private members with full read-write-access.
This has the advantage that the members can be intialized by the client tools, which provide the tools needed to do so.
This is a data structure used to track which of our detector elements are already on a search road. Nested in the hierarchy of detector region - layer - module within layer. Dynamic to avoid hard-coding a certain geometry.
Definition at line 55 of file SiDetElementRoadMakerData_xk.h.
|
inline |
trivial constructor - the members of this event data struct need client tool information for initialisation, hence this is done at client-level.
Definition at line 35 of file SiDetElementRoadMakerData_xk.h.
|
default |
Default destructor.
void InDet::SiDetElementRoadMakerData_xk::resetUsageTracker | ( | ) |
method to reset the flags stored in the elementUsageTracker (below) when building a new search road.
Does not perform any allocations, but resets the existing slots.
loop over detector regions
loop over layers in region
loop over elements on layer
Definition at line 4 of file SiDetElementRoadMakerData_xk.cxx.
ElementUsageTracker InDet::SiDetElementRoadMakerData_xk::elementUsageTracker |
Definition at line 56 of file SiDetElementRoadMakerData_xk.h.
bool InDet::SiDetElementRoadMakerData_xk::isInitialized {false} |
Flag to check if the event data was already initialized by the client tool.
Definition at line 59 of file SiDetElementRoadMakerData_xk.h.