ATLAS Offline Software
CaloMBTSRetriever.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 JIVEXML_CALOMBTSRETRIEVER_H
6 #define JIVEXML_CALOMBTSRETRIEVER_H
7 
8 
9 
16 
17 #include "JiveXML/IDataRetriever.h"
19 #include "GaudiKernel/ToolHandle.h"
20 
21 #include <string>
22 #include <vector>
23 #include <cstddef>
24 #include <map>
25 
26 class IToolSvc;
27 class Identifier;
28 class TileTBID;
29 
30 namespace JiveXML{
31 
47  class CaloMBTSRetriever : virtual public IDataRetriever,
48  public AthAlgTool {
49 
50  public:
51 
53  CaloMBTSRetriever(const std::string& type,const std::string& name,const IInterface* parent);
54 
56  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
57  const DataMap getMBTSData(const TileCellContainer* tileMBTSCellContainer);
58 
60  virtual std::string dataTypeName() const { return "MBTS"; };
61 
64 
65  private:
66  ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
67  "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
68 
69  ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
70  "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale calibration tool"};
71 
73 
75  SG::ReadHandleKey<TileCellContainer> m_sgKeyMBTS{this, "StoreGateKey", "MBTSContainer", "Name of the TileCellContainer"};
76  SG::ReadHandleKey<TileDigitsContainer> m_sgKeyTileDigits{this, "TileDigitsContainerKey", "", "Name of the TileDigitsContainer"};
77  SG::ReadHandleKey<TileRawChannelContainer> m_sgKeyTileRawChannel{this, "TileRawChannelContainerKey", "", "Name of the TileRawChannelContainer"};
79  bool m_mbts;
82  };
83 }
84 #endif
JiveXML::CaloMBTSRetriever::m_tileTBID
const TileTBID * m_tileTBID
Definition: CaloMBTSRetriever.h:72
JiveXML::CaloMBTSRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: CaloMBTSRetriever.cxx:56
JiveXML::CaloMBTSRetriever
Retrieves all Calo Cluster objects.
Definition: CaloMBTSRetriever.h:48
JiveXML::CaloMBTSRetriever::m_sgKeyTileDigits
SG::ReadHandleKey< TileDigitsContainer > m_sgKeyTileDigits
Definition: CaloMBTSRetriever.h:76
JiveXML::CaloMBTSRetriever::m_mbts
bool m_mbts
Definition: CaloMBTSRetriever.h:79
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
TileCondToolTiming.h
TileRawChannelContainer.h
JiveXML::CaloMBTSRetriever::m_mbtsdigit
bool m_mbtsdigit
Definition: CaloMBTSRetriever.h:80
TileCondToolEmscale.h
JiveXML::CaloMBTSRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: CaloMBTSRetriever.h:60
TileDigitsContainer.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
JiveXML::IDataRetriever
Interface for all DataRetriever classes, that extract event data from StoreGate and pass them on to a...
Definition: IDataRetriever.h:25
JiveXML::CaloMBTSRetriever::m_tileToolEmscale
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
Definition: CaloMBTSRetriever.h:69
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
JiveXML::CaloMBTSRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: CaloMBTSRetriever.cxx:78
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JiveXML::CaloMBTSRetriever::m_sgKeyMBTS
SG::ReadHandleKey< TileCellContainer > m_sgKeyMBTS
properties:
Definition: CaloMBTSRetriever.h:75
JiveXML::CaloMBTSRetriever::m_tileToolTiming
ToolHandle< TileCondToolTiming > m_tileToolTiming
Definition: CaloMBTSRetriever.h:66
CaloCellContainer.h
JiveXML::CaloMBTSRetriever::m_sgKeyTileRawChannel
SG::ReadHandleKey< TileRawChannelContainer > m_sgKeyTileRawChannel
Definition: CaloMBTSRetriever.h:77
JiveXML::CaloMBTSRetriever::getMBTSData
const DataMap getMBTSData(const TileCellContainer *tileMBTSCellContainer)
Retrieve MBTS cell location and details.
Definition: CaloMBTSRetriever.cxx:103
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::CaloMBTSRetriever::m_mbtsCellDetails
bool m_mbtsCellDetails
Definition: CaloMBTSRetriever.h:81
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
AthAlgTool
Definition: AthAlgTool.h:26
TileContainer
Definition: TileContainer.h:38
IDataRetriever.h
TileCellContainer.h
JiveXML::CaloMBTSRetriever::CaloMBTSRetriever
CaloMBTSRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: CaloMBTSRetriever.cxx:29
JiveXML::CaloMBTSRetriever::m_mbtsThreshold
double m_mbtsThreshold
Definition: CaloMBTSRetriever.h:78
Identifier
Definition: IdentifierFieldParser.cxx:14