#include <CaloCoolIdTool.h>
|
| static const InterfaceID & | interfaceID () |
| | Returns the tool's InterfaceID.
|
Definition at line 26 of file CaloCoolIdTool.h.
◆ StoreGateSvc_t
◆ CaloCoolIdTool()
| CaloCoolIdTool::CaloCoolIdTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Ctor.
Definition at line 13 of file CaloCoolIdTool.cxx.
15 :
18{
19declareInterface<ICaloCoolIdTool>( this );
20}
◆ ~CaloCoolIdTool()
| CaloCoolIdTool::~CaloCoolIdTool |
( |
| ) |
|
|
virtualdefault |
◆ declareGaudiProperty()
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
158 {
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
◆ declareProperty()
Definition at line 145 of file AthCommonDataStore.h.
145 {
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
◆ detStore()
◆ evtStore()
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ getCoolChannelId()
| unsigned int CaloCoolIdTool::getCoolChannelId |
( |
unsigned int | cellHash, |
|
|
unsigned int & | subHash ) const |
|
virtual |
Returns the cool channel id and subHash for a given calorimter cell.
- Parameters
-
| cellHash | Calorimeter cell hash |
| subHash | The "channel" number of the cell in the CaloCondBlob |
Implements ICaloCoolIdTool.
Definition at line 44 of file CaloCoolIdTool.cxx.
45{
46 int subCalo(0);
47 subHash =
m_calo_id->subcalo_cell_hash(cellHash, subCalo);
48
49
51
52
53
54
55
56
57
58
59
60
61 if (subHash >= 141440) {
62 subHash-=141440;
64 }
65 else if (subHash>=86656) {
66 subHash-=86656;
68 }
69 else if (subHash>=31872) {
70 subHash-=31872;
72 }
73 else
75 }
78 }
79
82 }
83
86 }
87
88
89
90 msg(MSG::ERROR) <<
"cellHash is neither LAr nor Tile, something is deeply wrong" <<
endmsg;
91 std::abort();
92}
◆ initialize()
| StatusCode CaloCoolIdTool::initialize |
( |
| ) |
|
Initializes the tool.
Definition at line 30 of file CaloCoolIdTool.cxx.
31{
34 msg(MSG::ERROR) <<
"Failed to retrieve CaloCell_ID" <<
endmsg;
36 }
37
38 return StatusCode::SUCCESS;
39}
const ServiceHandle< StoreGateSvc > & detStore() const
::StatusCode StatusCode
StatusCode definition for legacy code.
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| const InterfaceID & CaloCoolIdTool::interfaceID |
( |
| ) |
|
|
inlinestatic |
◆ msg()
◆ msgLvl()
| bool AthCommonMsg< AlgTool >::msgLvl |
( |
const MSG::Level | lvl | ) |
const |
|
inlineinherited |
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
Definition at line 380 of file AthCommonDataStore.h.
381 {
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
Definition at line 308 of file AthCommonDataStore.h.
308 {
309
310
313 for (
auto k :
keys) {
315 }
316 }
317 }
std::vector< SG::VarHandleKeyArray * > m_vhka
◆ m_calo_id
◆ m_detStore
◆ m_evtStore
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: