Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DumpCaloTriggerInfo.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DumpCaloTriggerInfo.cc
1 #include "DumpCaloTriggerInfo.h"
2 
3 #include <calotrigger/CaloTriggerInfo.h>
4 
5 #include <phool/PHIODataNode.h>
6 
7 #include <ostream>
8 #include <string>
9 
11 
13  : DumpObject(NodeName)
14 {
15  return;
16 }
17 
19 {
20  CaloTriggerInfo *calotriggerinfo = nullptr;
21  MyNode_t *thisNode = static_cast<MyNode_t *>(myNode);
22  if (thisNode)
23  {
24  calotriggerinfo = thisNode->getData();
25  }
26  if (calotriggerinfo)
27  {
28  *fout << " get_best_EMCal_2x2_E: " << calotriggerinfo->get_best_EMCal_2x2_E() << std::endl;
29  *fout << " get_best_EMCal_2x2_eta: " << calotriggerinfo->get_best_EMCal_2x2_eta() << std::endl;
30  *fout << " get_best_EMCal_2x2_phi: " << calotriggerinfo->get_best_EMCal_2x2_phi() << std::endl;
31  *fout << " get_best_EMCal_4x4_E: " << calotriggerinfo->get_best_EMCal_4x4_E() << std::endl;
32  *fout << " get_best_EMCal_4x4_eta: " << calotriggerinfo->get_best_EMCal_4x4_eta() << std::endl;
33  *fout << " get_best_EMCal_4x4_phi: " << calotriggerinfo->get_best_EMCal_4x4_phi() << std::endl;
34  *fout << " get_best2_EMCal_4x4_E: " << calotriggerinfo->get_best2_EMCal_4x4_E() << std::endl;
35  *fout << " get_best2_EMCal_4x4_eta: " << calotriggerinfo->get_best2_EMCal_4x4_eta() << std::endl;
36  *fout << " get_best2_EMCal_4x4_phi: " << calotriggerinfo->get_best2_EMCal_4x4_phi() << std::endl;
37  *fout << " get_best_FullCalo_0p2x0p2_E: " << calotriggerinfo->get_best_FullCalo_0p2x0p2_E() << std::endl;
38  *fout << " get_best_FullCalo_0p2x0p2_eta: " << calotriggerinfo->get_best_FullCalo_0p2x0p2_eta() << std::endl;
39  *fout << " get_best_FullCalo_0p2x0p2_phi: " << calotriggerinfo->get_best_FullCalo_0p2x0p2_phi() << std::endl;
40  *fout << " get_best_FullCalo_0p4x0p4_E: " << calotriggerinfo->get_best_FullCalo_0p4x0p4_E() << std::endl;
41  *fout << " get_best_FullCalo_0p4x0p4_eta: " << calotriggerinfo->get_best_FullCalo_0p4x0p4_eta() << std::endl;
42  *fout << " get_best_FullCalo_0p4x0p4_phi: " << calotriggerinfo->get_best_FullCalo_0p4x0p4_phi() << std::endl;
43  *fout << " get_best_FullCalo_0p6x0p6_E: " << calotriggerinfo->get_best_FullCalo_0p6x0p6_E() << std::endl;
44  *fout << " get_best_FullCalo_0p6x0p6_eta: " << calotriggerinfo->get_best_FullCalo_0p6x0p6_eta() << std::endl;
45  *fout << " get_best_FullCalo_0p6x0p6_phi: " << calotriggerinfo->get_best_FullCalo_0p6x0p6_phi() << std::endl;
46  *fout << " get_best_FullCalo_0p8x0p8_E: " << calotriggerinfo->get_best_FullCalo_0p8x0p8_E() << std::endl;
47  *fout << " get_best_FullCalo_0p8x0p8_eta: " << calotriggerinfo->get_best_FullCalo_0p8x0p8_eta() << std::endl;
48  *fout << " get_best_FullCalo_0p8x0p8_phi: " << calotriggerinfo->get_best_FullCalo_0p8x0p8_phi() << std::endl;
49  *fout << " get_best_FullCalo_1p0x1p0_E: " << calotriggerinfo->get_best_FullCalo_1p0x1p0_E() << std::endl;
50  *fout << " get_best_FullCalo_1p0x1p0_eta: " << calotriggerinfo->get_best_FullCalo_1p0x1p0_eta() << std::endl;
51  *fout << " get_best_FullCalo_1p0x1p0_phi: " << calotriggerinfo->get_best_FullCalo_1p0x1p0_phi() << std::endl;
52  }
53  return 0;
54 }