ATLAS Offline Software
NoProfileSvc.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "NoProfileSvc.h"
6 
7 NoProfileSvc::NoProfileSvc(const std::string& name,ISvcLocator* svc)
8  : base_class(name,svc)
9 {
10 }
11 
13 {
14 }
15 
17 {
18  ATH_MSG_INFO("No change in pileup vs. (run,lb).");
19  return StatusCode::SUCCESS;
20 }
21 
22 float NoProfileSvc::scaleFactor(unsigned int, unsigned int, bool & updated)
23 {
24  updated = false;
25  return 1.0;
26 }
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
NoProfileSvc::~NoProfileSvc
virtual ~NoProfileSvc()
Definition: NoProfileSvc.cxx:12
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
NoProfileSvc.h
A IBeamLuminosity service configured flat.
NoProfileSvc::initialize
virtual StatusCode initialize() override final
Definition: NoProfileSvc.cxx:16
NoProfileSvc::scaleFactor
virtual float scaleFactor(unsigned int run, unsigned int lumi, bool &updated) override final
Definition: NoProfileSvc.cxx:22
NoProfileSvc::NoProfileSvc
NoProfileSvc(const std::string &name, ISvcLocator *svc)
Definition: NoProfileSvc.cxx:7