25 template<
typename Type> StatusCode AsgShallowCopyAlg ::
28 const Type *input =
nullptr;
32 [[maybe_unused]]
Type *output =
nullptr;
37 return StatusCode::SUCCESS;
42 StatusCode AsgShallowCopyAlg ::
97 ANA_MSG_ERROR (
"unknown type contained in AsgShallowCopyAlg, please extend it");
98 return StatusCode::FAILURE;
107 AsgShallowCopyAlg (
const std::string&
name,
108 ISvcLocator* pSvcLocator)
115 StatusCode AsgShallowCopyAlg ::
123 return StatusCode::SUCCESS;
128 StatusCode AsgShallowCopyAlg ::
135 return StatusCode::SUCCESS;
ServiceHandle< StoreGateSvc > & evtStore()
StatusCode(AsgShallowCopyAlg::* m_function)(const CP::SystematicSet &sys)
SysWriteHandle< xAOD::IParticleContainer > m_outputHandle
the output view container we produce
StatusCode executeTemplate(const CP::SystematicSet &sys)
the templated version of execute for a single systematic
SysListHandle m_systematicsList
the systematics list we run
SysReadHandle< xAOD::IParticleContainer > m_inputHandle
the input collection we run on
Class to wrap a set of SystematicVariations.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
Select isolated Photons, Electrons and Muons.
PhotonContainer_v1 PhotonContainer
Definition of the current "photon container version".
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
DiTauJetContainer_v1 DiTauJetContainer
Definition of the current DiTauJet container version.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.
a helper class to create shallow copies and register them in the event store