ATLAS Offline Software
IBeamLuminosity.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 
3 /*
4  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef PILEUPTOOLS_IBEAMLUMINOSITY_H
8 #define PILEUPTOOLS_IBEAMLUMINOSITY_H
9 
16 #include "GaudiKernel/IService.h"
17 class IBeamLuminosity : virtual public IService {
18 public:
21  virtual float scaleFactor(unsigned int run, unsigned int lumi, bool & updated) = 0;
22 
25 };
26 #endif // PILEUPTOOLS_IBEAMLUMINOSITY_H
IBeamLuminosity::DeclareInterfaceID
DeclareInterfaceID(IBeamLuminosity, 1, 0)
Creates the InterfaceID and interfaceID() method.
IBeamLuminosity::scaleFactor
virtual float scaleFactor(unsigned int run, unsigned int lumi, bool &updated)=0
a scale-down factor (between 0 and 1) for the beam luminosity at a given run and lumiblock number
run
Definition: run.py:1
lumiFormat.lumi
lumi
Definition: lumiFormat.py:106
IBeamLuminosity
Definition: IBeamLuminosity.h:17