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
TpcClusterCleaner.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TpcClusterCleaner.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
10
#ifndef TPCCLUSTERCLEANER_H
11
#define TPCCLUSTERCLEANER_H
12
13
#include <
fun4all/SubsysReco.h
>
14
15
#include <string>
16
#include <vector>
17
18
class
PHCompositeNode
;
19
class
TrkrCluster
;
20
class
TrkrClusterContainer
;
21
22
class
TpcClusterCleaner
:
public
SubsysReco
23
{
24
public
:
25
26
TpcClusterCleaner
(
const
std::string
&
name
=
"TpcClusterCleaner"
);
27
28
~TpcClusterCleaner
()
override
;
29
30
int
InitRun
(
PHCompositeNode
*topNode)
override
;
31
int
process_event
(
PHCompositeNode
*topNode)
override
;
32
int
End
(
PHCompositeNode
*topNode)
override
;
33
34
void
set_rphi_error_low_cut
(
double
cut){
_rphi_error_low_cut
= cut;}
35
void
set_rphi_error_high_cut
(
double
cut){
_rphi_error_high_cut
= cut;}
36
37
void
set_new_rphi_error
(
double
err
){
_new_rphi_error
=
err
;}
38
void
set_new_z_error
(
double
err
){
_new_z_error
=
err
;}
39
40
private
:
41
42
void
rotate_error
(
double
erphi,
double
ez,
double
phi
,
double
error
[][3]);
43
44
int
GetNodes
(
PHCompositeNode
* topNode);
45
TrkrClusterContainer
*
_cluster_map
=
nullptr
;
46
47
double
_rphi_error_low_cut
= 0.01;
48
double
_rphi_error_high_cut
= 0.1;
// made large enough to not matter for now
49
50
double
_new_rphi_error
= 0.05;
51
double
_new_z_error
= 0.1;
52
};
53
54
#endif // TPCCLUSTERCLEANER_H
coresoftware
blob
master
offline
packages
tpc
TpcClusterCleaner.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration