FairRoot/PandaRoot
|
Go to the source code of this file.
Functions | |
void | PrintFrame (std::vector< ULong64_t > &frame) |
bool | CheckHitCount (std::vector< ULong64_t > frame) |
bool | CheckFrameCount (std::vector< ULong64_t > frame) |
bool | CheckCRC (std::vector< ULong64_t > frame) |
std::vector< PndMvdPastaDigi > | ProcessFrame (std::vector< ULong64_t > frame) |
int | PastaTBRawToRoot (TString fileName) |
Variables | |
PndCRCCalculator | decoder (16, 0x1021, 0, 0, 0, 0x0F4A) |
PndMvdPasta | pastaConv |
RunSummary | summary |
unsigned int | oldFrameCount = 0 |
ULong64_t | framesSinceLastData = 0 |
ULong64_t | diffAllFrameCount = 0 |
int | oldDiffAllFrameCount = 0 |
int | verbose = 1 |
bool CheckCRC | ( | std::vector< ULong64_t > | frame | ) |
Definition at line 100 of file PastaTBRawToRoot.C.
References PndCRCCalculator::CalculateCRCTableFast(), PndMvdPasta::ConvertData(), decoder, PrintFrame(), and verbose.
Referenced by ProcessFrame().
bool CheckFrameCount | ( | std::vector< ULong64_t > | frame | ) |
Definition at line 47 of file PastaTBRawToRoot.C.
References RunSummary::fAllCountedFrames, RunSummary::fAllPartialResets, RunSummary::fMissingFrames, framesSinceLastData, RunSummary::fSuperFrameCount, oldDiffAllFrameCount, oldFrameCount, PrintFrame(), and verbose.
Referenced by ProcessFrame().
bool CheckHitCount | ( | std::vector< ULong64_t > | frame | ) |
Definition at line 25 of file PastaTBRawToRoot.C.
References nHits, PrintFrame(), and verbose.
Referenced by ProcessFrame().
int PastaTBRawToRoot | ( | TString | fileName | ) |
Definition at line 165 of file PastaTBRawToRoot.C.
References creator, f, RunSummary::fAllCountedFrames, RunSummary::fCrcErrorCount, RunSummary::fCrcMatchCount, RunSummary::fMissingFrames, framesSinceLastData, RunSummary::fSingleWordFrames, RunSummary::fSuperFrameCount, RunSummary::fWrongFrameCount, RunSummary::fWrongHitCount, i, ProcessFrame(), t, TString, and verbose.
void PrintFrame | ( | std::vector< ULong64_t > & | frame | ) |
Definition at line 19 of file PastaTBRawToRoot.C.
Referenced by CheckCRC(), CheckFrameCount(), and CheckHitCount().
std::vector<PndMvdPastaDigi> ProcessFrame | ( | std::vector< ULong64_t > | frame | ) |
Definition at line 118 of file PastaTBRawToRoot.C.
References PndMvdPasta::AnalyzeHeader(), PndMvdPasta::AnalyzeThresholdWordFull(), CheckCRC(), CheckFrameCount(), CheckHitCount(), RunSummary::fCrcErrorCount, RunSummary::fCrcMatchCount, framesSinceLastData, RunSummary::fWrongFrameCount, RunSummary::fWrongHitCount, i, FrameHeader::nEvents, and verbose.
Referenced by PastaTBRawToRoot().
PndCRCCalculator decoder(16, 0x1021, 0, 0,0, 0x0F4A) |
Referenced by CheckCRC().
ULong64_t diffAllFrameCount = 0 |
Definition at line 14 of file PastaTBRawToRoot.C.
ULong64_t framesSinceLastData = 0 |
Definition at line 13 of file PastaTBRawToRoot.C.
Referenced by CheckFrameCount(), PastaTBRawToRoot(), and ProcessFrame().
int oldDiffAllFrameCount = 0 |
Definition at line 15 of file PastaTBRawToRoot.C.
Referenced by CheckFrameCount().
unsigned int oldFrameCount = 0 |
Definition at line 12 of file PastaTBRawToRoot.C.
Referenced by CheckFrameCount().
PndMvdPasta pastaConv |
Definition at line 9 of file PastaTBRawToRoot.C.
RunSummary summary |
Definition at line 10 of file PastaTBRawToRoot.C.
Referenced by CreateErrorHisto().
int verbose = 1 |
Definition at line 17 of file PastaTBRawToRoot.C.