CMS 3D CMS Logo

Classes | Namespaces | Functions
ModuleMethods.h File Reference
#include <map>
#include <iostream>
#include "RecoTracker/LSTCore/interface/Common.h"
#include "RecoTracker/LSTCore/interface/ModulesSoA.h"
#include "RecoTracker/LSTCore/interface/ModulesHostCollection.h"
#include "RecoTracker/LSTCore/interface/TiltedGeometry.h"
#include "RecoTracker/LSTCore/interface/EndcapGeometry.h"
#include "RecoTracker/LSTCore/interface/ModuleConnectionMap.h"
#include "RecoTracker/LSTCore/interface/PixelMap.h"
#include "HeterogeneousCore/AlpakaInterface/interface/host.h"
#include "HeterogeneousCore/AlpakaInterface/interface/memory.h"

Go to the source code of this file.

Classes

struct  lst::ModuleMetaData
 

Namespaces

 lst
 

Functions

void lst::fillConnectedModuleArrayExplicit (Modules modules, ModuleMetaData const &mmd, ModuleConnectionMap const &moduleConnectionMap)
 
void lst::fillMapArraysExplicit (Modules modules, ModuleMetaData const &mmd)
 
std::tuple< unsigned int, std::vector< unsigned int >, unsigned int, std::vector< unsigned int >, unsigned int, std::vector< unsigned int > > lst::getConnectedPixels (uint16_t nModules, unsigned int &nPixels, PixelMap &pixelMapping, MapPLStoLayer const &pLStoLayer)
 
void lst::loadCentroidsFromFile (const char *filePath, ModuleMetaData &mmd, uint16_t &nModules)
 
std::shared_ptr< ModulesHostCollection > lst::loadModulesFromFile (MapPLStoLayer const &pLStoLayer, const char *moduleMetaDataFilePath, uint16_t &nModules, uint16_t &nLowerModules, unsigned int &nPixels, PixelMap &pixelMapping, const EndcapGeometry &endcapGeometry, const TiltedGeometry &tiltedGeometry, const ModuleConnectionMap &moduleConnectionMap)
 
bool lst::parseIsInverted (short subdet, short side, short module, short layer)
 
bool lst::parseIsLower (bool isInvertedx, unsigned int detId)
 
unsigned int lst::parsePartnerModuleId (unsigned int detId, bool isLowerx, bool isInvertedx)
 
void lst::setDerivedQuantities (unsigned int detId, unsigned short &layer, unsigned short &ring, unsigned short &rod, unsigned short &module, unsigned short &subdet, unsigned short &side, float m_x, float m_y, float m_z, float &eta, float &r)