ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
PileUpTools
PileUpTools
IBeamIntensity.h
Go to the documentation of this file.
1
/* -*- C++ -*- */
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef PILEUPTOOLS_IBEAMINTENSITY_H
8
#define PILEUPTOOLS_IBEAMINTENSITY_H
14
15
#include "GaudiKernel/IService.h"
16
17
class
EventContext;
18
19
class
IBeamIntensity
:
virtual
public
IService {
20
public
:
23
virtual
float
normFactor
(
int
bunchXing)
const
= 0;
24
27
virtual
float
largestElementInPattern
()
const
= 0;
28
31
virtual
void
selectT0
(
const
EventContext& ctx) =0;
32
34
virtual
unsigned
int
getCurrentT0BunchCrossing
()
const
=0;
35
37
virtual
unsigned
int
getBeamPatternLength
()
const
=0;
38
40
DeclareInterfaceID
(
IBeamIntensity
, 1, 0 );
41
};
42
#endif
// PILEUPTOOLS_IBEAMINTENSITY_H
IBeamIntensity
Definition
IBeamIntensity.h:19
IBeamIntensity::getCurrentT0BunchCrossing
virtual unsigned int getCurrentT0BunchCrossing() const =0
return the bunch crossing selected to be the current t0 bunch crossing
IBeamIntensity::DeclareInterfaceID
DeclareInterfaceID(IBeamIntensity, 1, 0)
Creates the InterfaceID and interfaceID() method.
IBeamIntensity::selectT0
virtual void selectT0(const EventContext &ctx)=0
randomly select in which bunch the current t0 is wrto the beam intensity distribution.
IBeamIntensity::getBeamPatternLength
virtual unsigned int getBeamPatternLength() const =0
return the length of the beam pattern
IBeamIntensity::largestElementInPattern
virtual float largestElementInPattern() const =0
the largest element in the beam intensity pattern.
IBeamIntensity::normFactor
virtual float normFactor(int bunchXing) const =0
a scale factor (average value 1.0) for the beam intensity at a given xing.
Generated on
for ATLAS Offline Software by
1.17.0