Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:17:55

0001 #include "DumpCdbUrlSave.h"
0002 
0003 #include <phool/PHIODataNode.h>
0004 
0005 #include <ffaobjects/CdbUrlSave.h>
0006 
0007 #include <map>
0008 #include <ostream>
0009 #include <string>
0010 #include <utility>
0011 
0012 using MyNode_t = PHIODataNode<CdbUrlSave>;
0013 
0014 DumpCdbUrlSave::DumpCdbUrlSave(const std::string &NodeName)
0015   : DumpObject(NodeName)
0016 {
0017   return;
0018 }
0019 
0020 int DumpCdbUrlSave::process_Node(PHNode *myNode)
0021 {
0022   CdbUrlSave *cdburlsave = nullptr;
0023   MyNode_t *thisNode = static_cast<MyNode_t *>(myNode);  // NOLINT(cppcoreguidelines-pro-type-static-cast-downcast)
0024   if (thisNode)
0025   {
0026     cdburlsave = thisNode->getData();
0027   }
0028   if (cdburlsave)
0029   {
0030     cdburlsave->identify(*fout);
0031   }
0032   return 0;
0033 }