9 #include <calobase/RawCluster.h>
10 #include <calobase/RawClusterContainer.h>
37 std::cout <<
"RawClusZVtxRecorrect::InitRun : NO TOPNODE" << std::endl;
49 std::cout <<
"RawClusZVtxRecorrect::Processing a NEW EVENT" << std::endl;
55 rawClusNodeName =
"CLUSTERINFO_" +
_det_name;
58 RawClusterContainer *rawclusters = findNode::getClass<RawClusterContainer>(topNode, rawClusNodeName.c_str());
61 std::cout <<
"No " <<
_det_name <<
" Cluster Container found while in RawClusterZVertexRecorrect, can't proceed!!!" << std::endl;
71 GlobalVertexMap *vertexmap = findNode::getClass<GlobalVertexMap>(topNode,
"GlobalVertexMap");
76 if (!vertexmap->
empty())
86 MbdVertexMap *mbdmap = findNode::getClass<MbdVertexMap>(topNode,
"MbdVertexMap");
94 mbditer != mbdmap->
end();
98 bvertex = mbditer->second;
105 vz = bvertex->
get_z();
114 for (iter = begin_end.first; iter != begin_end.second; ++iter)
120 float clus_savz = cluster->
get_z();
121 float clus_chi2 = cluster->
get_chi2();
142 std::cout <<
"Input,out eclus cluster energies: " << clus_energy
144 std::cout <<
"Input, out cluster z:" << clus_savz
145 <<
" " << cluster->
get_z() << std::endl;
147 std::cout <<
"Input, out cluster ch2:" << clus_chi2
148 <<
" " << cluster->
get_chi2() << std::endl;