ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigGepPerf
src
BasicGepClusterMaker.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRIGGEPPERF_BASICGEPCLUSTERMAKER_H
6
#define TRIGGEPPERF_BASICGEPCLUSTERMAKER_H
7
8
#include "
./IClusterMaker.h
"
9
10
11
#include <string>
12
13
namespace
Gep
{
14
class
BasicGepClusterMaker
:
virtual
public
IClusterMaker
{
15
16
public
:
17
18
BasicGepClusterMaker
() =
default
;
19
~BasicGepClusterMaker
() =
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
const
float
m_seed_threshold
= 4.0;
29
const
float
m_clustering_threshold
= 2.0;
30
const
int
m_max_shells
= 9999;
31
32
const
std::vector<int>
m_disallowed_seed_samplings
= {};
33
const
std::vector<int>
m_disallowed_clustering_samplings
= {};
34
35
bool
isSeedCell
(
const
Gep::GepCaloCell
& cell,
const
std::vector<unsigned int> &seenSeedCells)
const
;
36
bool
isInAllowedSampling
(
int
sampling,
const
std::vector<int>& list_of_samplings)
const
;
37
bool
isNewCell
(
unsigned
int
id
,
const
std::vector<unsigned int>& seenCells)
const
;
38
39
std::vector<Gep::GepCaloCell>
40
clusterFromCells
(
const
Gep::GepCaloCell
& seed,
const
pGepCellMap
&, std::vector<unsigned int> &seenSeedCells)
const
;
41
42
Gep::Cluster
getClusterFromListOfCells
(
const
std::vector<Gep::GepCaloCell>& cells)
const
;
43
};
44
}
45
46
#endif
IClusterMaker.h
pGepCellMap
std::unique_ptr< GepCellMap > pGepCellMap
Definition
IClusterMaker.h:17
Gep::BasicGepClusterMaker::isNewCell
bool isNewCell(unsigned int id, const std::vector< unsigned int > &seenCells) const
Definition
BasicGepClusterMaker.cxx:51
Gep::BasicGepClusterMaker::m_disallowed_seed_samplings
const std::vector< int > m_disallowed_seed_samplings
Definition
BasicGepClusterMaker.h:32
Gep::BasicGepClusterMaker::BasicGepClusterMaker
BasicGepClusterMaker()=default
Gep::BasicGepClusterMaker::makeClusters
std::vector< Gep::Cluster > makeClusters(const pGepCellMap &) const override
Definition
BasicGepClusterMaker.cxx:8
Gep::BasicGepClusterMaker::isSeedCell
bool isSeedCell(const Gep::GepCaloCell &cell, const std::vector< unsigned int > &seenSeedCells) const
Definition
BasicGepClusterMaker.cxx:31
Gep::BasicGepClusterMaker::m_disallowed_clustering_samplings
const std::vector< int > m_disallowed_clustering_samplings
Definition
BasicGepClusterMaker.h:33
Gep::BasicGepClusterMaker::isInAllowedSampling
bool isInAllowedSampling(int sampling, const std::vector< int > &list_of_samplings) const
Definition
BasicGepClusterMaker.cxx:42
Gep::BasicGepClusterMaker::clusterFromCells
std::vector< Gep::GepCaloCell > clusterFromCells(const Gep::GepCaloCell &seed, const pGepCellMap &, std::vector< unsigned int > &seenSeedCells) const
Definition
BasicGepClusterMaker.cxx:62
Gep::BasicGepClusterMaker::~BasicGepClusterMaker
~BasicGepClusterMaker()=default
Gep::BasicGepClusterMaker::getClusterFromListOfCells
Gep::Cluster getClusterFromListOfCells(const std::vector< Gep::GepCaloCell > &cells) const
Definition
BasicGepClusterMaker.cxx:123
Gep::BasicGepClusterMaker::getName
std::string getName() const override
Definition
BasicGepClusterMaker.cxx:147
Gep::BasicGepClusterMaker::m_max_shells
const int m_max_shells
Definition
BasicGepClusterMaker.h:30
Gep::BasicGepClusterMaker::m_clustering_threshold
const float m_clustering_threshold
Definition
BasicGepClusterMaker.h:29
Gep::BasicGepClusterMaker::m_seed_threshold
const float m_seed_threshold
Definition
BasicGepClusterMaker.h:28
Gep::IClusterMaker
Definition
IClusterMaker.h:21
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