ATLAS Offline Software
CaloGlobalRoIBuilder.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
4  */
5 
6 /********************************************************************
7  *
8  * NAME: TrigCaloClusterMaker
9  * PACKAGE: Trigger/TrigAlgorithms/TrigCaloRec
10  *
11  * AUTHOR: D.O. Damazio
12  * CREATED: October 2023
13  *
14  * Builds RoIs from CaloCell, can also produce further cluster
15  *********************************************************************/
16 #ifndef TRIGCALOREC_CALOGLOBALROIBUILDER_H
17 #define TRIGCALOREC_CALOGLOBALROIBUILDER_H
18 
20 #include "CaloEvent/CaloClusterContainer.h"
24 #include "EventInfo/EventInfo.h"
32 
33 
35  public:
36  CaloGlobalRoIBuilder(const std::string& name, ISvcLocator* pSvcLocator);
37  virtual StatusCode initialize() override;
38  virtual StatusCode execute(const EventContext& ctx) const override;
39 
40  private:
42  "Cells", // property name
43  "cells", // default value of StoreGate key
44  "input CaloCellContainer "};
45  // adding noise handle for monitoring purposes
46  SG::ReadCondHandleKey<CaloNoise> m_noiseCDOKey{this,"CaloNoiseKey","totalNoise","SG Key of CaloNoise data object"};
47  Gaudi::Property<float> m_thr { this, "Thr", 4, "Threshold to pass" };
48  Gaudi::Property<float> m_abseta_thr { this, "AbsEtaThr", 2.5, "Threshold to define fiducial volume Abs Eta" };
49  Gaudi::Property<float> m_samp_thr { this, "SampThr", 7, "Threshold to define fiducial volume Samp" }; // only EM
50 
51  ToolHandle<RingerReFex> m_emAlgTools{ this, "RingerTool", {}, "RingerReFex"};
53  this, "ClustersName", "CaloClustersGlobal", "Calo cluster container"};
54  SG::WriteHandleKey<xAOD::TrigRingerRingsContainer> m_ringerContainerKey {this, "RingerKey", "Global_FastCaloRinger", "TrigRingerRings container key"};
55 
56 };
57 
58 #endif
TrigRingerRingsContainer.h
CaloGlobalRoIBuilder::CaloGlobalRoIBuilder
CaloGlobalRoIBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition: CaloGlobalRoIBuilder.cxx:26
RingerReFex.h
CaloGlobalRoIBuilder::m_inputCellsKey
SG::ReadHandleKey< CaloCellContainer > m_inputCellsKey
Definition: CaloGlobalRoIBuilder.h:50
TrigEMCluster.h
CaloGlobalRoIBuilder::m_noiseCDOKey
SG::ReadCondHandleKey< CaloNoise > m_noiseCDOKey
Definition: CaloGlobalRoIBuilder.h:55
CaloGlobalRoIBuilder::m_samp_thr
Gaudi::Property< float > m_samp_thr
Definition: CaloGlobalRoIBuilder.h:58
CaloGlobalRoIBuilder::m_ringerContainerKey
SG::WriteHandleKey< xAOD::TrigRingerRingsContainer > m_ringerContainerKey
Definition: CaloGlobalRoIBuilder.h:63
CaloGlobalRoIBuilder::m_thr
Gaudi::Property< float > m_thr
Definition: CaloGlobalRoIBuilder.h:56
SG::ReadHandleKey< CaloCellContainer >
TrigRingerRings.h
CaloGlobalRoIBuilder::m_clusterContainerKey
SG::WriteHandleKey< xAOD::TrigEMClusterContainer > m_clusterContainerKey
Definition: CaloGlobalRoIBuilder.h:61
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
TrigRingerRingsAuxContainer.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
CaloGlobalRoIBuilder
Definition: CaloGlobalRoIBuilder.h:34
TrigEMClusterAuxContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloGlobalRoIBuilder::m_emAlgTools
ToolHandle< RingerReFex > m_emAlgTools
Definition: CaloGlobalRoIBuilder.h:60
CaloGlobalRoIBuilder::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: CaloGlobalRoIBuilder.cxx:47
CaloGlobalRoIBuilder::m_abseta_thr
Gaudi::Property< float > m_abseta_thr
Definition: CaloGlobalRoIBuilder.h:57
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CaloNoise.h
CaloGlobalRoIBuilder::initialize
virtual StatusCode initialize() override
Definition: CaloGlobalRoIBuilder.cxx:32
SG::ReadCondHandleKey< CaloNoise >
TrigEMClusterContainer.h
ReadDecorHandle.h
Handle class for reading a decoration on an object.