CbmRoot
Loading...
Searching...
No Matches
cbm::algo::StorableRecoResults Class Reference

#include <StorableRecoResults.h>

Collaboration diagram for cbm::algo::StorableRecoResults:
[legend]

Public Types

using TrackHitIndexContainer_t = ca::Vector<std::vector<std::pair<uint32_t, uint32_t>>>
 

Public Member Functions

 StorableRecoResults ()=default
 Default constructor (required by boost::serialization)
 
 StorableRecoResults (uint64_t tsIndex, uint64_t tsStartTime)
 
uint64_t TsIndex () const
 Index of the timeslice during the run.
 
uint64_t TsStartTime () const
 Start time of the timeslice.
 
size_t SizeBytes () const
 Total size in bytes.
 
std::vector< CbmBmonDigi > & BmonDigis ()
 
const std::vector< CbmBmonDigi > & BmonDigis () const
 
std::vector< CbmStsDigi > & StsDigis ()
 
const std::vector< CbmStsDigi > & StsDigis () const
 
std::vector< CbmMuchDigi > & MuchDigis ()
 
const std::vector< CbmMuchDigi > & MuchDigis () const
 
std::vector< CbmTrdDigi > & Trd2dDigis ()
 
const std::vector< CbmTrdDigi > & Trd2dDigis () const
 
std::vector< CbmTrdDigi > & TrdDigis ()
 
const std::vector< CbmTrdDigi > & TrdDigis () const
 
std::vector< CbmTofDigi > & TofDigis ()
 
const std::vector< CbmTofDigi > & TofDigis () const
 
std::vector< CbmRichDigi > & RichDigis ()
 
const std::vector< CbmRichDigi > & RichDigis () const
 
std::vector< CbmDigiEvent > & DigiEvents ()
 
const std::vector< CbmDigiEvent > & DigiEvents () const
 
PartitionedVector< sts::Cluster > & StsClusters ()
 
const PartitionedVector< sts::Cluster > & StsClusters () const
 
PartitionedVector< sts::Hit > & StsHits ()
 
const PartitionedVector< sts::Hit > & StsHits () const
 
PartitionedVector< tof::Hit > & TofHits ()
 
const PartitionedVector< tof::Hit > & TofHits () const
 
PartitionedVector< trd::Hit > & TrdHits ()
 
const PartitionedVector< trd::Hit > & TrdHits () const
 
ca::Vector< ca::Track > & Tracks ()
 
const ca::Vector< ca::Track > & Tracks () const
 
TrackHitIndexContainer_tTrackStsHitIndices ()
 
const TrackHitIndexContainer_tTrackStsHitIndices () const
 
TrackHitIndexContainer_tTrackTofHitIndices ()
 
const TrackHitIndexContainer_tTrackTofHitIndices () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, unsigned int)
 

Private Attributes

uint64_t fTsIndex = UINT64_MAX
 
uint64_t fTsStartTime = UINT64_MAX
 
std::vector< CbmBmonDigifBmonDigis
 
std::vector< CbmStsDigifStsDigis
 
std::vector< CbmMuchDigifMuchDigis
 
std::vector< CbmTrdDigifTrd2dDigis
 
std::vector< CbmTrdDigifTrdDigis
 
std::vector< CbmTofDigifTofDigis
 
std::vector< CbmRichDigifRichDigis
 
std::vector< CbmDigiEventfDigiEvents
 
PartitionedVector< sts::ClusterfStsClusters
 
PartitionedVector< sts::HitfStsHits
 
PartitionedVector< tof::HitfTofHits
 
PartitionedVector< trd::HitfTrdHits
 
ca::Vector< ca::TrackfTracks
 
TrackHitIndexContainer_t fTrackStsHitIndices
 STS hit indices of tracks.
 
TrackHitIndexContainer_t fTrackTofHitIndices
 TOF hit indices of tracks.
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 25 of file StorableRecoResults.h.

Member Typedef Documentation

◆ TrackHitIndexContainer_t

using cbm::algo::StorableRecoResults::TrackHitIndexContainer_t = ca::Vector<std::vector<std::pair<uint32_t, uint32_t>>>

Definition at line 28 of file StorableRecoResults.h.

Constructor & Destructor Documentation

◆ StorableRecoResults() [1/2]

cbm::algo::StorableRecoResults::StorableRecoResults ( )
default

Default constructor (required by boost::serialization)

◆ StorableRecoResults() [2/2]

cbm::algo::StorableRecoResults::StorableRecoResults ( uint64_t tsIndex,
uint64_t tsStartTime )
inline

Definition at line 35 of file StorableRecoResults.h.

Member Function Documentation

◆ BmonDigis() [1/2]

std::vector< CbmBmonDigi > & cbm::algo::StorableRecoResults::BmonDigis ( )
inline

Definition at line 52 of file StorableRecoResults.h.

References fBmonDigis.

◆ BmonDigis() [2/2]

const std::vector< CbmBmonDigi > & cbm::algo::StorableRecoResults::BmonDigis ( ) const
inline

Definition at line 53 of file StorableRecoResults.h.

References fBmonDigis.

◆ DigiEvents() [1/2]

std::vector< CbmDigiEvent > & cbm::algo::StorableRecoResults::DigiEvents ( )
inline

Definition at line 73 of file StorableRecoResults.h.

References fDigiEvents.

◆ DigiEvents() [2/2]

const std::vector< CbmDigiEvent > & cbm::algo::StorableRecoResults::DigiEvents ( ) const
inline

Definition at line 74 of file StorableRecoResults.h.

References fDigiEvents.

◆ MuchDigis() [1/2]

std::vector< CbmMuchDigi > & cbm::algo::StorableRecoResults::MuchDigis ( )
inline

Definition at line 58 of file StorableRecoResults.h.

References fMuchDigis.

◆ MuchDigis() [2/2]

const std::vector< CbmMuchDigi > & cbm::algo::StorableRecoResults::MuchDigis ( ) const
inline

Definition at line 59 of file StorableRecoResults.h.

References fMuchDigis.

◆ RichDigis() [1/2]

std::vector< CbmRichDigi > & cbm::algo::StorableRecoResults::RichDigis ( )
inline

Definition at line 70 of file StorableRecoResults.h.

References fRichDigis.

◆ RichDigis() [2/2]

const std::vector< CbmRichDigi > & cbm::algo::StorableRecoResults::RichDigis ( ) const
inline

Definition at line 71 of file StorableRecoResults.h.

References fRichDigis.

◆ serialize()

template<class Archive >
void cbm::algo::StorableRecoResults::serialize ( Archive & ar,
unsigned int  )
inlineprivate

◆ SizeBytes()

size_t StorableRecoResults::SizeBytes ( ) const

◆ StsClusters() [1/2]

PartitionedVector< sts::Cluster > & cbm::algo::StorableRecoResults::StsClusters ( )
inline

Definition at line 76 of file StorableRecoResults.h.

References fStsClusters.

Referenced by cbm::explore::Histograms::FillHistos().

◆ StsClusters() [2/2]

const PartitionedVector< sts::Cluster > & cbm::algo::StorableRecoResults::StsClusters ( ) const
inline

Definition at line 77 of file StorableRecoResults.h.

References fStsClusters.

◆ StsDigis() [1/2]

std::vector< CbmStsDigi > & cbm::algo::StorableRecoResults::StsDigis ( )
inline

Definition at line 55 of file StorableRecoResults.h.

References fStsDigis.

Referenced by cbm::explore::Histograms::FillHistos().

◆ StsDigis() [2/2]

const std::vector< CbmStsDigi > & cbm::algo::StorableRecoResults::StsDigis ( ) const
inline

Definition at line 56 of file StorableRecoResults.h.

References fStsDigis.

◆ StsHits() [1/2]

PartitionedVector< sts::Hit > & cbm::algo::StorableRecoResults::StsHits ( )
inline

Definition at line 79 of file StorableRecoResults.h.

References fStsHits.

Referenced by cbm::explore::Histograms::FillHistos().

◆ StsHits() [2/2]

const PartitionedVector< sts::Hit > & cbm::algo::StorableRecoResults::StsHits ( ) const
inline

Definition at line 80 of file StorableRecoResults.h.

References fStsHits.

◆ TofDigis() [1/2]

std::vector< CbmTofDigi > & cbm::algo::StorableRecoResults::TofDigis ( )
inline

Definition at line 67 of file StorableRecoResults.h.

References fTofDigis.

◆ TofDigis() [2/2]

const std::vector< CbmTofDigi > & cbm::algo::StorableRecoResults::TofDigis ( ) const
inline

Definition at line 68 of file StorableRecoResults.h.

References fTofDigis.

◆ TofHits() [1/2]

PartitionedVector< tof::Hit > & cbm::algo::StorableRecoResults::TofHits ( )
inline

Definition at line 82 of file StorableRecoResults.h.

References fTofHits.

◆ TofHits() [2/2]

const PartitionedVector< tof::Hit > & cbm::algo::StorableRecoResults::TofHits ( ) const
inline

Definition at line 83 of file StorableRecoResults.h.

References fTofHits.

◆ Tracks() [1/2]

ca::Vector< ca::Track > & cbm::algo::StorableRecoResults::Tracks ( )
inline

Definition at line 88 of file StorableRecoResults.h.

References fTracks.

◆ Tracks() [2/2]

const ca::Vector< ca::Track > & cbm::algo::StorableRecoResults::Tracks ( ) const
inline

Definition at line 89 of file StorableRecoResults.h.

References fTracks.

◆ TrackStsHitIndices() [1/2]

TrackHitIndexContainer_t & cbm::algo::StorableRecoResults::TrackStsHitIndices ( )
inline

Definition at line 91 of file StorableRecoResults.h.

References fTrackStsHitIndices.

◆ TrackStsHitIndices() [2/2]

const TrackHitIndexContainer_t & cbm::algo::StorableRecoResults::TrackStsHitIndices ( ) const
inline

Definition at line 92 of file StorableRecoResults.h.

References fTrackStsHitIndices.

◆ TrackTofHitIndices() [1/2]

TrackHitIndexContainer_t & cbm::algo::StorableRecoResults::TrackTofHitIndices ( )
inline

Definition at line 94 of file StorableRecoResults.h.

References fTrackTofHitIndices.

◆ TrackTofHitIndices() [2/2]

const TrackHitIndexContainer_t & cbm::algo::StorableRecoResults::TrackTofHitIndices ( ) const
inline

Definition at line 95 of file StorableRecoResults.h.

References fTrackTofHitIndices.

◆ Trd2dDigis() [1/2]

std::vector< CbmTrdDigi > & cbm::algo::StorableRecoResults::Trd2dDigis ( )
inline

Definition at line 61 of file StorableRecoResults.h.

References fTrd2dDigis.

◆ Trd2dDigis() [2/2]

const std::vector< CbmTrdDigi > & cbm::algo::StorableRecoResults::Trd2dDigis ( ) const
inline

Definition at line 62 of file StorableRecoResults.h.

References fTrd2dDigis.

◆ TrdDigis() [1/2]

std::vector< CbmTrdDigi > & cbm::algo::StorableRecoResults::TrdDigis ( )
inline

Definition at line 64 of file StorableRecoResults.h.

References fTrdDigis.

◆ TrdDigis() [2/2]

const std::vector< CbmTrdDigi > & cbm::algo::StorableRecoResults::TrdDigis ( ) const
inline

Definition at line 65 of file StorableRecoResults.h.

References fTrdDigis.

◆ TrdHits() [1/2]

PartitionedVector< trd::Hit > & cbm::algo::StorableRecoResults::TrdHits ( )
inline

Definition at line 85 of file StorableRecoResults.h.

References fTrdHits.

◆ TrdHits() [2/2]

const PartitionedVector< trd::Hit > & cbm::algo::StorableRecoResults::TrdHits ( ) const
inline

Definition at line 86 of file StorableRecoResults.h.

References fTrdHits.

◆ TsIndex()

uint64_t cbm::algo::StorableRecoResults::TsIndex ( ) const
inline

Index of the timeslice during the run.

Definition at line 40 of file StorableRecoResults.h.

References fTsIndex.

◆ TsStartTime()

uint64_t cbm::algo::StorableRecoResults::TsStartTime ( ) const
inline

Start time of the timeslice.

Definition at line 45 of file StorableRecoResults.h.

References fTsStartTime.

Friends And Related Symbol Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 130 of file StorableRecoResults.h.

Member Data Documentation

◆ fBmonDigis

std::vector<CbmBmonDigi> cbm::algo::StorableRecoResults::fBmonDigis
private

Definition at line 102 of file StorableRecoResults.h.

Referenced by BmonDigis(), BmonDigis(), serialize(), and SizeBytes().

◆ fDigiEvents

std::vector<CbmDigiEvent> cbm::algo::StorableRecoResults::fDigiEvents
private

Definition at line 111 of file StorableRecoResults.h.

Referenced by DigiEvents(), DigiEvents(), serialize(), and SizeBytes().

◆ fMuchDigis

std::vector<CbmMuchDigi> cbm::algo::StorableRecoResults::fMuchDigis
private

Definition at line 104 of file StorableRecoResults.h.

Referenced by MuchDigis(), MuchDigis(), serialize(), and SizeBytes().

◆ fRichDigis

std::vector<CbmRichDigi> cbm::algo::StorableRecoResults::fRichDigis
private

Definition at line 108 of file StorableRecoResults.h.

Referenced by RichDigis(), RichDigis(), serialize(), and SizeBytes().

◆ fStsClusters

PartitionedVector<sts::Cluster> cbm::algo::StorableRecoResults::fStsClusters
private

Definition at line 114 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), StsClusters(), and StsClusters().

◆ fStsDigis

std::vector<CbmStsDigi> cbm::algo::StorableRecoResults::fStsDigis
private

Definition at line 103 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), StsDigis(), and StsDigis().

◆ fStsHits

PartitionedVector<sts::Hit> cbm::algo::StorableRecoResults::fStsHits
private

Definition at line 115 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), StsHits(), and StsHits().

◆ fTofDigis

std::vector<CbmTofDigi> cbm::algo::StorableRecoResults::fTofDigis
private

Definition at line 107 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), TofDigis(), and TofDigis().

◆ fTofHits

PartitionedVector<tof::Hit> cbm::algo::StorableRecoResults::fTofHits
private

Definition at line 116 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), TofHits(), and TofHits().

◆ fTracks

ca::Vector<ca::Track> cbm::algo::StorableRecoResults::fTracks
private

Definition at line 120 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), Tracks(), and Tracks().

◆ fTrackStsHitIndices

TrackHitIndexContainer_t cbm::algo::StorableRecoResults::fTrackStsHitIndices
private

STS hit indices of tracks.

Note
index: [trkID][hitID], value: pair(partitionID, hitPartitionID)

Definition at line 124 of file StorableRecoResults.h.

Referenced by serialize(), TrackStsHitIndices(), and TrackStsHitIndices().

◆ fTrackTofHitIndices

TrackHitIndexContainer_t cbm::algo::StorableRecoResults::fTrackTofHitIndices
private

TOF hit indices of tracks.

Note
index: [trkID][hitID], value: pair(partitionID, hitPartitionID)

Definition at line 128 of file StorableRecoResults.h.

Referenced by serialize(), TrackTofHitIndices(), and TrackTofHitIndices().

◆ fTrd2dDigis

std::vector<CbmTrdDigi> cbm::algo::StorableRecoResults::fTrd2dDigis
private

Definition at line 105 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), Trd2dDigis(), and Trd2dDigis().

◆ fTrdDigis

std::vector<CbmTrdDigi> cbm::algo::StorableRecoResults::fTrdDigis
private

Definition at line 106 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), TrdDigis(), and TrdDigis().

◆ fTrdHits

PartitionedVector<trd::Hit> cbm::algo::StorableRecoResults::fTrdHits
private

Definition at line 117 of file StorableRecoResults.h.

Referenced by serialize(), SizeBytes(), TrdHits(), and TrdHits().

◆ fTsIndex

uint64_t cbm::algo::StorableRecoResults::fTsIndex = UINT64_MAX
private

Definition at line 98 of file StorableRecoResults.h.

Referenced by serialize(), and TsIndex().

◆ fTsStartTime

uint64_t cbm::algo::StorableRecoResults::fTsStartTime = UINT64_MAX
private

Definition at line 99 of file StorableRecoResults.h.

Referenced by serialize(), and TsStartTime().


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