13 #include <Event/Event.h>
14 #include <Event/oncsEvent.h>
36 std::cout <<
"Creating new prdfnode 0x" << std::hex << newNode << std::dec << std::endl;
40 std::cout <<
"EventCombiner::Init(PHCompositeNode *topNode) Initializing" << std::endl;
47 std::vector<Event *> subeventeventvec;
48 unsigned int total_length = 0;
51 Event *evt = findNode::getClass<Event>(topNode, nam);
52 subeventeventvec.push_back(evt);
56 int eventno = subeventeventvec[0]->getEvtSequence();
57 for (
auto &
e : subeventeventvec)
59 if (
e->getEvtSequence() != eventno)
61 std::cout <<
"Event number mismatch, first subevt: " << eventno
62 <<
" current subevt: " <<
e->getEvtSequence() << std::endl;
71 subeventeventvec[0]->Copy(
m_OutArray, total_length, &nwout);
73 for (
unsigned int icnt = 1; icnt < subeventeventvec.size(); icnt++)
75 subeventeventvec[icnt]->Copy(&
m_OutArray[current], total_length - current, &nwout,
"DATA");
107 std::cout <<
"EventCombiner::AddPrdfInputNodeName: Prdf Input Node name "
108 << name <<
" already in list - that will wreak havoc and has to be fixed" << std::endl;
109 std::cout <<
"exiting now" << std::endl;
116 std::cout <<
"Prdf node " << name <<
" inserted" << std::endl;