14#include <FairSource.h>
97 std::unique_ptr<cbm::algo::RecoResultsInputArchive>
fArchive{
nullptr};
CbmSourceRecoTimeslice(const CbmSourceRecoTimeslice &)=delete
Copy constructor.
virtual Bool_t Init()
Initializes the source.
cbm::algo::StorableRecoResults::TrackHitIndexContainer_t * fTrackTofHitIndices
CbmTimeSlice * fTimeslice
Timeslice header (NOTE: legacy, will be deprecated soon)
cbm::PartitionedVector< cbm::algo::bmon::Hit > * fBmonHits
virtual Bool_t ReInitUnpackers()
Re-initialize unpackers (forced by the base class, not relevant)
virtual void SetParUnpackers()
Sets the unpacker parameters (forced byt the base class, not relevant)
virtual void Close()
Closes the source in the end of the run.
Source_Type fSourceType
A source type (use kONLINE not to skip the first timeslice)
ClassDef(CbmSourceRecoTimeslice, 1)
virtual Bool_t InitUnpackers()
Initializes unpackers (forced by the base class, not relevant)
CbmSourceRecoTimeslice(CbmSourceRecoTimeslice &&)=delete
Move constructor.
std::string fInputFileName
Input file name.
Bool_t SpecifyRunId()
Sets run ID (forced by base class, not relevant)
cbm::algo::StorableRecoResults::TrackHitIndexContainer_t * fTrackTrdHitIndices
size_t fNumTs
Timeslice counter.
void SetSourceType(Source_Type type)
Set the Source type.
CbmSourceRecoTimeslice & operator=(const CbmSourceRecoTimeslice &)=delete
Copy assignment operator.
cbm::PartitionedVector< cbm::algo::trd::Hit > * fTrdHits
cbm::algo::StorableRecoResults::TrackHitIndexContainer_t * fTrackStsHitIndices
cbm::algo::ca::Vector< cbm::algo::ca::Track > * fTracks
CbmTsEventHeader * fTsEventHeader
Timeslice event header.
virtual ~CbmSourceRecoTimeslice()=default
Destructor.
cbm::PartitionedVector< cbm::algo::tof::Hit > * fTofHits
CbmSourceRecoTimeslice(const char *filename="")
Constructor.
CbmSourceRecoTimeslice & operator=(CbmSourceRecoTimeslice &&)=delete
Move assignment operator.
std::unique_ptr< cbm::algo::RecoResultsInputArchive > fArchive
Input archive.
virtual Int_t ReadEvent(UInt_t=0)
Reads one timeslice from file.
void ClearOutputVectors()
Clears the output vectors.
virtual Source_Type GetSourceType()
Gets source type.
virtual void Reset()
Resets the instance (forced by the base class, not relevant)
cbm::PartitionedVector< cbm::algo::sts::Hit > * fStsHits
Bookkeeping of time-slice content.
A vector that is partitioned into multiple subvectors.
ca::Vector< std::vector< std::pair< uint32_t, uint32_t > > > TrackHitIndexContainer_t