|
ATLAS Offline Software
|
Go to the documentation of this file.
30 return StatusCode::FAILURE;
35 ANA_MSG_ERROR (
"Either a list of triggers or trigger formula need to be provided");
36 return StatusCode::FAILURE;
41 ANA_MSG_ERROR (
"Provide either only a list of triggers or only a trigger formula");
42 return StatusCode::FAILURE;
58 std::vector<std::string> formulaVector = {
m_trigFormula.value()};
60 return StatusCode::SUCCESS;
91 return StatusCode::SUCCESS;
107 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
constexpr float invalidTriggerPrescale()
the decoration value to use if there is no valid trigger prescale information
Gaudi::Property< std::string > m_prescaleDecoration
the decoration for trigger prescales
std::string find(const std::string &s)
return a remapped string
std::vector< SG::AuxElement::Decorator< float > > m_prescaleAccessors
the accessors for m_prescaleDecoration and m_trigList combination
Gaudi::Property< std::vector< std::string > > m_trigListAll
list of all triggers or trigger chains
Gaudi::Property< bool > m_prescaleMC
whether to prescale MC instead of unprescale dat
Select isolated Photons, Electrons and Muons.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< IPileupReweightingTool > m_pileupReweightingTool
the pile-up reweighting tool
std::vector< std::function< float(const xAOD::EventInfo *, const std::string &)> > m_prescaleFunctions
list of helper functions to compute the prescales
StatusCode initialize() override
Class describing the basic event information.
Gaudi::Property< std::vector< std::string > > m_trigList
list of prescaled triggers or trigger chains
std::string substitute(const std::string &str, const std::string &pattern, const std::string &with)
effects: substitute all occurences of "pattern" with "with" in the string "str" returns: the substitu...
StatusCode execute() override
Gaudi::Property< std::string > m_trigFormula
list of all triggers or trigger chains