8 #ifndef PNDMVDREADINTOPIX4TBDATA_H_
9 #define PNDMVDREADINTOPIX4TBDATA_H_
58 std::cout <<
"number of entires " << fileName.size() << std::endl;
59 for(
int i=0;
i < fileName.size();
i++)
61 std::cout <<
i<<
" " << fileName[
i] << std::endl;
67 std::vector<std::string> names;
68 names.push_back(fileName);
78 std::vector<std::vector<PndSdsDigiTopix4> >
AnalyzeData(std::vector<ULong64_t>& rawData,
Double_t clockFrequency);
UInt_t GetCRCLossFrameCount() const
std::vector< std::string > fFileNames
virtual Bool_t ReadInDataFromFile(TMrfData_8b *&data)
UInt_t GetTotalHitCount() const
UInt_t fTotalTrailerCount
UInt_t GetNonSequenctialFC() const
Data class to store the digi output of a pixel module.
std::vector< int > fStatusValues
PndMvdReadInToPix4TBData()
Double_t val[nBoxes][nFEBox]
UInt_t fCRCLossFrameCount
Bool_t HitToFilter(PndSdsDigiTopix4 &hit)
UInt_t GetSuperFrameCount() const
Double_t fTimeStampCorrection
UInt_t fOldAllHeaderCount
UInt_t GetCorrectFrameCount() const
Int_t GetDeltaFrameCount()
std::vector< std::vector< PndSdsDigiTopix4 > > AnalyzeData(std::vector< ULong64_t > &rawData, Double_t clockFrequency)
UInt_t GetHammingLossFrameCount() const
void SetVerbose(Int_t val)
PndSdsDigiTopix4 ProcessData(ULong64_t &data, ToPix4::frameHeader &header, Double_t &clockFrequency)
virtual ~PndMvdReadInToPix4TBData()
std::vector< int > GetStatusValues() const
UInt_t fHammingLossFrameCount
UInt_t GetTotalFrameCount() const
UInt_t GetDoubleHeader() const
void SetTimeStampCorrection(Double_t val)
Base interface class for data storage and manipulation. Compatible with IO classes from MRF Suite...
ToPix4::frameHeader fRecentAllFrameHeader
Bool_t ReadInData(std::vector< std::vector< PndSdsDigiTopix4 > > &data)
ToPix4::frameTrailer fRecentFrameTrailer
UInt_t fHammingLossHitCount
ToPix4::frameHeader fRecentFrameHeader
UInt_t GetTotalHeaderCount() const
void SetClockFrequency(Double_t val)
UInt_t GetCorrectHitCount() const
UInt_t GetTotalTrailerCount() const
std::ifstream * fFileHandle
UInt_t GetDoubleTrailer() const
UInt_t fPreFrameLossHitCount
std::vector< PndSdsDigiTopix4 > AnalyzeToPixFrame(Double_t clockFrequency)
std::vector< ULong64_t > fToPixFrame
void SetFileName(std::vector< std::string > fileName)
bool BuildFrame(ULong64_t &rawData)
UInt_t fCorrectFrameCount
PndHammingDecoder fHamming
UInt_t GetPreFrameLossHitCount() const
void SetFilter(Bool_t val)
UInt_t GetHammingLossHitCount() const
UInt_t GetCRCLossHitCount() const
bool CheckDataIntegrity(std::vector< ULong64_t > topix4Frame)
void SetFileName(std::string fileName)