|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ENHANCEDBIASWEIGHTER_IENHANCEDBIASWEIGHTER_H
6 #define ENHANCEDBIASWEIGHTER_IENHANCEDBIASWEIGHTER_H 1
11 #include <unordered_map>
25 virtual double getEBWeight(
const EventContext& context)
const = 0;
29 virtual double getLBLumi(
const EventContext& context)
const = 0;
31 virtual double getLBLength(
const EventContext& context)
const = 0;
40 virtual bool isGoodLB(
const EventContext& context)
const = 0;
41 virtual bool isMC()
const = 0;
42 virtual std::unordered_map<std::string, ChainDetail>
parsePrescaleXML(
const std::string& prescaleXML)
const = 0;
47 #endif //> !ENHANCEDBIASWEIGHTER_IENHANCEDBIASWEIGHTER_H
virtual double getAverageLumi() const =0
virtual StatusCode getDistanceIntoTrain(const xAOD::EventInfo *eventInfo, uint32_t &distance) const =0
virtual bool isMC() const =0
virtual double getEBLiveTime(const xAOD::EventInfo *eventInfo) const =0
virtual double getLBLength(const xAOD::EventInfo *eventInfo) const =0
virtual bool isGoodLB(const xAOD::EventInfo *eventInfo) const =0
virtual std::unordered_map< std::string, ChainDetail > parsePrescaleXML(const std::string &prescaleXML) const =0
virtual double getLBLumi(const EventContext &context) const =0
virtual double getLBLumi(const xAOD::EventInfo *eventInfo) const =0
Define interface of EnhancedBias weighting class.
virtual double getDeadtime(const int lumiblock=-1) const =0
virtual bool isGoodLB(const EventContext &context) const =0
virtual double getAverageMu() const =0
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing the basic event information.
virtual uint32_t getPairedBunches() const =0
virtual uint32_t getRunNumber() const =0
virtual bool isUnbiasedEvent(const xAOD::EventInfo *eventInfo) const =0
virtual double getLBLength(const EventContext &context) const =0
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
virtual double getEBLiveTime(const EventContext &context) const =0
virtual const std::vector< int32_t > & getBunchGroups() const =0
Structure to encompass the data stored in a prescales XML generated by the RuleBook.