ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
LPhi_Storage Struct Reference

#include <TrigTrackSeedGenerator.h>

Collaboration diagram for LPhi_Storage:

Public Member Functions

 LPhi_Storage (int nPhiSectors, int nLayers)
 
void addSpacePoint (int phiIdx, int layerId, const INDEXED_SP *p)
 
void reset ()
 
void sortSpacePoints (const std::vector< TrigInDetSiLayer > &layerGeometry)
 
void sortSpacePoints2 (const std::vector< TrigInDetSiLayer > &layerGeometry)
 

Public Attributes

std::vector< L_PHI_SECTORm_layers
 

Detailed Description

Definition at line 198 of file TrigTrackSeedGenerator.h.

Constructor & Destructor Documentation

◆ LPhi_Storage()

LPhi_Storage::LPhi_Storage ( int  nPhiSectors,
int  nLayers 
)
inline

Definition at line 202 of file TrigTrackSeedGenerator.h.

202  {
203  m_layers.reserve(nLayers);
204  for(int i = 0;i<nLayers;i++) m_layers.push_back(L_PHI_SECTOR(nPhiSectors));
205  }

Member Function Documentation

◆ addSpacePoint()

void LPhi_Storage::addSpacePoint ( int  phiIdx,
int  layerId,
const INDEXED_SP p 
)
inline

Definition at line 207 of file TrigTrackSeedGenerator.h.

207  {
208  m_layers[layerId].addSpacePoint(phiIdx, p);
209  }

◆ reset()

void LPhi_Storage::reset ( )
inline

Definition at line 211 of file TrigTrackSeedGenerator.h.

211  {
213  if((*it).m_nSP==0) continue;
214  (*it).reset();
215  }
216  }

◆ sortSpacePoints()

void LPhi_Storage::sortSpacePoints ( const std::vector< TrigInDetSiLayer > &  layerGeometry)
inline

Definition at line 218 of file TrigTrackSeedGenerator.h.

218  {
219  int layerId = 0;
220  for(std::vector<L_PHI_SECTOR>::iterator it=m_layers.begin();it!=m_layers.end();++it,layerId++) {
221  if((*it).m_nSP==0) continue;
222  (*it).sortSpacePoints(layerGeometry[layerId].m_type==0);
223  }
224  }

◆ sortSpacePoints2()

void LPhi_Storage::sortSpacePoints2 ( const std::vector< TrigInDetSiLayer > &  layerGeometry)
inline

Definition at line 226 of file TrigTrackSeedGenerator.h.

226  {
227  int layerId = 0;
228  for(std::vector<L_PHI_SECTOR>::iterator it=m_layers.begin();it!=m_layers.end();++it,layerId++) {
229  if((*it).m_nSP==0) continue;
230  (*it).sortSpacePoints(layerGeometry[layerId].m_type==0, layerGeometry[layerId].m_refCoord > 0);
231  }
232  }

Member Data Documentation

◆ m_layers

std::vector<L_PHI_SECTOR> LPhi_Storage::m_layers

Definition at line 234 of file TrigTrackSeedGenerator.h.


The documentation for this struct was generated from the following file:
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
LPhi_Storage::m_layers
std::vector< L_PHI_SECTOR > m_layers
Definition: TrigTrackSeedGenerator.h:234
skel.it
it
Definition: skel.GENtoEVGEN.py:396
LPhiSector
Definition: TrigTrackSeedGenerator.h:32
m_type
TokenType m_type
the type
Definition: TProperty.cxx:44
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
lumiFormat.i
int i
Definition: lumiFormat.py:85