Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
28 const Type *input =
nullptr;
32 [[maybe_unused]]
Type *output =
nullptr;
37 return StatusCode::SUCCESS;
54 &AsgShallowCopyAlg::executeTemplate<xAOD::ElectronContainer>;
59 &AsgShallowCopyAlg::executeTemplate<xAOD::PhotonContainer>;
64 &AsgShallowCopyAlg::executeTemplate<xAOD::JetContainer>;
68 &AsgShallowCopyAlg::executeTemplate<xAOD::MuonContainer>;
73 &AsgShallowCopyAlg::executeTemplate<xAOD::TauJetContainer>;
78 &AsgShallowCopyAlg::executeTemplate<xAOD::DiTauJetContainer>;
83 &AsgShallowCopyAlg::executeTemplate<xAOD::TrackParticleContainer>;
88 &AsgShallowCopyAlg::executeTemplate<xAOD::TruthParticleContainer>;
93 &AsgShallowCopyAlg::executeTemplate<xAOD::MissingETContainer>;
97 ANA_MSG_ERROR (
"unknown type contained in AsgShallowCopyAlg, please extend it");
98 return StatusCode::FAILURE;
108 ISvcLocator* pSvcLocator)
109 : AnaAlgorithm (
name, pSvcLocator)
123 return StatusCode::SUCCESS;
135 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
StatusCode execute() override
StatusCode executeTemplate(const CP::SystematicSet &sys)
the templated version of execute for a single systematic
Class to wrap a set of SystematicVariations.
const std::vector< CP::SystematicSet > & systematicsVector() const
the list of systematics to loop over
Select isolated Photons, Electrons and Muons.
a helper class to create shallow copies and register them in the event store
SysWriteHandle< xAOD::IParticleContainer > m_outputHandle
the output view container we produce
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
StatusCode(AsgShallowCopyAlg::* m_function)(const CP::SystematicSet &sys)
SysListHandle m_systematicsList
the systematics list we run
::StatusCode initialize()
intialize this property
virtual StatusCode registerCopy(const std::string &fromName, const std::string &toName) const =0
register a (shallow) copy from one object to the next
::StatusCode StatusCode
StatusCode definition for legacy code.
AsgShallowCopyAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
StatusCode initialize() override
StatusCode executeFindType(const CP::SystematicSet &sys)
the version of execute to find the type
SysReadHandle< xAOD::IParticleContainer > m_inputHandle
the input collection we run on
const ISystematicsSvc & service() const
the service we use