EIC 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 
10 using namespace std;
11 
13 
15  : DumpObject(NodeName)
16 {
17  return;
18 }
19 
21 {
22  CaloTriggerInfo *calotriggerinfo = nullptr;
23  MyNode_t *thisNode = static_cast<MyNode_t *>(myNode);
24  if (thisNode)
25  {
26  calotriggerinfo = thisNode->getData();
27  }
28  if (calotriggerinfo)
29  {
30  *fout << " get_best_EMCal_2x2_E: " << calotriggerinfo->get_best_EMCal_2x2_E() << endl;
31  *fout << " get_best_EMCal_2x2_eta: " << calotriggerinfo->get_best_EMCal_2x2_eta() << endl;
32  *fout << " get_best_EMCal_2x2_phi: " << calotriggerinfo->get_best_EMCal_2x2_phi() << endl;
33  *fout << " get_best_EMCal_4x4_E: " << calotriggerinfo->get_best_EMCal_4x4_E() << endl;
34  *fout << " get_best_EMCal_4x4_eta: " << calotriggerinfo->get_best_EMCal_4x4_eta() << endl;
35  *fout << " get_best_EMCal_4x4_phi: " << calotriggerinfo->get_best_EMCal_4x4_phi() << endl;
36  *fout << " get_best2_EMCal_4x4_E: " << calotriggerinfo->get_best2_EMCal_4x4_E() << endl;
37  *fout << " get_best2_EMCal_4x4_eta: " << calotriggerinfo->get_best2_EMCal_4x4_eta() << endl;
38  *fout << " get_best2_EMCal_4x4_phi: " << calotriggerinfo->get_best2_EMCal_4x4_phi() << endl;
39  *fout << " get_best_FullCalo_0p2x0p2_E: " << calotriggerinfo->get_best_FullCalo_0p2x0p2_E() << endl;
40  *fout << " get_best_FullCalo_0p2x0p2_eta: " << calotriggerinfo->get_best_FullCalo_0p2x0p2_eta() << endl;
41  *fout << " get_best_FullCalo_0p2x0p2_phi: " << calotriggerinfo->get_best_FullCalo_0p2x0p2_phi() << endl;
42  *fout << " get_best_FullCalo_0p4x0p4_E: " << calotriggerinfo->get_best_FullCalo_0p4x0p4_E() << endl;
43  *fout << " get_best_FullCalo_0p4x0p4_eta: " << calotriggerinfo->get_best_FullCalo_0p4x0p4_eta() << endl;
44  *fout << " get_best_FullCalo_0p4x0p4_phi: " << calotriggerinfo->get_best_FullCalo_0p4x0p4_phi() << endl;
45  *fout << " get_best_FullCalo_0p6x0p6_E: " << calotriggerinfo->get_best_FullCalo_0p6x0p6_E() << endl;
46  *fout << " get_best_FullCalo_0p6x0p6_eta: " << calotriggerinfo->get_best_FullCalo_0p6x0p6_eta() << endl;
47  *fout << " get_best_FullCalo_0p6x0p6_phi: " << calotriggerinfo->get_best_FullCalo_0p6x0p6_phi() << endl;
48  *fout << " get_best_FullCalo_0p8x0p8_E: " << calotriggerinfo->get_best_FullCalo_0p8x0p8_E() << endl;
49  *fout << " get_best_FullCalo_0p8x0p8_eta: " << calotriggerinfo->get_best_FullCalo_0p8x0p8_eta() << endl;
50  *fout << " get_best_FullCalo_0p8x0p8_phi: " << calotriggerinfo->get_best_FullCalo_0p8x0p8_phi() << endl;
51  *fout << " get_best_FullCalo_1p0x1p0_E: " << calotriggerinfo->get_best_FullCalo_1p0x1p0_E() << endl;
52  *fout << " get_best_FullCalo_1p0x1p0_eta: " << calotriggerinfo->get_best_FullCalo_1p0x1p0_eta() << endl;
53  *fout << " get_best_FullCalo_1p0x1p0_phi: " << calotriggerinfo->get_best_FullCalo_1p0x1p0_phi() << endl;
54  }
55  return 0;
56 }