ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DumpRawTowerGeom.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DumpRawTowerGeom.cc
1
#include "
DumpRawTowerGeom.h
"
2
3
#include <
phool/PHIODataNode.h
>
4
5
#include <calobase/RawTowerGeom.h>
6
7
#include <string>
8
9
#include <cstddef>
10
#include <map>
11
#include <ostream>
12
#include <utility>
13
14
using namespace
std;
15
16
typedef
PHIODataNode<RawTowerGeom>
MyNode_t
;
17
18
DumpRawTowerGeom::DumpRawTowerGeom
(
const
string
&NodeName)
19
:
DumpObject
(NodeName)
20
{
21
return
;
22
}
23
24
int
DumpRawTowerGeom::process_Node
(
PHNode
*myNode)
25
{
26
RawTowerGeom
*rawtowergeom =
nullptr
;
27
MyNode_t
*thisNode =
static_cast<
MyNode_t
*
>
(myNode);
28
if
(thisNode)
29
{
30
rawtowergeom = thisNode->
getData
();
31
}
32
if
(rawtowergeom)
33
{
34
//TODO: use RawTowerGeomContainer in this dump instead of RawTowerGeom
35
36
// *fout << "radius: " << rawtowergeom->get_radius() << endl;
37
// *fout << "thickness: " << rawtowergeom->get_thickness() << endl;
38
// *fout << "phibins: " << rawtowergeom->get_phibins() << endl;
39
// *fout << "phistep: " << rawtowergeom->get_phistep() << endl;
40
// *fout << "phimin: " << rawtowergeom->get_phimin() << endl;
41
// *fout << "etabins: " << rawtowergeom->get_etabins() << endl;
42
// *fout << "etastep: " << rawtowergeom->get_etastep() << endl;
43
// *fout << "etamin: " << rawtowergeom->get_etamin() << endl;
44
}
45
return
0;
46
}
coresoftware
blob
master
offline
packages
NodeDump
DumpRawTowerGeom.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:36
using
1.8.2 with
ECCE GitHub integration