|
ATLAS Offline Software
|
Go to the documentation of this file.
46 return StatusCode::SUCCESS;
56 auto name = m_outputHandle.getName(
sys);
57 auto output = std::make_unique<xAOD::MissingETContainer>();
58 auto auxOutput = std::make_unique<xAOD::AuxContainerBase>();
60 output->setStore(auxOutput.get());
64 out->makePrivateStore(*
met);
69 ANA_CHECK(evtStore()->record(std::move(auxOutput),
name +
"Aux."));
71 return StatusCode::SUCCESS;
87 &AsgShallowCopyAlg::executeTemplate<xAOD::ElectronContainer>;
92 &AsgShallowCopyAlg::executeTemplate<xAOD::PhotonContainer>;
97 &AsgShallowCopyAlg::executeTemplate<xAOD::JetContainer>;
101 &AsgShallowCopyAlg::executeTemplate<xAOD::MuonContainer>;
106 &AsgShallowCopyAlg::executeTemplate<xAOD::TauJetContainer>;
111 &AsgShallowCopyAlg::executeTemplate<xAOD::DiTauJetContainer>;
116 &AsgShallowCopyAlg::executeTemplate<xAOD::TrackParticleContainer>;
121 &AsgShallowCopyAlg::executeTemplate<xAOD::TruthParticleContainer>;
126 &AsgShallowCopyAlg::executeTemplate<xAOD::MissingETContainer>;
130 ANA_MSG_ERROR (
"unknown type contained in AsgShallowCopyAlg, please extend it");
131 return StatusCode::FAILURE;
141 ISvcLocator* pSvcLocator)
142 : AnaAlgorithm (
name, pSvcLocator)
156 return StatusCode::SUCCESS;
168 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.
MissingET_v1 MissingET
Version control by type defintion.
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
Workaround x86 precision issues for FP inequality comparisons.
StatusCode initialize() override
Principal data object for Missing ET.
Container for xAOD::MissingET_v1 objects.
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