17 #include "MyDataClass.h"
31 std::cout <<
"-I- MySorterTask::AddNewDataToTClonesArray Data: ";
32 std::cout << *(MyDataClass*)(data) << std::endl;
34 new ((*myArray)[myArray->GetEntries()]) MyDataClass(*(MyDataClass*)(data));
static FairRootManager * Instance()
ClassImp(FairEventBuilder)
TClonesArray * GetTClonesArray(TString branchName)
virtual void AddNewDataToTClonesArray(FairTimeStamp *data)
virtual FairRingSorter * InitSorter(Int_t numberOfCells, Double_t widthOfCells) const