ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigGepPerf
src
WFSClusterMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGL0GEPPERF_WFSCLUSTERMAKER_H
6
#define TRIGL0GEPPERF_WFSCLUSTERMAKER_H
7
8
#include "
./IClusterMaker.h
"
9
10
#include <map>
11
#include <string>
12
13
namespace
Gep
{
14
class
WFSClusterMaker
:
virtual
public
IClusterMaker
{
15
16
public
:
17
18
WFSClusterMaker
() {}
19
virtual
~WFSClusterMaker
() =
default
;
20
21
std::vector<Gep::Cluster>
22
makeClusters
(
const
pGepCellMap
&)
const override
;
23
24
std::string
getName
()
const override
;
25
26
private
:
27
28
float
m_seed_threshold
= 4.0;
29
float
m_clustering_threshold
= 2.0;
30
int
m_max_shells
= 8;
31
std::vector<int>
m_allowed_seed_samplings
= {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
32
std::vector<int>
m_allowed_clustering_samplings
= {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20};
33
34
bool
isSeedCell
(
const
Gep::GepCaloCell
& cell)
const
;
35
bool
isInAllowedSampling
(
int
sampling,
const
std::vector<int>& list_of_samplings)
const
;
36
bool
isNewCell
(
unsigned
int
id
,
const
std::vector<unsigned int>& seenCells)
const
;
37
38
std::vector<Gep::GepCaloCell>
39
clusterFromCells
(
const
Gep::GepCaloCell
& seed,
const
pGepCellMap
&)
const
;
40
41
Gep::Cluster
getClusterFromListOfCells
(
const
std::vector<Gep::GepCaloCell>& cells)
const
;
42
43
double
calculateClusterPhi
(
double
seed_phi,
double
delta_phi)
const
;
44
void
orderClustersInEt
(std::vector<Gep::Cluster> &v_clusters)
const
;
45
double
getDeltaPhi
(
double
phi
,
double
seed_phi)
const
;
46
};
47
}
48
49
#endif
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
IClusterMaker.h
pGepCellMap
std::unique_ptr< GepCellMap > pGepCellMap
Definition
IClusterMaker.h:17
Gep::IClusterMaker
Definition
IClusterMaker.h:21
Gep::WFSClusterMaker::clusterFromCells
std::vector< Gep::GepCaloCell > clusterFromCells(const Gep::GepCaloCell &seed, const pGepCellMap &) const
Definition
WFSClusterMaker.cxx:62
Gep::WFSClusterMaker::makeClusters
std::vector< Gep::Cluster > makeClusters(const pGepCellMap &) const override
Definition
WFSClusterMaker.cxx:10
Gep::WFSClusterMaker::m_seed_threshold
float m_seed_threshold
Definition
WFSClusterMaker.h:28
Gep::WFSClusterMaker::m_clustering_threshold
float m_clustering_threshold
Definition
WFSClusterMaker.h:29
Gep::WFSClusterMaker::getDeltaPhi
double getDeltaPhi(double phi, double seed_phi) const
Definition
WFSClusterMaker.cxx:155
Gep::WFSClusterMaker::getClusterFromListOfCells
Gep::Cluster getClusterFromListOfCells(const std::vector< Gep::GepCaloCell > &cells) const
Definition
WFSClusterMaker.cxx:119
Gep::WFSClusterMaker::m_max_shells
int m_max_shells
Definition
WFSClusterMaker.h:30
Gep::WFSClusterMaker::getName
std::string getName() const override
Definition
WFSClusterMaker.cxx:202
Gep::WFSClusterMaker::isSeedCell
bool isSeedCell(const Gep::GepCaloCell &cell) const
Definition
WFSClusterMaker.cxx:32
Gep::WFSClusterMaker::WFSClusterMaker
WFSClusterMaker()
Definition
WFSClusterMaker.h:18
Gep::WFSClusterMaker::m_allowed_seed_samplings
std::vector< int > m_allowed_seed_samplings
Definition
WFSClusterMaker.h:31
Gep::WFSClusterMaker::~WFSClusterMaker
virtual ~WFSClusterMaker()=default
Gep::WFSClusterMaker::m_allowed_clustering_samplings
std::vector< int > m_allowed_clustering_samplings
Definition
WFSClusterMaker.h:32
Gep::WFSClusterMaker::isNewCell
bool isNewCell(unsigned int id, const std::vector< unsigned int > &seenCells) const
Definition
WFSClusterMaker.cxx:51
Gep::WFSClusterMaker::isInAllowedSampling
bool isInAllowedSampling(int sampling, const std::vector< int > &list_of_samplings) const
Definition
WFSClusterMaker.cxx:42
Gep::WFSClusterMaker::calculateClusterPhi
double calculateClusterPhi(double seed_phi, double delta_phi) const
Definition
WFSClusterMaker.cxx:163
Gep::WFSClusterMaker::orderClustersInEt
void orderClustersInEt(std::vector< Gep::Cluster > &v_clusters) const
Definition
WFSClusterMaker.cxx:171
Gep
Definition
BasicGepClusterMaker.h:13
Gep::Cluster
Definition
Trigger/TrigT1/TrigGepPerf/src/Cluster.h:13
Gep::GepCaloCell
Definition
GepCaloCell.h:13
Generated on
for ATLAS Offline Software by
1.17.0