ATLAS Offline Software
CaloMBTSRetriever.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JIVEXML_CALOMBTSRETRIEVER_H
6 #define JIVEXML_CALOMBTSRETRIEVER_H
7 
8 #include <string>
9 #include <vector>
10 #include <cstddef>
11 #include <map>
12 
20 
21 #include "JiveXML/IDataRetriever.h"
23 #include "GaudiKernel/ToolHandle.h"
24 
25 class IToolSvc;
26 class Identifier;
27 class TileTBID;
28 
29 namespace JiveXML{
30 
46  class CaloMBTSRetriever : virtual public IDataRetriever,
47  public AthAlgTool {
48 
49  public:
50 
52  CaloMBTSRetriever(const std::string& type,const std::string& name,const IInterface* parent);
53 
55  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
56  const DataMap getMBTSData(const TileCellContainer* tileMBTSCellContainer);
57 
59  virtual std::string dataTypeName() const { return "MBTS"; };
60 
63 
64  private:
65  ToolHandle<TileCondToolTiming> m_tileToolTiming{this,
66  "TileCondToolTiming", "TileCondToolTiming", "Tile timing tool"};
67 
68  ToolHandle<TileCondToolEmscale> m_tileToolEmscale{this,
69  "TileCondToolEmscale", "TileCondToolEmscale", "Tile EM scale calibration tool"};
70 
72 
74  SG::ReadHandleKey<TileCellContainer> m_sgKeyMBTS{this, "StoreGateKey", "MBTSContainer", "Name of the TileCellContainer"};
75  SG::ReadHandleKey<TileDigitsContainer> m_sgKeyTileDigits{this, "TileDigitsContainerKey", "", "Name of the TileDigitsContainer"};
76  SG::ReadHandleKey<TileRawChannelContainer> m_sgKeyTileRawChannel{this, "TileRawChannelContainerKey", "", "Name of the TileRawChannelContainer"};
78  bool m_mbts;
81  };
82 }
83 #endif
JiveXML::CaloMBTSRetriever::m_tileTBID
const TileTBID * m_tileTBID
Definition: CaloMBTSRetriever.h:71
JiveXML::CaloMBTSRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: CaloMBTSRetriever.cxx:57
JiveXML::CaloMBTSRetriever
Retrieves all Calo Cluster objects.
Definition: CaloMBTSRetriever.h:47
JiveXML::CaloMBTSRetriever::m_sgKeyTileDigits
SG::ReadHandleKey< TileDigitsContainer > m_sgKeyTileDigits
Definition: CaloMBTSRetriever.h:75
JiveXML::CaloMBTSRetriever::m_mbts
bool m_mbts
Definition: CaloMBTSRetriever.h:78
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
CaloCell_ID.h
TileRawChannelContainer.h
JiveXML::CaloMBTSRetriever::m_mbtsdigit
bool m_mbtsdigit
Definition: CaloMBTSRetriever.h:79
TileCondToolEmscale.h
JiveXML::CaloMBTSRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: CaloMBTSRetriever.h:59
TileDigitsContainer.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
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:68
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:21
JiveXML::CaloMBTSRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: CaloMBTSRetriever.cxx:79
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
JiveXML::CaloMBTSRetriever::m_sgKeyMBTS
SG::ReadHandleKey< TileCellContainer > m_sgKeyMBTS
properties:
Definition: CaloMBTSRetriever.h:74
JiveXML::CaloMBTSRetriever::m_tileToolTiming
ToolHandle< TileCondToolTiming > m_tileToolTiming
Definition: CaloMBTSRetriever.h:65
CaloCellContainer.h
JiveXML::CaloMBTSRetriever::m_sgKeyTileRawChannel
SG::ReadHandleKey< TileRawChannelContainer > m_sgKeyTileRawChannel
Definition: CaloMBTSRetriever.h:76
JiveXML::CaloMBTSRetriever::getMBTSData
const DataMap getMBTSData(const TileCellContainer *tileMBTSCellContainer)
Retrieve MBTS cell location and details.
Definition: CaloMBTSRetriever.cxx:104
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::CaloMBTSRetriever::m_mbtsCellDetails
bool m_mbtsCellDetails
Definition: CaloMBTSRetriever.h:80
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:30
JiveXML::CaloMBTSRetriever::m_mbtsThreshold
double m_mbtsThreshold
Definition: CaloMBTSRetriever.h:77