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

Load pulled clusters, for a given read-out-frame, in a dedicated container. More...

#include <iosfwd>
#include <string>
#include <unordered_map>
#include <vector>
#include <gsl/gsl>
#include "MFTTracking/Tracker.h"
#include "MFTTracking/ROframe.h"
#include "ITSMFTBase/SegmentationAlpide.h"
#include "DataFormatsITSMFT/ROFRecord.h"
#include "ReconstructionDataFormats/BaseCluster.h"

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::itsmft
 
namespace  o2::mft
 
namespace  o2::mft::ioutils
 

Functions

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)
 
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)
 
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>>
 

Variables

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

Detailed Description

Load pulled clusters, for a given read-out-frame, in a dedicated container.

Definition in file IOUtils.h.