ATLAS Offline Software
Loading...
Searching...
No Matches
FullMenu.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "FullMenu.h"
6
7FullMenu::FullMenu( const std::string& name, ISvcLocator* pSvcLocator ) : RatesAnalysisAlg(name, pSvcLocator) {
8}
9
12
14 ATH_MSG_INFO("In ratesInitialize()");
15
16 // Here we assume a full-ring, other functions are available to change this assumption.
17 // @see setTargetLumiMu(const double lumi, const double mu);
18 // @see setTargetLumiBunches(const double lumi, const int32_t bunches);
19 // @see setTargetMuBunches(const double mu, const int32_t bunches);
21
22 // Register all triggers in the menu. Will not include any which were prescaled out in Athena.
23 ATH_MSG_INFO("Adding all existing triggers");
25
26 // Or, if you were only interested in part of the menu you could do e.g.
27 // ATH_CHECK( addExisting("HLT_mu.*") );
28 // ATH_CHECK( addExisting("L1_MU.*") );
29
30 return StatusCode::SUCCESS;
31}
32
34 // Triggers added are of type kEXISTING so here we rely on the Trigger Decision Tool for pass/fail.
35 // This is automatic so there is nothing to do here.
36 return StatusCode::SUCCESS;
37}
38
40 ATH_MSG_INFO("In ratesFinalize()");
41 return StatusCode::SUCCESS;
42}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
virtual ~FullMenu()
Definition FullMenu.cxx:10
virtual StatusCode ratesInitialize() override
To be implemented by the user.
Definition FullMenu.cxx:13
virtual StatusCode ratesExecute() override
To be implemented by the user.
Definition FullMenu.cxx:33
FullMenu(const std::string &name, ISvcLocator *pSvcLocator)
Definition FullMenu.cxx:7
Gaudi::Property< float > m_lumi
Definition FullMenu.h:21
virtual StatusCode ratesFinalize() override
To be implemented by the user.
Definition FullMenu.cxx:39
RatesAnalysisAlg(const std::string &name, ISvcLocator *pSvcLocator)
void setTargetLumi(const double lumi)
Set the target instantaneous luminosity.
StatusCode addAllExisting()
Register all existing triggers in the AOD into the rates algorithm.