Project
Loading...
Searching...
No Matches
o2::mft::ioutils Namespace Reference

Functions

template<typename T >
int loadROFrameData (const o2::itsmft::ROFRecord &rof, ROframe< T > &events, gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, const itsmft::TopologyDictionary *dict, const dataformats::MCTruthContainer< MCCompLabel > *mClsLabels=nullptr, const o2::mft::Tracker< T > *tracker=nullptr)
 
template<typename T >
int loadROFrameData (const o2::itsmft::ROFRecord &rof, ROframe< T > &events, gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, const itsmft::TopologyDictionary *dict, const dataformats::MCTruthContainer< MCCompLabel > *mClsLabels, const o2::mft::Tracker< T > *tracker, ROFFilter &filter)
 
void convertCompactClusters (gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, std::vector< o2::BaseCluster< float > > &output, const itsmft::TopologyDictionary *dict)
 convert compact clusters to 3D spacepoints into std::vector<o2::BaseCluster<float>>
 

Variables

constexpr float DefClusErrorRow = o2::itsmft::SegmentationAlpide::PitchRow * 0.5
 
constexpr float DefClusErrorCol = o2::itsmft::SegmentationAlpide::PitchCol * 0.5
 
constexpr float DefClusError2Row = DefClusErrorRow * DefClusErrorRow
 
constexpr float DefClusError2Col = DefClusErrorCol * DefClusErrorCol
 

Function Documentation

◆ convertCompactClusters()

void o2::mft::ioutils::convertCompactClusters ( gsl::span< const itsmft::CompClusterExt clusters,
gsl::span< const unsigned char >::iterator &  pattIt,
std::vector< o2::BaseCluster< float > > &  output,
const itsmft::TopologyDictionary dict 
)

convert compact clusters to 3D spacepoints into std::vector<o2::BaseCluster<float>>

Definition at line 111 of file IOUtils.cxx.

◆ loadROFrameData() [1/2]

template<typename T >
int o2::mft::ioutils::loadROFrameData ( const o2::itsmft::ROFRecord rof,
ROframe< T > &  events,
gsl::span< const itsmft::CompClusterExt clusters,
gsl::span< const unsigned char >::iterator &  pattIt,
const itsmft::TopologyDictionary dict,
const dataformats::MCTruthContainer< MCCompLabel > *  mClsLabels,
const o2::mft::Tracker< T > *  tracker,
ROFFilter filter 
)

Definition at line 41 of file IOUtils.cxx.

◆ loadROFrameData() [2/2]

template<typename T >
int o2::mft::ioutils::loadROFrameData ( const o2::itsmft::ROFRecord rof,
ROframe< T > &  events,
gsl::span< const itsmft::CompClusterExt clusters,
gsl::span< const unsigned char >::iterator &  pattIt,
const itsmft::TopologyDictionary dict,
const dataformats::MCTruthContainer< MCCompLabel > *  mClsLabels = nullptr,
const o2::mft::Tracker< T > *  tracker = nullptr 
)

Definition at line 148 of file IOUtils.cxx.

Variable Documentation

◆ DefClusError2Col

constexpr float o2::mft::ioutils::DefClusError2Col = DefClusErrorCol * DefClusErrorCol
constexpr

Definition at line 57 of file IOUtils.h.

◆ DefClusError2Row

constexpr float o2::mft::ioutils::DefClusError2Row = DefClusErrorRow * DefClusErrorRow
constexpr

Definition at line 56 of file IOUtils.h.

◆ DefClusErrorCol

constexpr float o2::mft::ioutils::DefClusErrorCol = o2::itsmft::SegmentationAlpide::PitchCol * 0.5
constexpr

Definition at line 55 of file IOUtils.h.

◆ DefClusErrorRow

constexpr float o2::mft::ioutils::DefClusErrorRow = o2::itsmft::SegmentationAlpide::PitchRow * 0.5
constexpr

Definition at line 54 of file IOUtils.h.