Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
blob
master
AnaTutorial
block
CaloAna
macro
src
CaloAna.cc
CaloAna.h
clusters
CreateSubsysRecoModule
cylinder
eventgenerator_display
IonGun
MagneticField
materialscan
Momentum
myjetanalysis
MyOwnTTree
PHG4DSTReader
sPHENIX_sims
doxygen_mainpage.h
File Members
Examples
External Links
•
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
=
nullptr
;
41
TFile *
outfile
=
nullptr
;
42
TNtuple *
g4hitntuple
=
nullptr
;
43
TNtuple *
g4cellntuple
=
nullptr
;
44
TNtuple *
towerntuple
=
nullptr
;
45
TNtuple *
clusterntuple
=
nullptr
;
46
};
47
48
#endif
tutorials
blob
master
CaloAna
src
CaloAna.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:48
using
1.8.2 with
sPHENIX GitHub integration