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
CaloAna.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CaloAna.h
1
#ifndef CALOANA_H__
2
#define CALOANA_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
6
// Forward declarations
7
class
Fun4AllHistoManager
;
8
class
PHCompositeNode
;
9
class
TFile;
10
class
TNtuple;
11
12
class
CaloAna
:
public
SubsysReco
13
{
14
public
:
16
CaloAna
(
const
std::string &
name
=
"CaloAna"
,
const
std::string &
fname
=
"MyNtuple.root"
);
17
19
virtual
~CaloAna
();
20
22
int
Init
(
PHCompositeNode
*);
23
25
int
process_event
(
PHCompositeNode
*);
26
28
int
End
(
PHCompositeNode
*);
29
30
int
process_g4hits
(
PHCompositeNode
*);
31
int
process_g4cells
(
PHCompositeNode
*);
32
int
process_towers
(
PHCompositeNode
*);
33
int
process_clusters
(
PHCompositeNode
*);
34
35
void
Detector
(
const
std::string &
name
) {
detector
=
name
; }
36
37
protected
:
38
std::string
detector
;
39
std::string
outfilename
;
40
Fun4AllHistoManager
*
hm
;
41
TFile *
outfile
;
42
TNtuple *
g4hitntuple
;
43
TNtuple *
g4cellntuple
;
44
TNtuple *
towerntuple
;
45
TNtuple *
clusterntuple
;
46
};
47
48
#endif
tutorials
blob
master
CaloAna
src
CaloAna.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:26:00
using
1.8.2 with
ECCE GitHub integration