ATLAS Offline Software
LArRAWtoSuperCell.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
16 #ifndef LARCELL_LARRAWTOSUPERCELL
17 #define LARCELL_LARRAWTOSUPERCELL
18 
20 #include "GaudiKernel/ToolHandle.h"
27 
28 
30 class LArOnOffIdMapping;
32 
34 {
35 
36 public :
37  LArRAWtoSuperCell( const std::string& name, ISvcLocator* pSvcLocator);
38  virtual ~LArRAWtoSuperCell() { }
40  StatusCode finalize() { return StatusCode::SUCCESS;}
41  StatusCode execute(const EventContext& context) const;
42 
43 private:
44 
47  { this, "SCellContainerIn", "SC_ET",
48  "SG key for the input supercell LAr channel container"};
49 
52  { this, "SCellContainerOut", "SCell_ET",
53  "SG key for the output supercell LAr channel container"};
54 
55  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"};
56 
59  {this, "CaloSuperCellDetDescrManager", "CaloSuperCellDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" };
60 
63  {this, "LArBadChannelKey", "LArBadChannelSC", "Key of the LArBadChannelCont SC" };
66  {this, "LArMaskedChannelKey", "", "Key of the OTF-Masked SC" };
67 
68  BooleanProperty m_isReco{this, "isReco", false, "is input container reconstructed cells ?"};
69 
70  IntegerProperty m_bcidOffset {this, "BCIDOffset", 0, "offset from bcid'ed energy"};
71 
72  //Identifier helper
74 
75 };
76 
77 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LArRAWtoSuperCell::LArRAWtoSuperCell
LArRAWtoSuperCell(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArRAWtoSuperCell.cxx:20
LArRawSCContainer.h
LArRAWtoSuperCell::m_bcidOffset
IntegerProperty m_bcidOffset
Definition: LArRAWtoSuperCell.h:70
LArRAWtoSuperCell::initialize
StatusCode initialize()
Definition: LArRAWtoSuperCell.cxx:26
LArRAWtoSuperCell::m_caloMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloMgrKey
Geometry manager.
Definition: LArRAWtoSuperCell.h:59
SG::ReadHandleKey< LArRawSCContainer >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CaloSuperCellDetDescrManager
Definition: CaloDetDescrManager.h:490
LArBadChannelCont.h
LArRAWtoSuperCell::m_sCellContainerOutKey
SG::WriteHandleKey< CaloCellContainer > m_sCellContainerOutKey
Property: SG key for the output supercell LAr channel container.
Definition: LArRAWtoSuperCell.h:52
SG::WriteHandleKey< CaloCellContainer >
LArRAWtoSuperCell::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: LArRAWtoSuperCell.h:55
LArRAWtoSuperCell::m_sCellContainerInKey
SG::ReadHandleKey< LArRawSCContainer > m_sCellContainerInKey
Property: SG key for the input calorimeter cell container.
Definition: LArRAWtoSuperCell.h:47
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArRAWtoSuperCell::m_maskedContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_maskedContKey
OTF Channel masking for Super-Cells.
Definition: LArRAWtoSuperCell.h:66
LArRAWtoSuperCell::m_laronline_id
const LArOnline_SuperCellID * m_laronline_id
Definition: LArRAWtoSuperCell.h:73
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
LArRAWtoSuperCell::m_isReco
BooleanProperty m_isReco
Definition: LArRAWtoSuperCell.h:68
LArRAWtoSuperCell::finalize
StatusCode finalize()
Definition: LArRAWtoSuperCell.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArRAWtoSuperCell::m_bcContKey
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Bad Channel masking for Super-Cells.
Definition: LArRAWtoSuperCell.h:63
CaloCellContainer.h
LArOnline_SuperCellID
Definition: LArOnline_SuperCellID.h:20
LArRAWtoSuperCell
Definition: LArRAWtoSuperCell.h:34
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArRAWtoSuperCell::execute
StatusCode execute(const EventContext &context) const
Definition: LArRAWtoSuperCell.cxx:40
LArRAWtoSuperCell::~LArRAWtoSuperCell
virtual ~LArRAWtoSuperCell()
Definition: LArRAWtoSuperCell.h:38
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20