ATLAS Offline Software
Loading...
Searching...
No Matches
GepJetAlg.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_GEPJETALG_H
6#define TRIGL0GEPPERF_GEPJETALG_H
7
8/*
9 This algorithm creates jets from CaloClusters, and writes them out
10 as xAOD::Jets. The origin of the clusters maybe via standard ATLS
11 code, or by Gep clustering. The jet strategy is
12 carried out by helper objects.
13 The strategy used is chosen according to string set at configure time. *
14*/
15
16
17
19
21
24
25//Athena::Units::GeV
26#include "AthenaKernel/Units.h"
27
28#include <string>
29
30
32 public:
33
34 GepJetAlg( const std::string& name, ISvcLocator* pSvcLocator );
35
36 virtual StatusCode initialize() override;
37 virtual StatusCode execute(const EventContext& ) const override;
38
39
40 private:
41
42 Gaudi::Property<std::string> m_jetAlgName{this, "jetAlgName", "",
43 "Gep jet alg idenfifier"};
44
46 this, "caloClustersKey", "", "key to read in a CaloCluster constainer"};
47
49 this, "jFexSRJetRoIs", "L1_jFexSRJetRoISim", "key to read a L1 jet container"};
50
52 this, "outputJetsKey", "",
53 "key for xAOD:Jet wrappers for GepJets"};
54
55 // WTAConeMaker parameters
56 Gaudi::Property<float> m_WTAConstEtCut{this, "WTAConstEtCut", 2.0,
57 "Minimum Et for a tower to be considered as a constituent"};
58
59 Gaudi::Property<float> m_WTASeedEtCut{this, "WTASeedEtCut", 5.0,
60 "Minimum Et for a tower to be considered as a seed"};
61
62 Gaudi::Property<float> m_WTAJet_dR2{this, "WTAJet_dR2", 0.16,
63 "Jet area for merging constituents"};
64
65 Gaudi::Property<unsigned int> m_WTAMaxConstN{this, "WTAMaxConstN", 205,
66 "Maximum number of constituents per jet"};
67
68 Gaudi::Property<unsigned int> m_WTAMaxSeedSortingN{this, "WTAMaxSeedSortingN", 50,
69 "Maximum number of seeds to sort"};
70
71 Gaudi::Property<unsigned int> m_WTABlockN{this, "WTABlockN", 4,
72 "Number of blocks to divide the input towers into for parallel processing. Options: 1, 4"};
73
74 Gaudi::Property<std::string> m_WTASeedCleaningName{this, "WTASeedCleaningName", "TwoPass",
75 "Seed cleaning algorithm to use. Options: Baseline, TwoPass"};
76
77};
78
79#endif //> !TRIGL0GEPPERF_GEPJETALG_H
Wrapper to avoid constant divisions when using units.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::jFexSRJetRoIContainer > m_jFexSRJetsKey
Definition GepJetAlg.h:48
Gaudi::Property< float > m_WTASeedEtCut
Definition GepJetAlg.h:59
Gaudi::Property< float > m_WTAConstEtCut
Definition GepJetAlg.h:56
Gaudi::Property< std::string > m_jetAlgName
Definition GepJetAlg.h:42
virtual StatusCode initialize() override
Definition GepJetAlg.cxx:29
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_caloClustersKey
Definition GepJetAlg.h:45
virtual StatusCode execute(const EventContext &) const override
Definition GepJetAlg.cxx:42
Gaudi::Property< std::string > m_WTASeedCleaningName
Definition GepJetAlg.h:74
Gaudi::Property< unsigned int > m_WTABlockN
Definition GepJetAlg.h:71
Gaudi::Property< float > m_WTAJet_dR2
Definition GepJetAlg.h:62
Gaudi::Property< unsigned int > m_WTAMaxConstN
Definition GepJetAlg.h:65
Gaudi::Property< unsigned int > m_WTAMaxSeedSortingN
Definition GepJetAlg.h:68
SG::WriteHandleKey< xAOD::JetContainer > m_outputGepJetsKey
Definition GepJetAlg.h:51
GepJetAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition GepJetAlg.cxx:23
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.