StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
StEEmcPointMap_t Class Reference

#include <StEEmcPointMap.h>

Public Member Functions

 StEEmcPointMap_t (Bool_t crossSectorBoundaries=1)
Float_t getStripDCA (Float_t x, Float_t y, Short_t stripGeoId) const
Float_t getTowerDCA (Float_t x, Float_t y, Short_t towerGeoId) const
Short_t getStripsNearestPoint (Float_t x, Float_t y, Float_t r=10) const
void getStripsNearPoint (Float_t x, Float_t y, Float_t r, std::set< Short_t > &stripSet) const
Short_t getSectorOfPoint (Float_t x, Float_t y)

Static Public Member Functions

static void getStripEndPoints (Float_t stripGeoId, Float_t &x1, Float_t &y1, Float_t &x2, Float_t &y2)
static void getStripLineParam (Float_t stripGeoId, Float_t &a, Float_t &b)
static void convertStripUVtoXY (Short_t sector, Float_t u, Float_t v, Float_t &x, Float_t &y)
static Short_t getTowerNearestPoint (Float_t x, Float_t y)
static void getTowersNearPoint (Float_t x, Float_t y, Float_t r, std::set< Short_t > &towerSet)
static StEEmcPointMap_tinstance ()

Protected Member Functions

void addSmdContribution (Float_t x, Float_t y, Float_t r, Short_t sector, Char_t layer, Short_t sectorSide, std::set< Short_t > &stripSet) const

Static Protected Member Functions

static void loadData ()

Protected Attributes

Bool_t mCrossSectorBoundaries

Static Protected Attributes

static const

Detailed Description

Stephen Gliske

See description in the header file.

TODO: remove highest strips from "shorter" (edge) sectors

Stephen Gliske

Class to look up sets of strips and towers given nearness to a specified (x,y) point (assumed to be on the endcap). Also provides endpoints for strip based on geoId, and distance of closest approach (dca) between a point and a strip or tower.

Definition at line 22 of file StEEmcPointMap.h.

The documentation for this class was generated from the following files: