FairRoot
|
#include <FairTestDetectorDigiWriteoutBuffer.h>
Public Member Functions | |
FairTestDetectorDigiWriteoutBuffer () | |
FairTestDetectorDigiWriteoutBuffer (TString branchName, TString folderName, Bool_t persistance) | |
virtual | ~FairTestDetectorDigiWriteoutBuffer () |
void | AddNewDataToTClonesArray (FairTimeStamp *) |
virtual double | FindTimeForData (FairTimeStamp *data) |
virtual void | FillDataMap (FairTimeStamp *data, double activeTime) |
add a new element in the search buffer More... | |
virtual void | EraseDataFromDataMap (FairTimeStamp *data) |
delete the element from the search buffer (see PndSdsDigiPixelWriteoutBuffer) More... | |
Public Member Functions inherited from FairWriteoutBuffer | |
FairWriteoutBuffer () | |
FairWriteoutBuffer (TString branchName, TString className, TString folderName, Bool_t persistance) | |
virtual | ~FairWriteoutBuffer () |
virtual void | SaveDataToTree (Bool_t val=kTRUE) |
virtual void | ActivateBuffering (Bool_t val=kTRUE) |
Bool_t | IsBufferingActivated () |
virtual void | FillNewData (FairTimeStamp *data, double startTime, double activeTime) |
virtual Int_t | GetNData () |
virtual std::vector < FairTimeStamp * > | GetRemoveOldData (double time) |
virtual std::vector < FairTimeStamp * > | GetAllData () |
virtual void | SetVerbose (Int_t val) |
virtual void | DeleteOldData () |
virtual void | WriteOutData (double time) |
virtual void | WriteOutAllData () |
Protected Member Functions | |
ClassDef (FairTestDetectorDigiWriteoutBuffer, 1) | |
Protected Member Functions inherited from FairWriteoutBuffer | |
virtual std::vector< std::pair < double, FairTimeStamp * > > | Modify (std::pair< double, FairTimeStamp * > oldData, std::pair< double, FairTimeStamp * >) |
virtual void | WriteOutDataDeadTimeMap (double time) |
virtual void | MoveDataFromStartTimeMapToDeadTimeMap (double time) |
virtual void | FillDataToDeadTimeMap (FairTimeStamp *data, double activeTime, double startTime) |
virtual void | PrintData (FairTimeStamp *data) |
virtual void | PrintDeadTimeMap () |
Method should be overwritten in derived classes to print the data of an object stored in the buffer. More... | |
virtual void | PrintStartTimeMap () |
Protected Attributes | |
std::map< FairTestDetectorDigi, double > | fData_map |
Protected Attributes inherited from FairWriteoutBuffer | |
std::multimap< double, std::pair< double, FairTimeStamp * > > | fStartTime_map |
std::multimap< double, FairTimeStamp * > | fDeadTime_map |
TString | fBranchName |
TString | fClassName |
Bool_t | fTreeSave |
Bool_t | fActivateBuffering |
Int_t | fVerbose |
FairLogger * | fLogger |
Definition at line 27 of file FairTestDetectorDigiWriteoutBuffer.h.
FairTestDetectorDigiWriteoutBuffer::FairTestDetectorDigiWriteoutBuffer | ( | ) |
Definition at line 26 of file FairTestDetectorDigiWriteoutBuffer.cxx.
FairTestDetectorDigiWriteoutBuffer::FairTestDetectorDigiWriteoutBuffer | ( | TString | branchName, |
TString | folderName, | ||
Bool_t | persistance | ||
) |
Definition at line 33 of file FairTestDetectorDigiWriteoutBuffer.cxx.
|
virtual |
Definition at line 40 of file FairTestDetectorDigiWriteoutBuffer.cxx.
|
virtual |
store the data from the FairTimeStamp pointer in a TClonesArray (you have to cast it to your type of data)
Implements FairWriteoutBuffer.
Definition at line 45 of file FairTestDetectorDigiWriteoutBuffer.cxx.
|
protected |
|
virtual |
delete the element from the search buffer (see PndSdsDigiPixelWriteoutBuffer)
Implements FairWriteoutBuffer.
Definition at line 73 of file FairTestDetectorDigiWriteoutBuffer.cxx.
|
virtual |
add a new element in the search buffer
Implements FairWriteoutBuffer.
Definition at line 67 of file FairTestDetectorDigiWriteoutBuffer.cxx.
|
virtual |
if the same data object (like a pad or a pixel) is already present in the buffer, the time of this object has to be returned otherwise -1
Implements FairWriteoutBuffer.
Definition at line 55 of file FairTestDetectorDigiWriteoutBuffer.cxx.
|
protected |
Definition at line 43 of file FairTestDetectorDigiWriteoutBuffer.h.