MyMarlinTPC  170316
Public Member Functions | Private Attributes | List of all members
marlintpc::tp_PixelBin Class Reference

TimePix (macro) pixel bin. More...

#include <TimePixLocalRoadSearchProcessor.h>

Public Member Functions

 tp_PixelBin (const int, const int, pixelListType &, const int, const double, const double)
 Construct TimePix (macro) pixel bin. More...
 
 ~tp_PixelBin ()
 Destructor. More...
 
void print () const
 Print. More...
 
int getId () const
 Get Id. More...
 
int getNumPix () const
 Get (number of) pixels. More...
 
int getNumMPix () const
 Get (number of) pixels. More...
 
macroPixelListType getMacroPixels () const
 Get macro pixels. More...
 

Private Attributes

const int _binId
 bin Id (row, col) More...
 
const int _size
 size More...
 
int _numPix
 number of pixels in macro pixels More...
 
macroPixelListType _macroPixels
 macro pixel More...
 

Detailed Description

TimePix (macro) pixel bin.

Definition at line 218 of file TimePixLocalRoadSearchProcessor.h.

Constructor & Destructor Documentation

◆ tp_PixelBin()

marlintpc::tp_PixelBin::tp_PixelBin ( const int  iBin,
const int  binId,
pixelListType pixelList,
const int  mpSize,
const double  zCoreWidth,
const double  zRoadWidth 
)

Construct TimePix (macro) pixel bin.

Cluster pixels in Z. Find cluster core (e.g. +/-2.0*sigmaZ width) with sliding window, collect all pixels in road (e.g. +/-3.5*sigmaZ width) around core.

Parameters
[in]iBinbin number
[in]binIdbin ID
[in]pixelListlist of pixels
[in]mpSizemacro pixel size
[in]zCoreWidthcore width in Z
[in]zRoadWidthroad width in Z

Definition at line 589 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels, and _numPix.

◆ ~tp_PixelBin()

marlintpc::tp_PixelBin::~tp_PixelBin ( )

Destructor.

Definition at line 683 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels.

Member Function Documentation

◆ getId()

int marlintpc::tp_PixelBin::getId ( ) const

Get Id.

Definition at line 697 of file TimePixLocalRoadSearchProcessor.cc.

References _binId.

◆ getMacroPixels()

macroPixelListType marlintpc::tp_PixelBin::getMacroPixels ( ) const

Get macro pixels.

Definition at line 712 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels.

◆ getNumMPix()

int marlintpc::tp_PixelBin::getNumMPix ( ) const

Get (number of) pixels.

Definition at line 707 of file TimePixLocalRoadSearchProcessor.cc.

References _macroPixels.

◆ getNumPix()

int marlintpc::tp_PixelBin::getNumPix ( ) const

Get (number of) pixels.

Definition at line 702 of file TimePixLocalRoadSearchProcessor.cc.

References _numPix.

◆ print()

void marlintpc::tp_PixelBin::print ( ) const

Print.

Definition at line 692 of file TimePixLocalRoadSearchProcessor.cc.

References _binId, _macroPixels, and _numPix.

Member Data Documentation

◆ _binId

const int marlintpc::tp_PixelBin::_binId
private

bin Id (row, col)

Definition at line 229 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getId(), and print().

◆ _macroPixels

macroPixelListType marlintpc::tp_PixelBin::_macroPixels
private

macro pixel

Definition at line 232 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getMacroPixels(), getNumMPix(), print(), tp_PixelBin(), and ~tp_PixelBin().

◆ _numPix

int marlintpc::tp_PixelBin::_numPix
private

number of pixels in macro pixels

Definition at line 231 of file TimePixLocalRoadSearchProcessor.h.

Referenced by getNumPix(), print(), and tp_PixelBin().

◆ _size

const int marlintpc::tp_PixelBin::_size
private

size

Definition at line 230 of file TimePixLocalRoadSearchProcessor.h.


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