|
ATLAS Offline Software
|
Go to the documentation of this file.
27 const std::string&
name, ISvcLocator* pSvcLocator) :
46 return StatusCode::SUCCESS;
60 std::pair<xAOD::CaloClusterContainer*, xAOD::ShallowAuxContainer*> copyPair =
63 std::unique_ptr<xAOD::CaloClusterContainer>
clusters{copyPair.first};
64 std::unique_ptr<xAOD::ShallowAuxContainer> clustersAux{copyPair.second};
72 for (
auto itrPair = std::make_pair(inputClusters->
begin(), outputClusters->
begin());
73 itrPair != std::make_pair(inputClusters->
end(), outputClusters->
end());
74 ++itrPair.first, ++itrPair.second) {
77 ATH_MSG_ERROR(
"Failed to read the cell links from the input clusters!");
78 return StatusCode::FAILURE;
80 (**itrPair.second).addCellLink(std::make_unique<CaloClusterCellLink>(*inputLinks));
88 (std::abs(
cl->eta0()) < 1.45 && clcorr->name().find(
"37") != std::string::npos) ||
89 (std::abs(
cl->eta0()) >= 1.45 && clcorr->name().find(
"55") != std::string::npos) ) {
114 if (!outputClusters->
empty() ) {
120 return StatusCode::SUCCESS;
static StatusCode finalizeClusters(SG::WriteHandle< CaloClusterCellLinkContainer > &h, xAOD::CaloClusterContainer *pClusterColl)
Finalize clusters (move CaloClusterCellLink to a separate container).
Group
Properties of a chain group.
ToolHandleArray< CaloClusterProcessor > m_clusterCorrections
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_inputClustersKey
flt_t calEta() const
Get in signal state CALIBRATED.
#define ATH_MSG_VERBOSE(x)
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_outputCellLinksKey
StatusCode setConst()
Set the 'const' bit for the bound proxy in the store.
ValuesCollection< T > Collection(std::string name, const T &collection)
Declare a monitored (double-convertible) collection.
An algorithm that can be simultaneously executed in multiple threads.
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
TrigCaloClusterCalibrator(const std::string &name, ISvcLocator *pSvcLocator)
Handle class for recording to StoreGate.
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
flt_t calPhi() const
Get in signal state CALIBRATED.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
const T * back() const
Access the last element in the collection as an rvalue.
Header file to be included by clients of the Monitored infrastructure.
Gaudi::Property< bool > m_isSW
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_outputClustersKey
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
virtual StatusCode execute(const EventContext &ctx) const override
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Handle class for reading from StoreGate.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
bool empty() const noexcept
Returns true if the collection is empty.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
virtual StatusCode initialize() override
ToolHandle< GenericMonitoringTool > m_monTool