ATLAS Offline Software
NoProfileSvc.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef PILEUPCOMPS_NOPROFILESVC
8 #define PILEUPCOMPS_NOPROFILESVC 1
9 
16 #include "Gaudi/Property.h"
17 
18 class NoProfileSvc : public extends<AthService, IBeamLuminosity>
19 {
20 public:
22 
23  NoProfileSvc(const std::string& name, ISvcLocator* svc);
24  virtual ~NoProfileSvc();
26 
28  virtual StatusCode initialize() override final;
30 
32  virtual float scaleFactor(unsigned int run, unsigned int lumi, bool & updated) override final;
34 };
35 #endif
36 
NoProfileSvc
Definition: NoProfileSvc.h:19
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
run
Definition: run.py:1
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:221
NoProfileSvc::initialize
virtual StatusCode initialize() override final
Definition: NoProfileSvc.cxx:16
lumiFormat.lumi
lumi
Definition: lumiFormat.py:106
NoProfileSvc::scaleFactor
virtual float scaleFactor(unsigned int run, unsigned int lumi, bool &updated) override final
Definition: NoProfileSvc.cxx:22
AthService.h
NoProfileSvc::NoProfileSvc
NoProfileSvc(const std::string &name, ISvcLocator *svc)
Definition: NoProfileSvc.cxx:7
IBeamLuminosity.h
provides the relative beam luminosity as a function of the bunch xing.