|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PILEUPREWEIGHTINGPROVIDER
6 #define PILEUPREWEIGHTINGPROVIDER
10 #include "GaudiKernel/ToolHandle.h"
24 declareProperty(
"Output",
m_outputKey=
"",
"Specify an output EventInfo object. If differs from input, will create a clone of EventInfo and decorate that");
34 IProperty* myTool =
dynamic_cast<IProperty*
>(&*
m_tool);
36 return StatusCode::FAILURE;
45 return StatusCode::SUCCESS;
52 #ifdef XAOD_STANDALONE
66 evtInfo = evtInfoCopy;
76 if(!
m_tool->isAffectedBySystematic( syst ))
continue;
78 if(
m_tool->applySystematicVariation(
tmp ) != StatusCode::SUCCESS )
continue;
82 if(
m_tool->applySystematicVariation(
CP::SystematicSet() ) != StatusCode::SUCCESS )
return StatusCode::FAILURE;
85 return StatusCode::SUCCESS;
89 ToolHandle<IPileupReweightingTool>
m_tool;
def retrieve(aClass, aKey=None)
EventInfo_v1 EventInfo
Definition of the latest event info version.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode initialize()
std::string m_configStream
EventInfoAuxContainer_v1 EventInfoAuxContainer
Define the latest version of the auxiliary container.
Class to wrap a set of SystematicVariations.
ToolHandle< IPileupReweightingTool > m_tool
#define ATH_MSG_VERBOSE(x)
Select isolated Photons, Electrons and Muons.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute()
CP::SystematicSet m_allSysts
#define CHECK(...)
Evaluate an expression and check for errors.
Auxiliary information about the pileup events.
~PileupReweightingProvider()
PileupReweightingProvider(const std::string &name, ISvcLocator *svcloc)
Class describing the basic event information.
This module implements the central registry for handling systematic uncertainties with CP tools.
static SystematicRegistry & getInstance()
Get the singleton instance of the registry for the curren thread.