ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellDetailsFillerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOD3PDMAKER_CALOCELLDETAILSFILLERTOOL_H
6#define CALOD3PDMAKER_CALOCELLDETAILSFILLERTOOL_H
13
16#include "GaudiKernel/ToolHandle.h"
20
21class LArEM_ID;
22class LArFCAL_ID;
23class LArHEC_ID;
24class TileID;
25
26namespace D3PD {
27
28
33 : public BlockFillerTool<CaloCell>
34{
35public:
42 CaloCellDetailsFillerTool (const std::string& type,
43 const std::string& name,
44 const IInterface* parent);
45
46 virtual StatusCode initialize() override;
47
48
50 virtual StatusCode book() override;
51
52
61 virtual StatusCode fill (const CaloCell& p) override;
62
63private:
64
65 unsigned int CaloCell_GetDetectorInfo(const CaloCell& cell) const;
66
75
76 ToolHandle<ICaloBadChanTool> m_pb_tool
77 { this, "BadChannelTool", "CaloBadChanTool", "" };
78
84 "CaloNoise", "", "Calo noise object name"};
85
86 // variables to be in ntuple.
87
88 float * m_xCells;
89 float * m_yCells;
90 float * m_zCells;
92 float * m_timeCells;
93 int * m_badCell;
96 unsigned int * m_offId;
97 float * m_sigma;
98
100
101
102};
103
104}
105#endif
106
107
108
109
110
Type-safe wrapper for block filler tools.
Data object for each calorimeter readout cell.
Definition CaloCell.h:57
Type-safe wrapper for block filler tools.
virtual StatusCode fill(const CaloCell &p) override
Fill one block — type-safe version.
unsigned int CaloCell_GetDetectorInfo(const CaloCell &cell) const
ToolHandle< ICaloBadChanTool > m_pb_tool
CaloCellDetailsFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
SG::ReadCondHandleKey< CaloNoise > m_caloNoiseKey
Key of the CaloNoise Conditions data object.
virtual StatusCode book() override
Book variables for this block.
virtual StatusCode initialize() override
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Block filler tool for noisy FEB information.