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
HCALAnalysis.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HCALAnalysis.h
1
#ifndef __HCALANALYSIS_H__
2
#define __HCALANALYSIS_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <string>
6
7
class
PHCompositeNode
;
8
class
PHG4HitContainer
;
9
class
TFile;
10
class
TNtuple;
11
12
class
HCALAnalysis
:
public
SubsysReco
13
{
14
public
:
15
HCALAnalysis
(
const
char
*
outfile
=
"ntuple.root"
);
16
virtual
~HCALAnalysis
() {}
17
18
// For this analysis we only use Init, process_event;
19
int
Init
(
PHCompositeNode
*topNode);
20
int
process_event
(
PHCompositeNode
*topNode);
21
int
End
(
PHCompositeNode
*topNode);
22
23
protected
:
24
25
const
char
*
OutFileName
;
26
27
void
GetNodes
(
PHCompositeNode
*topNode);
28
29
PHCompositeNode
*
_topNode
;
30
PHG4HitContainer
*
_hcalout_hit_container
;
31
PHG4HitContainer
*
_hcalin_hit_container
;
32
PHG4HitContainer
*
_cemc_hit_container
;
33
PHG4HitContainer
*
_hcalout_abs_hit_container
;
34
PHG4HitContainer
*
_hcalin_abs_hit_container
;
35
PHG4HitContainer
*
_cemc_abs_hit_container
;
36
PHG4HitContainer
*
_magnet_hit_container
;
37
PHG4HitContainer
*
_bh_hit_container
;
38
PHG4HitContainer
*
_bh_plus_hit_container
;
39
PHG4HitContainer
*
_bh_minus_hit_container
;
40
PHG4HitContainer
*
_cemc_electronics_hit_container
;
41
PHG4HitContainer
*
_hcalin_spt_hit_container
;
42
PHG4HitContainer
*
_svtx_hit_container
;
43
PHG4HitContainer
*
_svtx_support_hit_container
;
44
45
TFile *
outputfile
;
46
TNtuple *
calenergy
;
47
48
};
49
50
#endif
/* __HCALANALYSIS_H__ */
analysis
blob
master
HCal-analysis
HCALAnalysis
HCALAnalysis.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:52
using
1.8.2 with
sPHENIX GitHub integration