#include <HISubtractedCellMakerTool.h>
Definition at line 20 of file HISubtractedCellMakerTool.h.
◆ StoreGateSvc_t
◆ HISubtractedCellMakerTool()
| HISubtractedCellMakerTool::HISubtractedCellMakerTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
◆ 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)
◆ DeclareInterfaceID()
◆ 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
◆ initialize()
| StatusCode HISubtractedCellMakerTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 26 of file HISubtractedCellMakerTool.cxx.
27{
29 return StatusCode::SUCCESS;
30}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ 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.
◆ 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.
◆ process()
| StatusCode HISubtractedCellMakerTool::process |
( |
CaloCellContainer * | theCellContainer, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
Implements ICaloCellMakerTool.
Definition at line 32 of file HISubtractedCellMakerTool.cxx.
34{
36
37 SG::ReadHandle<xAOD::HIEventShapeContainer> readHandleEvtShape (
m_eventShapeKey , ctx);
38 shape = readHandleEvtShape.cptr();
39
41 if(index==nullptr)
42 {
44 return StatusCode::FAILURE;
45 }
46
48 {
50 return StatusCode::SUCCESS;
51 }
52
55
56 for(auto pCell : *theCells)
57 {
59 double eta=pCell->eta();
60 double phi=pCell->phi();
61
63 if( bin >= shape->
size() )
64 {
66 {
67 double fp_round=(
eta > 0.) ? -5e-3 : 5
e-3;
69 }
70 }
71
78 pCell->addEnergy(-ue);
79 }
80 return StatusCode::SUCCESS;
81}
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_MSG_WARNING(x)
const T * at(size_type n) const
Access an element, as an rvalue.
size_type size() const noexcept
Returns the number of elements in the collection.
static const HICaloRange & getRange()
float getAreaEtaPhi(const CaloCell *theCell)
HIEventShapeContainer_v2 HIEventShapeContainer
Define the latest version of the container.
setRawEt setRawPhi nCells
HIEventShape_v2 HIEventShape
Definition of the latest event info version.
◆ 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_detStore
◆ m_eventShapeKey
◆ m_eventShapeMapTool
| ToolHandle<IHIEventShapeMapTool> HISubtractedCellMakerTool::m_eventShapeMapTool { this, "EventShapeMapTool", "HIEventShapeMapTool", "Handle to Event Shape Map Tool"} |
|
private |
Definition at line 34 of file HISubtractedCellMakerTool.h.
34{ this, "EventShapeMapTool", "HIEventShapeMapTool", "Handle to Event Shape Map Tool"};
◆ m_evtStore
◆ m_modulatorTool
| ToolHandle<IHIUEModulatorTool> HISubtractedCellMakerTool::m_modulatorTool { this, "Modulator", "HIUEModulatorTool", "Handle to HIUEModulatorTool"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files: