Project
Loading...
Searching...
No Matches
o2::itsmft::DigitPixelReader Class Reference

#include <DigitPixelReader.h>

Inherits o2::itsmft::PixelReader.

Public Member Functions

 DigitPixelReader ()=default
 
 ~DigitPixelReader () override
 
const auto getMC2ROFRecords () const
 
void setMC2ROFRecords (const gsl::span< const o2::itsmft::MC2ROFRecord > a)
 
void setROFRecords (const gsl::span< const o2::itsmft::ROFRecord > a)
 
void setDigits (const gsl::span< const o2::itsmft::Digit > a)
 
void setDigitsMCTruth (const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > *m)
 
const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > * getDigitsMCTruth () const override
 
bool getNextChipData (ChipPixelData &chipData) override
 
ChipPixelDatagetNextChipData (std::vector< ChipPixelData > &chipDataVec) override
 
void init () override
 
int decodeNextTrigger () override
 
void openInput (const std::string rawInput, o2::detectors::DetID det)
 
bool readNextEntry ()
 
void clear ()
 
uint16_t getSquashingDepth ()
 
void setSquashingDepth (const int16_t v)
 
uint16_t getSquashingDist ()
 
void setSquashingDist (const int16_t v)
 
int getMaxBCSeparationToSquash () const
 
void setMaxBCSeparationToSquash (int n)
 
void squashNeighbours (const uint16_t &iROF, const int &iDigit, const int &maxDigits, ChipPixelData &chipData)
 
- Public Member Functions inherited from o2::itsmft::PixelReader
 PixelReader ()=default
 Transient data for single fired pixel.
 
virtual ~PixelReader ()=default
 
 PixelReader (const PixelReader &cluster)=delete
 
PixelReaderoperator= (const PixelReader &src)=delete
 
const o2::InteractionRecordgetInteractionRecordHB () const
 
const o2::InteractionRecordgetInteractionRecord () const
 
uint32_t getTrigger () const
 
bool getDecodeNextAuto () const
 
void setDecodeNextAuto (bool v)
 

Additional Inherited Members

- Protected Member Functions inherited from o2::itsmft::PixelReader
 ClassDef (PixelReader, 1)
 
- Protected Attributes inherited from o2::itsmft::PixelReader
o2::InteractionRecord mInteractionRecord = {}
 
o2::InteractionRecord mInteractionRecordHB = {}
 
uint32_t mTrigger = 0
 
bool mDecodeNextAuto = true
 

Detailed Description

Definition at line 36 of file DigitPixelReader.h.

Constructor & Destructor Documentation

◆ DigitPixelReader()

o2::itsmft::DigitPixelReader::DigitPixelReader ( )
default

◆ ~DigitPixelReader()

DigitPixelReader::~DigitPixelReader ( )
override

Definition at line 28 of file DigitPixelReader.cxx.

Member Function Documentation

◆ clear()

void DigitPixelReader::clear ( )

Definition at line 320 of file DigitPixelReader.cxx.

◆ decodeNextTrigger()

int DigitPixelReader::decodeNextTrigger ( )
overridevirtual

Implements o2::itsmft::PixelReader.

Definition at line 35 of file DigitPixelReader.cxx.

◆ getDigitsMCTruth()

const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > * o2::itsmft::DigitPixelReader::getDigitsMCTruth ( ) const
inlineoverridevirtual

Reimplemented from o2::itsmft::PixelReader.

Definition at line 74 of file DigitPixelReader.h.

◆ getMaxBCSeparationToSquash()

int o2::itsmft::DigitPixelReader::getMaxBCSeparationToSquash ( ) const
inline

Definition at line 109 of file DigitPixelReader.h.

◆ getMC2ROFRecords()

const auto o2::itsmft::DigitPixelReader::getMC2ROFRecords ( ) const
inline

Definition at line 42 of file DigitPixelReader.h.

◆ getNextChipData() [1/2]

bool DigitPixelReader::getNextChipData ( ChipPixelData chipData)
overridevirtual

Implements o2::itsmft::PixelReader.

Definition at line 71 of file DigitPixelReader.cxx.

◆ getNextChipData() [2/2]

ChipPixelData * DigitPixelReader::getNextChipData ( std::vector< ChipPixelData > &  chipDataVec)
overridevirtual

Implements o2::itsmft::PixelReader.

Definition at line 55 of file DigitPixelReader.cxx.

◆ getSquashingDepth()

uint16_t o2::itsmft::DigitPixelReader::getSquashingDepth ( )
inline

Definition at line 97 of file DigitPixelReader.h.

◆ getSquashingDist()

uint16_t o2::itsmft::DigitPixelReader::getSquashingDist ( )
inline

Definition at line 103 of file DigitPixelReader.h.

◆ init()

void o2::itsmft::DigitPixelReader::init ( )
inlineoverridevirtual

Implements o2::itsmft::PixelReader.

Definition at line 82 of file DigitPixelReader.h.

◆ openInput()

void DigitPixelReader::openInput ( const std::string  rawInput,
o2::detectors::DetID  det 
)

Definition at line 264 of file DigitPixelReader.cxx.

◆ readNextEntry()

bool DigitPixelReader::readNextEntry ( )

Definition at line 298 of file DigitPixelReader.cxx.

◆ setDigits()

void o2::itsmft::DigitPixelReader::setDigits ( const gsl::span< const o2::itsmft::Digit a)
inline

Definition at line 58 of file DigitPixelReader.h.

◆ setDigitsMCTruth()

void o2::itsmft::DigitPixelReader::setDigitsMCTruth ( const o2::dataformats::ConstMCTruthContainerView< o2::MCCompLabel > *  m)
inline

Definition at line 69 of file DigitPixelReader.h.

◆ setMaxBCSeparationToSquash()

void o2::itsmft::DigitPixelReader::setMaxBCSeparationToSquash ( int  n)
inline

Definition at line 110 of file DigitPixelReader.h.

◆ setMC2ROFRecords()

void o2::itsmft::DigitPixelReader::setMC2ROFRecords ( const gsl::span< const o2::itsmft::MC2ROFRecord a)
inline

Definition at line 47 of file DigitPixelReader.h.

◆ setROFRecords()

void o2::itsmft::DigitPixelReader::setROFRecords ( const gsl::span< const o2::itsmft::ROFRecord a)
inline

Definition at line 52 of file DigitPixelReader.h.

◆ setSquashingDepth()

void o2::itsmft::DigitPixelReader::setSquashingDepth ( const int16_t  v)
inline

Definition at line 98 of file DigitPixelReader.h.

◆ setSquashingDist()

void o2::itsmft::DigitPixelReader::setSquashingDist ( const int16_t  v)
inline

Definition at line 104 of file DigitPixelReader.h.

◆ squashNeighbours()

void DigitPixelReader::squashNeighbours ( const uint16_t &  iROF,
const int iDigit,
const int maxDigits,
ChipPixelData chipData 
)

Definition at line 236 of file DigitPixelReader.cxx.


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