12 #include <Event/Event.h>
26 using namespace Fun4AllReturnCodes;
40 m_gaussian = std::make_unique<TF1>(
"gaussian",
"gaus", 0, 20);
91 auto vertex = std::make_unique<MbdVertexv2>();
109 std::cout <<
"mbd vertex z and t0 " <<
m_mbdevent->get_bbcz() <<
", " <<
m_mbdevent->get_bbct0() << std::endl;
127 std::cout <<
PHWHERE <<
"DST Node missing doing nothing" << std::endl;
134 std::cout <<
PHWHERE <<
"RUN Node missing doing nothing" << std::endl;
154 m_mbdout = findNode::getClass<MbdOut>(bbcNode,
"MbdOut");
159 bbcNode->addNode(MbdOutNode);
162 m_mbdpmts = findNode::getClass<MbdPmtContainerV1>(bbcNode,
"MbdPmtContainer");
167 bbcNode->addNode(MbdPmtContainerNode);
170 m_mbdvtxmap = findNode::getClass<MbdVertexMap>(bbcNode,
"MbdVertexMap");
175 bbcNode->addNode(VertexMapNode);
178 m_mbdgeom = findNode::getClass<MbdGeom>(runNode,
"MbdGeom");
183 bbcRunNode->
addNode(MbdGeomNode);
192 m_event = findNode::getClass<Event>(topNode,
"PRDF");
199 static int counter = 0;
202 cout <<
PHWHERE <<
"Unable to get PRDF, assuming this is simulation" << endl;
208 m_mbdpmts = findNode::getClass<MbdPmtContainer>(topNode,
"MbdPmtContainer");
211 std::cout <<
PHWHERE <<
" MbdPmtContainer node not found on node tree" << std::endl;
215 m_mbdvtxmap = findNode::getClass<MbdVertexMap>(topNode,
"MbdVertexMap");
218 std::cout <<
PHWHERE <<
"MbdVertexMap node not found on node tree" << std::endl;