ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
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
class
TrkrHitSetContainer
;
22
23
class
TpcClusterCleaner
:
public
SubsysReco
24
{
25
public
:
26
27
TpcClusterCleaner
(
const
std::string &
name
=
"TpcClusterCleaner"
);
28
29
~TpcClusterCleaner
()
override
;
30
31
int
InitRun
(
PHCompositeNode
*topNode)
override
;
32
int
process_event
(
PHCompositeNode
*topNode)
override
;
33
int
End
(
PHCompositeNode
*topNode)
override
;
34
35
void
set_rphi_error_low_cut
(
double
cut){
_rphi_error_low_cut
= cut;}
36
void
set_rphi_error_high_cut
(
double
cut){
_rphi_error_high_cut
= cut;}
37
38
void
set_new_rphi_error
(
double
err
){
_new_rphi_error
=
err
;}
39
void
set_new_z_error
(
double
err
){
_new_z_error
=
err
;}
40
41
private
:
42
43
void
rotate_error
(
double
erphi,
double
ez,
double
phi
,
double
error
[][3]);
44
45
int
GetNodes
(
PHCompositeNode
* topNode);
46
TrkrHitSetContainer
*
_hitsets
=
nullptr
;
47
TrkrClusterContainer
*
_cluster_map
=
nullptr
;
48
49
double
_rphi_error_low_cut
= 0.01;
50
double
_rphi_error_high_cut
= 0.1;
// made large enough to not matter for now
51
52
double
_new_rphi_error
= 0.05;
53
double
_new_z_error
= 0.1;
54
};
55
56
#endif // TPCCLUSTERCLEANER_H
coresoftware
blob
master
offline
packages
tpc
TpcClusterCleaner.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:37
using
1.8.2 with
ECCE GitHub integration