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
TowerTiming.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TowerTiming.h
1
#ifndef TowerTiming_h__
2
#define TowerTiming_h__
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <map>
6
#include <set>
7
#include <string>
8
#include <vector>
9
10
// Forward declerations
11
class
Fun4AllHistoManager
;
12
class
PHCompositeNode
;
13
class
TFile;
14
class
TH1;
15
class
TH2;
16
class
TNtuple;
17
18
class
TowerTiming
:
public
SubsysReco
19
{
20
public
:
21
23
TowerTiming
(
const
std::string
&
name
=
"TowerTiming"
,
const
std::string
&
filename
=
"TowerTiming.root"
);
24
26
virtual
~TowerTiming
();
27
29
int
Init
(
PHCompositeNode
*);
30
32
int
process_event
(
PHCompositeNode
*);
33
35
int
End
(
PHCompositeNode
*);
36
37
void
AddNode
(
const
std::string
&
name
,
const
int
detid=0);
38
39
protected
:
40
int
nblocks
;
41
Fun4AllHistoManager
*
hm
;
42
std::vector<TH1 *>
nhits
;
43
std::vector<TH1 *>
eloss
;
44
// std::vector<TH2 *> nhit_edep;
45
std::string
_filename
;
46
std::set<std::string>
_node_postfix
;
47
std::map<std::string, int>
_detid
;
48
TNtuple *
ntuptwr
;
49
TNtuple *
ntupe
;
50
TFile *
outfile
;
51
};
52
53
#endif
analysis
blob
master
AntiSigma
src
TowerTiming.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:47
using
1.8.2 with
sPHENIX GitHub integration