ATLAS Offline Software
Loading...
Searching...
No Matches
LArSCSimpleMaker.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 LARROD_LARSCSIMPLEMAKER_H
6#define LARROD_LARSCSIMPLEMAKER_H
7// +======================================================================+
8// + +
9// + Author ........: Denis Oliveira Damazio +
10// + Institute ......: BNL +
11// + Creation date .: 17/06/2012 +
12// + Move to MT in : 20/02/2021
13// + +
14// +======================================================================+
15//
16// ....... include
17//
18
20#include "GaudiKernel/ToolHandle.h"
28
29
33class CaloCell;
34class CaloIdManager;
35
41{
42public:
44 LArSCSimpleMaker(const std::string& name, ISvcLocator* pSvcLocator);
46
47
49 StatusCode initialize();
50
52 StatusCode execute(const EventContext& context) const;
53
54private:
56 ToolHandle<ICaloSuperCellIDTool> m_scidtool
57 { this, "SCIDTool", "CaloSuperCellIDTool" ,
58 "Offline / supercell mapping tool."};
59
62 { this, "CellContainer", "AllCalo",
63 "SG key for the input calorimeter cell container"};
64
67 { this, "SCellContainer", "SCellContainer",
68 "SG key for the output supercell LAr channel container"};
69
72 { this, "CaloNoiseSigmaDiff", "CaloNoiseSigmaDiff", "Sigma Diff for CaloNoise with High and Medium gain"};
73
76 {this, "BCIDAvgKey", "CaloBCIDAverage", "" };
77
78 // compensate for Noise (superCell from cells with high gain
79 Gaudi::Property<bool> m_compNoise{this,"CompNoise",true,"Compensate for Noise difference in LAr between high and medium gain"};
80 // compensate for BCID effect
81 Gaudi::Property<bool> m_addBCID{this,"addBCID",true,"Add BCID compensation back to cells prior to sum them up"};
82
83 // Super Cell DD manager key
85 this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager"};
86
89
90
91};
92
93
94#endif // not LARROD_LARSCSIMPLEMAKER_H
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.
An algorithm that can be simultaneously executed in multiple threads.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
This class groups all DetDescr information related to a CaloCell.
This class initializes the Calo (LAr and Tile) offline identifiers.
Interface for tool to map between calorimeter cells and supercells.
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloSuperCellMgrKey
Gaudi::Property< bool > m_addBCID
SG::WriteHandleKey< CaloCellContainer > m_sCellContainerKey
Property: SG key for the output supercell LAr channel container.
StatusCode execute(const EventContext &context) const
Algorithm execute method.
SG::ReadHandleKey< CaloCellContainer > m_cellContainerKey
Property: SG key for the input calorimeter cell container.
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Property: Offline / supercell mapping tool.
StatusCode initialize()
Standard Gaudi initialize method.
const CaloIdManager * m_calo_id_manager
Entry point for calorimeter ID helpers.
SG::ReadCondHandleKey< CaloNoiseSigmaDiff > m_noise_per_cell_Key
Property SG Key for the Expected Noise Sigma diff in diff gains.
SG::ReadHandleKey< CaloBCIDAverage > m_bcidAvgKey
Property SG Key for the CaloLumiBCID.
LArSCSimpleMaker(const std::string &name, ISvcLocator *pSvcLocator)
Standard Gaudi algorithm constructor.
Gaudi::Property< bool > m_compNoise
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.