Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
caloTowerEmbed.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file caloTowerEmbed.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef CALOTOWEREMBED_H
4
#define CALOTOWEREMBED_H
5
6
#include <calobase/TowerInfoContainer.h>
// for TowerInfoContainer, TowerIn...
7
8
#include <calobase/RawTowerGeom.h>
9
#include <calobase/RawTowerGeomContainer.h>
10
11
#include <
fun4all/SubsysReco.h
>
12
13
#include <cassert>
14
#include <iostream>
15
#include <string>
16
17
#include "TFile.h"
18
#include "TTree.h"
19
20
//class CDBInterface;
21
//class CDBTTree;
22
class
PHCompositeNode
;
23
class
TowerInfoContainerv1
;
24
class
TowerInfoContainerv2
;
25
class
RawTowerGeomContainer
;
26
27
class
caloTowerEmbed
:
public
SubsysReco
28
{
29
public
:
30
caloTowerEmbed
(
const
std::string
&
name
=
"caloTowerEmbed"
);
31
32
~caloTowerEmbed
()
override
;
33
34
int
InitRun
(
PHCompositeNode
*topNode)
override
;
35
int
process_event
(
PHCompositeNode
*topNode)
override
;
36
int
End
(
PHCompositeNode
*topNode)
override
;
37
void
CreateNodeTree
(
PHCompositeNode
*topNode);
38
39
40
void
set_useRetower
(
bool
a
){
m_useRetower
=
a
; };
41
42
enum
DetectorSystem
43
{
44
CEMC
= 0,
45
HCALIN
= 1,
46
HCALOUT
= 2,
47
EPD
= 3
48
};
49
50
private
:
51
TowerInfoContainer
*
_data_towers
[3] = {
nullptr
,
nullptr
,
nullptr
};
52
TowerInfoContainer
*
_sim_towers
[3] = {
nullptr
,
nullptr
,
nullptr
};
53
54
RawTowerGeomContainer
*
tower_geom
=
nullptr
;
55
RawTowerGeomContainer
*
tower_geomIH
=
nullptr
;
56
RawTowerGeomContainer
*
tower_geomOH
=
nullptr
;
57
58
bool
m_useRetower
=
false
;
59
60
// CDBInterface *cdb = nullptr;
61
//CDBTTree *cdbttree = nullptr;
62
int
m_runNumber
;
63
int
m_eventNumber
;
64
65
};
66
67
#endif // CALOTOWEREMBED_H
analysis
blob
master
CalorimeterEmbedding
src
caloTowerEmbed.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:48
using
1.8.2 with
sPHENIX GitHub integration