ATLAS Offline Software
Loading...
Searching...
No Matches
RatesEmulationExample.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef RATESANALYSIS_RATESEMULATIONEXAMPLE_H
6#define RATESANALYSIS_RATESEMULATIONEXAMPLE_H 1
7
9
11 public:
12 RatesEmulationExample( const std::string& name, ISvcLocator* pSvcLocator );
13 virtual ~RatesEmulationExample();
14
15 virtual StatusCode ratesInitialize() override;
16 virtual StatusCode ratesExecute() override;
17 virtual StatusCode ratesFinalize() override;
18
19 private:
20
21 Gaudi::Property<float> m_lumi{this, "TargetLuminosity", 2e34, "Targer inst. luminosity, assuming full ring."};
22
23 SG::ReadHandleKey<xAOD::JetContainer> m_jet_RHKey{this, "JetsKey", "AntiKt4EMTopoJets", "Key for the jet collection"};
24 SG::ReadHandleKey<xAOD::ElectronContainer> m_electron_RHKey{this, "ElectronsKey", "Electrons", "Key for the electrons collection"};
25 virtual StatusCode initialize_extra_content() override;
26
27
28};
29
30#endif //> !RATESANALYSIS_RATESEMULATIONEXAMPLE_H
31
RatesAnalysisAlg(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< float > m_lumi
RatesEmulationExample(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::JetContainer > m_jet_RHKey
virtual StatusCode initialize_extra_content() override
Initialization of additional payload for inherited classes.
SG::ReadHandleKey< xAOD::ElectronContainer > m_electron_RHKey
virtual StatusCode ratesInitialize() override
To be implemented by the user.
virtual StatusCode ratesExecute() override
To be implemented by the user.
virtual StatusCode ratesFinalize() override
To be implemented by the user.
Property holding a SG store/key/clid from which a ReadHandle is made.