ATLAS Offline Software
Loading...
Searching...
No Matches
CaloTopoTowerMaker Class Reference

Top algorithm to reconstruct xAOD::CaloCluster objects representing topo-towers from CaloClusters. More...

#include <CaloTopoTowerMaker.h>

Inheritance diagram for CaloTopoTowerMaker:
Collaboration diagram for CaloTopoTowerMaker:

Public Member Functions

 CaloTopoTowerMaker (const std::string &name, ISvcLocator *pSvcLocator)
virtual ~CaloTopoTowerMaker () override
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode finalize () override
const std::string & getOutputContainerName () const
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
 Get filter decision:
virtual void setFilterPassed (bool state, const EventContext &ctx) const
 Set filter decision:
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
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)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvc > StoreGateSvc_t

Private Member Functions

StatusCode makeContainer ()
 Method to create a CaloClusterContainer together with it's AuxStore and Link container.
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

SG::WriteHandleKey< xAOD::CaloClusterContainer > m_towerOutput {this, "TowersOutputName", ""}
 the name of the key in StoreGate for the output CaloClusterContainer
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_towerCellLinkOutput {this, "TowerCellLinkOutputName", ""}
 the name of the key in StoreGate for the output CaloClusterCellLinkContainer
ToolHandle< CaloTowerCollectionProcessor > m_towerMakerTool {this, "TowerMakerTool", ""}
 Tower makers.
ToolHandleArray< CaloClusterCollectionProcessor > m_towerCorrectionTools {this, "TowerCorrectionTools", {}}
 Tower (cluster) moment makers.
ToolHandle< CaloTowerCollectionProcessor > m_towerCalibratorTool {this, "TowerCalibratorTool", ""}
 Tower calibrator(s).
ServiceHandle< IChronoStatSvc > m_chrono
 Handle to the ChronoStatSvc.
Gaudi::Property< bool > m_saveSignalState {this, "SaveUncalibratedSignalState", true}
 Keep the individual results of each correction.
Gaudi::Property< bool > m_chronoTools {this, "ChronoTools", false}
 Use ChronotStatSvc to monitor each tool.
Gaudi::Property< bool > m_useLCWCalibration {this, "UseLCWCalibration", true}
 Use LCW calibration for topo-towers (default is true).
const CaloCell_ID * m_caloCellID =nullptr
 Identifier helper.
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Top algorithm to reconstruct xAOD::CaloCluster objects representing topo-towers from CaloClusters.

Author
Tasnuva Chowdhury
Date
16-September-2020

This class is an Algorithm to reconstruct CaloTopoTowers which are represented by objects of type xAOD::CaloCluster from cells extracted from existing topo-clusters (also represented by xAOD::CaloCluster type objects). The algorithm first extracts all cells form the topo-clusters, stores the LCW calibration weights for each cell (if configured), fills the towers with the cells and applys a topo-tower calibration using the LCW weights (if configured)>

Definition at line 40 of file CaloTopoTowerMaker.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 376 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ CaloTopoTowerMaker()

CaloTopoTowerMaker::CaloTopoTowerMaker ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 54 of file CaloTopoTowerMaker.cxx.

56 : AthReentrantAlgorithm(name, pSvcLocator)
57 , m_chrono("ChronoStatSvc", name)
58{
59}
ServiceHandle< IChronoStatSvc > m_chrono
Handle to the ChronoStatSvc.

◆ ~CaloTopoTowerMaker()

CaloTopoTowerMaker::~CaloTopoTowerMaker ( )
overridevirtualdefault

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode CaloTopoTowerMaker::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 124 of file CaloTopoTowerMaker.cxx.

125{
126
127 // make a Cluster Container
128 SG::WriteHandle<xAOD::CaloClusterContainer> clusColl (m_towerOutput, ctx);
130
131 std::string chronoName(this->name()+std::string("_"));
132 if ( !m_useLCWCalibration ) {
133 // fill the towers without preparing for calibratoin
134 if ( m_chronoTools ) { m_chrono->chronoStart(chronoName+m_towerMakerTool->name()); }
135 ATH_CHECK( m_towerMakerTool->execute(ctx,clusColl.ptr(),nullptr) );
136 if ( m_chronoTools ) { m_chrono->chronoStop(chronoName+m_towerMakerTool->name()); }
137 // save original signals bevore corrections and calibrations
138 if ( m_saveSignalState ) {
139 for (xAOD::CaloCluster* fClus : *clusColl) {
140 fClus->setRawE (fClus->e() );
141 fClus->setRawEta(fClus->eta());
142 fClus->setRawPhi(fClus->phi());
143 fClus->setRawM (fClus->m() );
144 }//end loop over clusters
145 }
146 // apply the correction tools (really moment calculators)
147 for ( auto iter(m_towerCorrectionTools.begin()); iter != m_towerCorrectionTools.end(); ++iter ) {
148 if ( m_chronoTools ) { m_chrono->chronoStart(chronoName+iter->name()); }
149 ATH_CHECK( (*iter)->execute(ctx,clusColl.ptr()) );
150 if ( m_chronoTools ) { m_chrono->chronoStop(chronoName+iter->name()); }
151 } // correction tool loop
152 } else {
153 // fill the towers with LCW calibration
154 std::unique_ptr<CaloCellClusterWeights> cellWeights=std::make_unique<CaloCellClusterWeights>(m_caloCellID->calo_cell_hash_max());
155 if ( m_chronoTools ) { m_chrono->chronoStart(chronoName+m_towerMakerTool->name()); }
156 ATH_CHECK( m_towerMakerTool->execute(ctx,clusColl.ptr(),cellWeights.get()) );
157 if ( m_chronoTools ) { m_chrono->chronoStop(chronoName+m_towerMakerTool->name()); }
158 // save original signals bevore corrections and calibrations
159 if ( m_saveSignalState ) {
160 for (xAOD::CaloCluster* fClus : *clusColl) {
161 fClus->setRawE (fClus->e() );
162 fClus->setRawEta(fClus->eta());
163 fClus->setRawPhi(fClus->phi());
164 fClus->setRawM (fClus->m() );
165 }//end loop over clusters
166 }
167 // apply the correction tools (really moment calculators)
168 for ( auto iter(m_towerCorrectionTools.begin()); iter != m_towerCorrectionTools.end(); ++iter ) {
169 if ( m_chronoTools ) { m_chrono->chronoStart(chronoName+iter->name()); }
170 ATH_CHECK( (*iter)->execute(ctx,clusColl.ptr()) );
171 if ( m_chronoTools ) { m_chrono->chronoStop(chronoName+iter->name()); }
172 } // correction tool loop
173 // apply calibration
174 if ( m_chronoTools ) { m_chrono->chronoStart(chronoName+m_towerCalibratorTool->name()); }
175 ATH_CHECK( m_towerCalibratorTool->execute(ctx,clusColl.ptr(),cellWeights.get()) );
176 if ( m_chronoTools ) { m_chrono->chronoStop(chronoName+m_towerCalibratorTool->name()); }
177 } // end of processing blocks
178
179 ATH_MSG_DEBUG("Created tower container (of type xAOD::CaloClusterContainer) with " << clusColl->size() << " towers");
180 SG::WriteHandle<CaloClusterCellLinkContainer> cellLinks (m_towerCellLinkOutput, ctx);
181 ATH_CHECK( cellLinks.record (std::make_unique<CaloClusterCellLinkContainer>()) );
182 CaloClusterStoreHelper::finalizeClusters (ctx, clusColl, cellLinks);
183 return StatusCode::SUCCESS;
184}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
static void finalizeClusters(const EventContext &ctx, SG::WriteHandle< xAOD::CaloClusterContainer > &outClusterContainer, SG::WriteHandle< CaloClusterCellLinkContainer > &outClusterContainerCellLink)
Finalize clusters (move CaloClusterCellLink to a separate container).
static StatusCode AddContainerWriteHandle(SG::WriteHandle< xAOD::CaloClusterContainer > &clusColl)
Creates a new xAOD::CaloClusterContainer in the given WriteHandle + CaloClusterAuxContainer and recor...
ToolHandle< CaloTowerCollectionProcessor > m_towerCalibratorTool
Tower calibrator(s).
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_towerOutput
the name of the key in StoreGate for the output CaloClusterContainer
ToolHandle< CaloTowerCollectionProcessor > m_towerMakerTool
Tower makers.
const CaloCell_ID * m_caloCellID
Identifier helper.
Gaudi::Property< bool > m_useLCWCalibration
Use LCW calibration for topo-towers (default is true).
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_towerCellLinkOutput
the name of the key in StoreGate for the output CaloClusterCellLinkContainer
ToolHandleArray< CaloClusterCollectionProcessor > m_towerCorrectionTools
Tower (cluster) moment makers.
Gaudi::Property< bool > m_saveSignalState
Keep the individual results of each correction.
Gaudi::Property< bool > m_chronoTools
Use ChronotStatSvc to monitor each tool.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

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

◆ extraOutputDeps()

const DataObjIDColl & AthCommonAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 89 of file AthCommonAlgorithm.cxx.

54{
55 // If we didn't find any symlinks to add, just return the collection
56 // from the base class. Otherwise, return the extended collection.
57 if (!m_extendedExtraObjects.empty()) {
59 }
61}
Common base class for algorithms.

◆ filterPassed()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Get filter decision:

Definition at line 93 of file AthCommonAlgorithm.h.

93 {
94 return execState( ctx ).filterPassed();
95 }
virtual bool filterPassed(const EventContext &ctx) const
Get filter decision:

◆ finalize()

StatusCode CaloTopoTowerMaker::finalize ( )
overridevirtual

Definition at line 118 of file CaloTopoTowerMaker.cxx.

118 {
119 return StatusCode::SUCCESS;
120}

◆ getOutputContainerName()

const std::string & CaloTopoTowerMaker::getOutputContainerName ( ) const

Definition at line 187 of file CaloTopoTowerMaker.cxx.

187 {
188 return m_towerOutput.key();
189}

◆ initialize()

StatusCode CaloTopoTowerMaker::initialize ( )
overridevirtual

Definition at line 68 of file CaloTopoTowerMaker.cxx.

69{
70
71 // -- retrieve the needed tower maker tool
72 if (m_towerMakerTool.retrieve().isFailure()) {
73 ATH_MSG_ERROR("Failed to retrieve essential tower maker tool"
75 } else {
76 ATH_MSG_DEBUG("Successfully retrieved tower maker tool "
78 }
79
80 // -- retrieve the (optional) list of correction tools
81 if (m_towerCorrectionTools.retrieve().isFailure()) {
82 ATH_MSG_ERROR("Failed to retrieve requested tower correction tools "
84 } else {
85 ATH_MSG_DEBUG("Successfully retrieved tower correction tools "
87 }
88
89 // -- retrieve tower calibrator tool
90 if ( m_useLCWCalibration ) {
91 if ( m_towerCalibratorTool.retrieve().isFailure() ) {
92 ATH_MSG_ERROR("Failed to retrieve requested tower calibrator tool " << m_towerCalibratorTool);
93 } else {
94 ATH_MSG_DEBUG("Sucessfully retrieved requested tower calibrator tool " << m_towerCalibratorTool);
95 }
96 }
97
98 if (m_chronoTools) {
99 msg(MSG::INFO) << "Will use ChronoStatSvc to monitor ClusterMaker and ClusterCorrection tools" << endmsg;
100 ATH_CHECK( m_chrono.retrieve() );
101 }
102
103 ATH_CHECK( m_towerOutput.initialize() );
104
105 if (m_towerCellLinkOutput.key().empty()) {
106 m_towerCellLinkOutput = m_towerOutput.key() + "_links";
107 }
108 ATH_CHECK( m_towerCellLinkOutput.initialize() );
109
110
111 ATH_CHECK(detStore()->retrieve(m_caloCellID,"CaloCell_ID"));
112
113 return StatusCode::SUCCESS;
114}
#define endmsg
#define ATH_MSG_ERROR(x,...)
const ServiceHandle< StoreGateSvc > & detStore() const

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

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.

◆ isClonable()

virtual bool AthCommonAlgorithm< Gaudi::Algorithm >::isClonable ( ) const
inlineoverridevirtualinherited

Specify if the algorithm is clonable.

Only relevant for non-reentrant algorithms. Actual number of clones needs to be set via the "Cardinality" property.

Reimplemented in AFP_DigiTop, AlgB, AlgT, BCM_Digitization, CscDigitBuilder, CscDigitToCscRDO, G4AtlasAlg, G4RunAlg, HGTD_Digitization, HiveAlgBase, InDet::GNNSeedingTrackMaker, InDet::SCT_Clusterization, InDet::SiSPGNNTrackMaker, InDet::SiSPSeededTrackFinder, InDet::SiTrackerSpacePointFinder, ISF::SimKernelMT, ITk::StripDigitization, ITkPixelCablingAlg, ITkStripCablingAlg, LArHitEMapMaker, LArTTL1Maker, LUCID_DigiTop, LVL1::L1TopoSimulation, MergeCalibHits, MergeGenericMuonSimHitColl, MergeHijingPars, MergeMcEventCollection, MergeTrackRecordCollection, MergeTruthJets, MergeTruthParticles, MuonDigitizer, PileUpMTAlg, PixelDigitization, RoIBResultToxAOD, SCT_ByteStreamErrorsTestAlg, SCT_CablingCondAlgFromCoraCool, SCT_CablingCondAlgFromText, SCT_ConditionsParameterTestAlg, SCT_ConditionsSummaryTestAlg, SCT_ConfigurationConditionsTestAlg, SCT_Digitization, SCT_FlaggedConditionTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_PrepDataToxAOD, SCT_RawDataToxAOD, SCT_ReadCalibChipDataTestAlg, SCT_ReadCalibDataTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_SiliconConditionsTestAlg, SCT_StripVetoTestAlg, SCT_TdaqEnabledTestAlg, SCT_TestCablingAlg, SCTEventFlagWriter, SCTRawDataProvider, SCTSiLorentzAngleTestAlg, SCTSiPropertiesTestAlg, SGInputLoader, Simulation::BeamEffectsAlg, TileHitVecToCnt, TileMuonFitter, TilePulseForTileMuonReceiver, TileRawChannelMaker, TRTDigitization, and ZDC_DigiTop.

Definition at line 68 of file AthCommonAlgorithm.h.

68 {
69 return true;
70 }

◆ makeContainer()

StatusCode CaloTopoTowerMaker::makeContainer ( )
private

Method to create a CaloClusterContainer together with it's AuxStore and Link container.

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

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()

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 > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 368 of file AthCommonDataStore.h.

369 {
370 h.renounce();
372 }
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()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 352 of file AthCommonDataStore.h.

352 {
354 }

◆ setFilterPassed()

virtual void AthCommonAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Set filter decision:

Definition at line 99 of file AthCommonAlgorithm.h.

99 {
101 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const
Set filter decision:

◆ sysExecute()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Reimplemented in AthAnalysisAlgorithm.

Definition at line 80 of file AthCommonAlgorithm.cxx.

41{
42 return BaseAlg::sysExecute (ctx);
43}

◆ sysInitialize()

StatusCode AthCommonAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthHistogramAlgorithm, HypoBase, InputMakerBase, and PyAthena::Alg.

Definition at line 60 of file AthCommonAlgorithm.cxx.

71 {
73
74 if (sc.isFailure()) {
75 return sc;
76 }
77
78 ServiceHandle<ICondSvc> cs("CondSvc",name());
79 for (auto h : outputHandles()) {
80 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
81 // do this inside the loop so we don't create the CondSvc until needed
82 if ( cs.retrieve().isFailure() ) {
83 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
85 }
86 if (cs->regHandle(this,*h).isFailure()) {
88 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
89 << " with CondSvc");
90 }
91 }
92 }
93 return sc;
94}
#define ATH_MSG_WARNING(x,...)
virtual StatusCode sysInitialize() override
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 298 of file AthCommonDataStore.h.

298 {
299 for (auto &a : m_vhka) {
301 for (auto k : keys) {
302 k->setOwner(this);
303 }
304 }
305 }

Member Data Documentation

◆ m_caloCellID

const CaloCell_ID* CaloTopoTowerMaker::m_caloCellID =nullptr
private

Identifier helper.

Definition at line 112 of file CaloTopoTowerMaker.h.

◆ m_chrono

ServiceHandle<IChronoStatSvc> CaloTopoTowerMaker::m_chrono
private

Handle to the ChronoStatSvc.

Definition at line 89 of file CaloTopoTowerMaker.h.

◆ m_chronoTools

Gaudi::Property<bool> CaloTopoTowerMaker::m_chronoTools {this, "ChronoTools", false}
private

Use ChronotStatSvc to monitor each tool.

Definition at line 105 of file CaloTopoTowerMaker.h.

105{this, "ChronoTools", false};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 381 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 378 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 108 of file AthCommonAlgorithm.h.

◆ m_saveSignalState

Gaudi::Property<bool> CaloTopoTowerMaker::m_saveSignalState {this, "SaveUncalibratedSignalState", true}
private

Keep the individual results of each correction.

If true, we keep in StoreGate the complete list of clusters before each correction has been performed.

controls saving the uncalibrated signal state just before the first CaloClusterCorrectionTool is invoked. Is a configurable property with default value true.

Definition at line 102 of file CaloTopoTowerMaker.h.

102{this, "SaveUncalibratedSignalState", true};

◆ m_towerCalibratorTool

ToolHandle<CaloTowerCollectionProcessor> CaloTopoTowerMaker::m_towerCalibratorTool {this, "TowerCalibratorTool", ""}
private

Tower calibrator(s).

This tool provides the (optional) LCW calibration.

Definition at line 86 of file CaloTopoTowerMaker.h.

86{this, "TowerCalibratorTool", ""};

◆ m_towerCellLinkOutput

SG::WriteHandleKey<CaloClusterCellLinkContainer> CaloTopoTowerMaker::m_towerCellLinkOutput {this, "TowerCellLinkOutputName", ""}
private

the name of the key in StoreGate for the output CaloClusterCellLinkContainer

Definition at line 67 of file CaloTopoTowerMaker.h.

67{this, "TowerCellLinkOutputName", ""};

◆ m_towerCorrectionTools

ToolHandleArray<CaloClusterCollectionProcessor> CaloTopoTowerMaker::m_towerCorrectionTools {this, "TowerCorrectionTools", {}}
private

Tower (cluster) moment makers.

The tools in this list calculate cluster moments for towers after those are filled. The tools are the as the ones used for topo-clusters. Any number of tools can be scheduled.

Definition at line 81 of file CaloTopoTowerMaker.h.

81{this, "TowerCorrectionTools", {}};

◆ m_towerMakerTool

ToolHandle<CaloTowerCollectionProcessor> CaloTopoTowerMaker::m_towerMakerTool {this, "TowerMakerTool", ""}
private

Tower makers.

This tool is the tower maker. It fills a xAOD::CaloClusterContainer with clusters representing towers and also retuns the LCW cell weights if configured.

Definition at line 74 of file CaloTopoTowerMaker.h.

74{this, "TowerMakerTool", ""};

◆ m_towerOutput

SG::WriteHandleKey<xAOD::CaloClusterContainer> CaloTopoTowerMaker::m_towerOutput {this, "TowersOutputName", ""}
private

the name of the key in StoreGate for the output CaloClusterContainer

Definition at line 63 of file CaloTopoTowerMaker.h.

63{this, "TowersOutputName", ""};

◆ m_useLCWCalibration

Gaudi::Property<bool> CaloTopoTowerMaker::m_useLCWCalibration {this, "UseLCWCalibration", true}
private

Use LCW calibration for topo-towers (default is true).

Definition at line 108 of file CaloTopoTowerMaker.h.

108{this, "UseLCWCalibration", true};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 387 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 386 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: