ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DumpTowerBackground.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DumpTowerBackground.cc
1 #include "DumpTowerBackground.h"
2 
4 
5 #include <phool/PHIODataNode.h>
6 
7 #include <ostream>
8 #include <string>
9 
10 using namespace std;
11 
13 
15  : DumpObject(NodeName)
16 {
17  return;
18 }
19 
21 {
22  TowerBackground *twrbkg = nullptr;
23  MyNode_t *thisNode = static_cast<MyNode_t *>(myNode);
24  if (thisNode)
25  {
26  twrbkg = thisNode->getData();
27  }
28  if (twrbkg)
29  {
30  *fout << "get_v2(): " << twrbkg->get_v2() << endl;
31  *fout << "get_Psi2(): " << twrbkg->get_Psi2() << endl;
32  }
33  return 0;
34 }