ATLAS Offline Software
CaloFCalRetriever.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_CALOFCALRETRIEVER_H
6 #define JIVEXML_CALOFCALRETRIEVER_H
7 
8 
9 
10 #include "CaloEvent/CaloCellContainer.h"//readhandle template param
11 
12 #include "LArCabling/LArOnOffIdMapping.h"//readhandle template param
13 #include "LArRawConditions/LArADC2MeV.h"//readhandle template param
14 
15 #include "JiveXML/IDataRetriever.h"
17 #include "GaudiKernel/ToolHandle.h"
19 
20 #include <string>
21 #include <vector>
22 //
23 class IToolSvc;
24 class CaloCell_ID;
25 class Identifier;
26 
27 namespace JiveXML{
28 
49  class CaloFCalRetriever : virtual public IDataRetriever,
50  public AthAlgTool {
51 
52  public:
53 
55  CaloFCalRetriever(const std::string& type,const std::string& name,const IInterface* parent);
56 
58  virtual StatusCode retrieve(ToolHandle<IFormatTool> &FormatTool);
59  const DataMap getFCalData(const CaloCellContainer* cellContainer);
60 
62  virtual std::string dataTypeName() const { return "FCAL"; };
63 
64 
67 
68  private:
70  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
71 
73  { this, "ADC2MeVKey", "LArADC2MeV", "SG Key of the LArADC2MeV CDO" };
74 
76  SG::ReadHandleKey<CaloCellContainer> m_sgKey{this, "StoreGateKey", "AllCalo", "Name of the CaloCellContainer"};
80  bool m_fcal;
83  std::vector<Identifier::value_type> m_LArChannelsToIgnoreM5;
86  };
87 }
88 #endif
JiveXML::CaloFCalRetriever
Retrieves all Calo Cluster objects.
Definition: CaloFCalRetriever.h:50
JiveXML::CaloFCalRetriever::m_cellThreshold
double m_cellThreshold
Definition: CaloFCalRetriever.h:77
JiveXML::CaloFCalRetriever::m_sgKey
SG::ReadHandleKey< CaloCellContainer > m_sgKey
for properties
Definition: CaloFCalRetriever.h:76
JiveXML::CaloFCalRetriever::getFCalData
const DataMap getFCalData(const CaloCellContainer *cellContainer)
Retrieve FCal cell location and details.
Definition: CaloFCalRetriever.cxx:95
SG::ReadHandleKey< CaloCellContainer >
JiveXML::DataMap
std::map< std::string, DataVect > DataMap
Definition: DataType.h:59
JiveXML::CaloFCalRetriever::m_cellTimePrec
int m_cellTimePrec
Definition: CaloFCalRetriever.h:79
JiveXML::CaloFCalRetriever::m_doBadFCal
bool m_doBadFCal
Definition: CaloFCalRetriever.h:85
JiveXML::CaloFCalRetriever::m_cellEnergyPrec
int m_cellEnergyPrec
Definition: CaloFCalRetriever.h:78
LArADC2MeV.h
JiveXML::CaloFCalRetriever::m_cellConditionCut
bool m_cellConditionCut
Definition: CaloFCalRetriever.h:82
JiveXML::CaloFCalRetriever::m_doMaskLArChannelsM5
bool m_doMaskLArChannelsM5
Definition: CaloFCalRetriever.h:84
LArOnOffIdMapping.h
JiveXML::CaloFCalRetriever::dataTypeName
virtual std::string dataTypeName() const
Return the name of the data type.
Definition: CaloFCalRetriever.h:62
JiveXML::CaloFCalRetriever::m_fcal
bool m_fcal
Definition: CaloFCalRetriever.h:80
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::CaloFCalRetriever::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition: CaloFCalRetriever.h:70
JiveXML
This header is shared inbetween the C-style server thread and the C++ Athena ServerSvc.
Definition: BadLArRetriever.cxx:22
JiveXML::CaloFCalRetriever::initialize
StatusCode initialize()
Default AthAlgTool methods.
Definition: CaloFCalRetriever.cxx:55
ReadCondHandleKey.h
JiveXML::CaloFCalRetriever::CaloFCalRetriever
CaloFCalRetriever(const std::string &type, const std::string &name, const IInterface *parent)
Standard Constructor.
Definition: CaloFCalRetriever.cxx:31
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
SG::ReadCondHandleKey< LArOnOffIdMapping >
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
JiveXML::CaloFCalRetriever::m_LArChannelsToIgnoreM5
std::vector< Identifier::value_type > m_LArChannelsToIgnoreM5
Definition: CaloFCalRetriever.h:83
JiveXML::CaloFCalRetriever::m_calocell_id
const CaloCell_ID * m_calocell_id
Definition: CaloFCalRetriever.h:69
JiveXML::CaloFCalRetriever::retrieve
virtual StatusCode retrieve(ToolHandle< IFormatTool > &FormatTool)
Retrieve all the data.
Definition: CaloFCalRetriever.cxx:70
JiveXML::CaloFCalRetriever::m_doFCalCellDetails
bool m_doFCalCellDetails
Definition: CaloFCalRetriever.h:81
AthAlgTool
Definition: AthAlgTool.h:26
IDataRetriever.h
JiveXML::CaloFCalRetriever::m_adc2mevKey
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
Definition: CaloFCalRetriever.h:73
Identifier
Definition: IdentifierFieldParser.cxx:14