ATLAS Offline Software
AsgShallowCopyAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef ASG_ANALYSIS_ALGORITHMS__ASG_SHALLOW_COPY_ALG_H
10 #define ASG_ANALYSIS_ALGORITHMS__ASG_SHALLOW_COPY_ALG_H
11 
17 #include <limits>
18 
19 namespace CP
20 {
27 
28  class AsgShallowCopyAlg final : public EL::AnaAlgorithm
29  {
31  public:
32  AsgShallowCopyAlg (const std::string& name,
33  ISvcLocator* pSvcLocator);
34 
35 
36  public:
37  StatusCode initialize () override;
38 
39  public:
40  StatusCode execute () override;
41 
42 
44  private:
46 
48  private:
50  this, "input", "", "the input collection to run on"};
51 
53  private:
55  this, "output", "", "the output view container to produce"};
56 
58  private:
59  template<typename Type> StatusCode
61 
63  private:
65 
66  private:
68  };
69 }
70 
71 #endif
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::AsgShallowCopyAlg::execute
StatusCode execute() override
Definition: AsgShallowCopyAlg.cxx:162
CP::SysWriteHandle
a data handle for writing systematics varied input data
Definition: SysWriteHandle.h:31
SysListHandle.h
CP::AsgShallowCopyAlg::executeTemplate
StatusCode executeTemplate(const CP::SystematicSet &sys)
the templated version of execute for a single systematic
Definition: AsgShallowCopyAlg.cxx:35
CP::SystematicSet
Class to wrap a set of SystematicVariations.
Definition: SystematicSet.h:31
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
SysReadHandle.h
CP::AsgShallowCopyAlg::m_outputHandle
SysWriteHandle< xAOD::IParticleContainer > m_outputHandle
the output view container we produce
Definition: AsgShallowCopyAlg.h:54
SysWriteHandle.h
AnaAlgorithm.h
CP::AsgShallowCopyAlg::m_function
StatusCode(AsgShallowCopyAlg::* m_function)(const CP::SystematicSet &sys)
Definition: AsgShallowCopyAlg.h:67
CP::AsgShallowCopyAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: AsgShallowCopyAlg.h:45
CP::AsgShallowCopyAlg
create a shallow copy of an input contsainer
Definition: AsgShallowCopyAlg.h:29
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::AsgShallowCopyAlg::AsgShallowCopyAlg
AsgShallowCopyAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: AsgShallowCopyAlg.cxx:140
CP::AsgShallowCopyAlg::initialize
StatusCode initialize() override
Definition: AsgShallowCopyAlg.cxx:149
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CP::AsgShallowCopyAlg::executeFindType
StatusCode executeFindType(const CP::SystematicSet &sys)
the version of execute to find the type
Definition: AsgShallowCopyAlg.cxx:76
CP::AsgShallowCopyAlg::m_inputHandle
SysReadHandle< xAOD::IParticleContainer > m_inputHandle
the input collection we run on
Definition: AsgShallowCopyAlg.h:49