ATLAS Offline Software
BadLArRetriever.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_BADLARRETRIEVER_H
6 #define JIVEXML_BADLARRETRIEVER_H
7 
8 
9 
12 
13 #include "JiveXML/IDataRetriever.h"
15 #include "GaudiKernel/ToolHandle.h"
16 
17 #include "JiveXML/DataType.h" //DataMap typedef
18 
19 #include <string>
20 class CaloCell_ID;
21 namespace JiveXML{
22 
39  class BadLArRetriever : virtual public IDataRetriever,
40  public AthAlgTool {
41 
42  public:
43 
45  BadLArRetriever(const std::string& type,const std::string& name,const IInterface* parent);
46 
48  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
49  const DataMap getBadLArData(const CaloCellContainer* cellContainer);
50 
52  virtual std::string dataTypeName() const { return "BadLAr"; };
53 
56 
57  private:
59  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
60 
62  SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
65  bool m_lar;
66  bool m_doBadLAr;
68  };
69 }
70 #endif
DataType.h
JiveXML::BadLArRetriever::m_cellEnergyPrec
int m_cellEnergyPrec
Definition: BadLArRetriever.h:64
JiveXML::BadLArRetriever::m_cellThreshold
double m_cellThreshold
Definition: BadLArRetriever.h:63
JiveXML::BadLArRetriever::getBadLArData
const DataMap getBadLArData(const CaloCellContainer *cellContainer)
Retrieve LAr bad cell location and details.
Definition: BadLArRetriever.cxx:89
JiveXML::BadLArRetriever::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition: BadLArRetriever.h:58
SG::ReadHandleKey< CaloCellContainer >
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::BadLArRetriever::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: BadLArRetriever.h:59
LArOnOffIdMapping.h
JiveXML::BadLArRetriever::m_cellConditionCut
bool m_cellConditionCut
Definition: BadLArRetriever.h:67
JiveXML::BadLArRetriever::BadLArRetriever
BadLArRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: BadLArRetriever.cxx:30
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
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
JiveXML::BadLArRetriever
Retrieves all Calo Cluster objects.
Definition: BadLArRetriever.h:40
JiveXML::BadLArRetriever::m_sgKey
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Definition: BadLArRetriever.h:62
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
JiveXML::BadLArRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: BadLArRetriever.h:52
JiveXML::BadLArRetriever::m_lar
bool m_lar
Definition: BadLArRetriever.h:65
SG::ReadCondHandleKey< LArOnOffIdMapping >
JiveXML::BadLArRetriever::m_doBadLAr
bool m_doBadLAr
Definition: BadLArRetriever.h:66
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::BadLArRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: BadLArRetriever.cxx:64
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h
JiveXML::BadLArRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: BadLArRetriever.cxx:50