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
PHGhostRejection.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHGhostRejection.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
10
#ifndef PHGHOSTREJECTION_H
11
#define PHGHOSTREJECTION_H
12
13
#include <
fun4all/SubsysReco.h
>
14
#include <
trackbase/ActsSurfaceMaps.h
>
15
#include <
trackbase/ActsTrackingGeometry.h
>
16
17
#include <string>
18
#include <vector>
19
#include <map>
20
21
class
PHCompositeNode
;
22
class
TrackSeedContainer
;
23
class
TrkrCluster
;
24
class
TrackSeed
;
25
class
TrkrClusterContainer
;
26
27
class
PHGhostRejection
28
{
29
public
:
30
PHGhostRejection
() {}
31
PHGhostRejection
(
unsigned
int
verbosity
);
32
33
~PHGhostRejection
();
34
35
void
rejectGhostTracks
(std::vector<float>& trackChi2);
36
void
verbosity
(
int
verb) {
m_verbosity
= verb; }
37
void
trackSeedContainer
(
TrackSeedContainer
*seeds){
m_trackMap
= seeds;}
38
void
positionMap
(std::map<TrkrDefs::cluskey, Acts::Vector3>& map) {
m_positions
= map; }
39
40
private
:
41
42
bool
checkClusterSharing
(
TrackSeed
*tr1,
unsigned
int
trid1,
43
TrackSeed
*tr2,
unsigned
int
trid2);
44
45
double
_phi_cut
= 0.01;
46
double
_eta_cut
= 0.004;
47
double
_x_cut
= 0.3;
48
double
_y_cut
= 0.3;
49
double
_z_cut
= 0.4;
50
int
_n_iteration
= 0;
51
unsigned
int
m_verbosity
= 0;
52
53
TrackSeedContainer
*
m_trackMap
=
nullptr
;
54
55
std::map<TrkrDefs::cluskey, Acts::Vector3>
m_positions
;
56
};
57
58
#endif // PHGHOSTREJECTION_H
coresoftware
blob
master
offline
packages
trackreco
PHGhostRejection.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration