Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
11 #include "GaudiKernel/ToolHandle.h"
14 #include "Rivet/AnalysisHandler.hh"
35 Rivet_i(
const std::string &
name, ISvcLocator *pSvcLocator);
60 std::unique_ptr<HepMC::GenEvent>
checkEvent(
const HepMC::GenEvent&
event,
const EventContext& ctx);
145 ,
"ReadHandleKey for xAOD::EventInfo" };
bool m_init
Flag to determine whether Rivet init has already happened (in execute())
std::string m_anapath
The analysis plugin search path.
bool m_patchBeams
Flag to insert beam protons when they are unavailable in the event.
virtual StatusCode execute() override
Run the Rivet analyses on one event, which is retrieved from StoreGate.
virtual StatusCode finalize() override
Finalise each analysis and commit the plots to an AIDA tree and the THistSvc ROOT tree.
ToolHandle< IxAODtoHepMCTool > m_xAODtoHepMCTool
A tool to convert xAOD::Truth to HepMC::GenEvent.
std::string m_genEventKey
The GenEvent StoreGate key (default "GEN_EVENT")
std::string m_stream
A pointer to the THistSvc.
bool m_doRootHistos
Will we convert Rivet's internal histo format into a ROOT histo for streaming with THistSvc?
bool m_needsConversion
Do we need to convert xAOD::Truth back to HepMC::GenEvemt?
std::string m_nominalWeightName
String to specify non-standard nominal weight.
POOL::TEvent event(POOL::TEvent::kClassAccess)
std::string m_unmatchWeights
String of weight names (or regex) to veto multiweights.
void MeV2GeV(HepMC::GenEvent &event)
::StatusCode StatusCode
StatusCode definition for legacy code.
double m_crossSection_uncert
The uncertainity of the cross section for this run of events, set from the job properties.
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE() override
Initialise the Rivet interface and Athena services.
std::vector< std::string > m_analysisNames
A list of names of the analyses to run (set from the job properties)
double m_crossSection
The cross section for this run of events, set from the job properties.
Interface to the Rivet analysis package.
std::string m_file
The base file name to write results to.
bool m_ignorebeams
Whether to avoid the beam consistency checks.
bool m_skipweights
Skip variation weights and only run nominal.
std::string m_matchWeights
String of weight names (or regex) to select multiweights.
std::unique_ptr< HepMC::GenEvent > checkEvent(const HepMC::GenEvent &event, const EventContext &ctx)
Book an AIDA::IDataPointSet into the THistSvc as a TH1D at path.
Rivet_i(const std::string &name, ISvcLocator *pSvcLocator)
Standard algorithm constructor.
double m_weightcap
Weight cap to set allowed maximum for weights.
Define macros for attributes used to control the static checker.
Rivet::AnalysisHandler * m_analysisHandler
A Rivet analysis handler.
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
std::string m_runname
The name of the run (prepended to plot paths).