ATLAS Offline Software
Public Types | Public Member Functions | Public Attributes | List of all members
InDet::SiDetElementRoadMakerData_xk Class Referencefinal

#include <SiDetElementRoadMakerData_xk.h>

Collaboration diagram for InDet::SiDetElementRoadMakerData_xk:

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...
 

Detailed Description

InDet::SiDetElementRoadMakerData_xk holds event dependent data used by SiDetElementRoadMaker_xk.

Author
gobli.nosp@m.rsc@.nosp@m.cern..nosp@m.ch

Definition at line 28 of file SiDetElementRoadMakerData_xk.h.

Member Typedef Documentation

◆ ElementUsageTracker

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.

Constructor & Destructor Documentation

◆ SiDetElementRoadMakerData_xk()

InDet::SiDetElementRoadMakerData_xk::SiDetElementRoadMakerData_xk ( )
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.

35 {}

◆ ~SiDetElementRoadMakerData_xk()

InDet::SiDetElementRoadMakerData_xk::~SiDetElementRoadMakerData_xk ( )
default

Default destructor.

Member Function Documentation

◆ resetUsageTracker()

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.

4  {
5  for (auto & outerVec : elementUsageTracker){
6  for (auto & innerVec : outerVec){
7  std::fill(innerVec.begin(), innerVec.end(), false);
8  }
9  }
10 }

Member Data Documentation

◆ elementUsageTracker

ElementUsageTracker InDet::SiDetElementRoadMakerData_xk::elementUsageTracker

Definition at line 56 of file SiDetElementRoadMakerData_xk.h.

◆ isInitialized

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.


The documentation for this class was generated from the following files:
InDet::SiDetElementRoadMakerData_xk::elementUsageTracker
ElementUsageTracker elementUsageTracker
Definition: SiDetElementRoadMakerData_xk.h:56
fill
void fill(H5::Group &out_file, size_t iterations)
Definition: test-hdf5-writer.cxx:95