Project
Loading...
Searching...
No Matches
IOUtils.h File Reference

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::dataformats
 Definition of a container to keep/associate and arbitrary number of labels associated to an index with contiguous or non-contiguous label storage.
 
namespace  o2::its
 
namespace  o2::its::ioutils
 

Functions

void o2::its::ioutils::loadEventData (ROframe &events, gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, const itsmft::TopologyDictionary *dict, const dataformats::MCTruthContainer< MCCompLabel > *clsLabels=nullptr)
 
int o2::its::ioutils::loadROFrameData (const o2::itsmft::ROFRecord &rof, ROframe &events, gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, const itsmft::TopologyDictionary *dict, const dataformats::MCTruthContainer< MCCompLabel > *mClsLabels=nullptr)
 
void o2::its::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
 
std::vector< std::unordered_map< int, Label > > o2::its::ioutils::loadLabels (const int, const std::string &)
 
void o2::its::ioutils::writeRoadsReport (std::ofstream &, std::ofstream &, std::ofstream &, const std::vector< std::vector< Road< 5 > > > &, const std::unordered_map< int, Label > &)
 
template<class iterator , typename T >
o2::math_utils::Point3D< T > o2::its::ioutils::extractClusterData (const itsmft::CompClusterExt &c, iterator &iter, const itsmft::TopologyDictionary *dict, T &sig2y, T &sig2z)
 
template<class iterator , typename T >
std::array< T, 3 > o2::its::ioutils::extractClusterDataA (const itsmft::CompClusterExt &c, iterator &iter, const itsmft::TopologyDictionary *dict, T &sig2y, T &sig2z)
 

Variables

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