ATLAS Offline Software
Loading...
Searching...
No Matches
CaloBCIDAvgAlg.h
Go to the documentation of this file.
1//Dear emacs, this is -*-c++-*-
2/*
3 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4*/
5
6#ifndef CALOREC_CALOBCIDAVGALG_H
7#define CALOREC_CALOBCIDAVGALG_H
8
10#include "GaudiKernel/ToolHandle.h"
18
20public:
21
22 // constructor
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
24
25 // Algorithm virtual methods
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext& ctx) const override;
28 virtual StatusCode finalize() override;
29
30private:
31 //Event input: Only the BCID from Event Info
32 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this,"EventInfoKey","EventInfo","SG Key of EventInfo object"};
33
34 //Event output: CaloBCIDAverage object
35 SG::WriteHandleKey<CaloBCIDAverage> m_bcidAvgKey{this,"WriteKey","CaloBCIDAverage","SG Key of resulting CaloBCIDAverage object"};
36
37 //ConditionsInput
38 SG::ReadCondHandleKey<LArMCSym> m_mcSym{this,"MCSym","LArMCSym","SG Key of LArMCSym object"};
40 {this, "BCIDLumiKey", "CaloBCIDLumi", "SG Key of input CaloBCIDLumi conditions object"};
41
43 Gaudi::Property<bool> m_isSC { this, "IsSuperCell",false,"Is SuperCell" };
44
45 //Tool Handles:
46 // For online monitoring purposes
47 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
48};
49
50#endif
Luminosity-dependent pileup offset correction conditions object.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadCondHandleKey< CaloBCIDLumi > m_bcidLumiKey
virtual StatusCode finalize() override
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArMCSym > m_mcSym
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi::Property< bool > m_isSC
Property: m_isSC.
SG::WriteHandleKey< CaloBCIDAverage > m_bcidAvgKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.