File indexing completed on 2025-08-06 08:17:56
0001 #include "DumpTrkrHitTruthAssoc.h"
0002
0003 #include <phool/PHIODataNode.h>
0004
0005 #include <trackbase/TrkrCluster.h>
0006 #include <trackbase/TrkrClusterContainer.h>
0007
0008 #include <map>
0009 #include <ostream>
0010 #include <string>
0011 #include <utility>
0012
0013 using MyNode_t = PHIODataNode<TrkrClusterContainer>;
0014
0015 DumpTrkrHitTruthAssoc::DumpTrkrHitTruthAssoc(const std::string &NodeName)
0016 : DumpObject(NodeName)
0017 {
0018 return;
0019 }
0020
0021 int DumpTrkrHitTruthAssoc::process_Node(PHNode *myNode)
0022 {
0023 TrkrClusterContainer *trkrclustercontainer = nullptr;
0024 MyNode_t *thisNode = static_cast<MyNode_t *>(myNode);
0025 if (thisNode)
0026 {
0027 trkrclustercontainer = thisNode->getData();
0028 }
0029 if (trkrclustercontainer)
0030 {
0031 trkrclustercontainer->identify(*fout);
0032 }
0033 return 0;
0034 }