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"
29
30
34class CaloCell;
35class CaloIdManager;
36
42{
43public:
45 LArSCSimpleMaker(const std::string& name, ISvcLocator* pSvcLocator);
47
48
50 StatusCode initialize();
51
53 StatusCode execute(const EventContext& context) const;
54
55private:
57 ToolHandle<ICaloSuperCellIDTool> m_scidtool
58 { this, "SCIDTool", "CaloSuperCellIDTool" ,
59 "Offline / supercell mapping tool."};
60
63 { this, "CellContainer", "AllCalo",
64 "SG key for the input calorimeter cell container"};
65
68 { this, "SCellContainer", "SCellContainer",
69 "SG key for the output supercell LAr channel container"};
70
73 { this, "CaloNoiseSigmaDiff", "CaloNoiseSigmaDiff", "Sigma Diff for CaloNoise with High and Medium gain"};
74
77 {this, "BCIDAvgKey", "CaloBCIDAverage", "" };
78
79 // compensate for Noise (superCell from cells with high gain
80 Gaudi::Property<bool> m_compNoise{this,"CompNoise",true,"Compensate for Noise difference in LAr between high and medium gain"};
81 // compensate for BCID effect
82 Gaudi::Property<bool> m_addBCID{this,"addBCID",true,"Add BCID compensation back to cells prior to sum them up"};
83
84 // Super Cell DD manager key
86 this,"CaloSuperCellDetDescrManager","CaloSuperCellDetDescrManager","SG key of the resulting CaloSuperCellDetDescrManager"};
87
90
91
92};
93
94
95#endif // not LARROD_LARSCSIMPLEMAKER_H
defines and typedefs for IOVSvc
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.