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
tpc_hits.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file tpc_hits.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef TPC_HITS_H
4
#define TPC_HITS_H
5
6
#include "
TPCMap.h
"
7
#include "
TPC_RawHit.h
"
8
9
#include <
trackbase/TrkrDefs.h
>
10
#include <
trackbase/TrkrHitSet.h
>
11
12
#include <
fun4all/SubsysReco.h
>
13
14
#include <memory>
15
#include <string>
16
17
class
PHCompositeNode
;
18
class
Fun4AllHistoManager
;
19
//class TrkrHitSetContainer;
20
//class TrkrHitSet;
21
//class TrkrHit;
22
class
TH2;
23
24
class
tpc_hits
:
public
SubsysReco
25
{
26
public
:
27
tpc_hits
(
const
std::string
&
name
=
"tpc_hits"
);
28
29
~tpc_hits
()
override
;
30
31
int
Init
(
PHCompositeNode
*topNode)
override
;
32
38
int
InitRun
(
PHCompositeNode
*topNode)
override
;
39
43
int
process_event
(
PHCompositeNode
*topNode)
override
;
44
46
//int ResetEvent(PHCompositeNode *topNode) override;
47
49
//int EndRun(const int runnumber) override;
50
52
int
End
(
PHCompositeNode
*topNode)
override
;
53
55
//int Reset(PHCompositeNode * /*topNode*/) override;
56
57
//void Print(const std::string &what = "ALL") const override;
58
59
protected
:
60
Fun4AllHistoManager
*
hm
=
nullptr
;
61
std::string
_filename
;
62
63
static
const
int
layercount
= 16;
64
static
const
int
layeroffset
= 7 + 16;
65
66
//TrkrHitSetContainer *m_hits = nullptr;
67
TrkrHitSet
*
m_hitset
[
layercount
] = {};
68
//TrkrHit *m_hit = nullptr;
69
70
// RawHitSetContainer *m_rawhits __attribute__ ((unused)) = nullptr;
71
72
TPCMap
M
;
73
74
int
starting_BCO
;
75
int
rollover_value
;
76
int
current_BCOBIN
;
77
78
private
:
79
80
TH2*
_h_hit_XY
=
nullptr
;
81
82
};
83
84
#endif // TPC_HITS_H
coresoftware
blob
master
offline
packages
rawtodst
tpc_hits.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration