ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
PileUpComps
src
FlatBM.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 PILEUPCOMPS_FLATBM
8
#define PILEUPCOMPS_FLATBM 1
14
#include "
PileUpTools/IBeamIntensity.h
"
15
#include "
AthenaBaseComps/AthService.h
"
16
17
class
FlatBM
:
public
extends<AthService, IBeamIntensity>
18
{
19
public
:
21
22
FlatBM
(
const
std::string& name,ISvcLocator* svc);
24
26
inline
virtual
float
normFactor
(
int
/*iXing*/
)
const
override
final
{
return
1.0; }
27
inline
virtual
float
largestElementInPattern
()
const
override final {
return
1.0; }
28
inline
virtual
void
selectT0
(
const
EventContext&
/*ctx*/
)
override
{}
29
inline
virtual
unsigned
int
getCurrentT0BunchCrossing
()
const
override final
30
{
31
//The first filled bunch crossing is always BCID 1
32
return
1;
33
}
34
inline
virtual
unsigned
int
getBeamPatternLength
()
const
override final {
return
1; }
36
};
37
#endif
AthService.h
IBeamIntensity.h
provides the relative beam intensity as a function of the bunch xing.
FlatBM::largestElementInPattern
virtual float largestElementInPattern() const override final
Definition
FlatBM.h:27
FlatBM::normFactor
virtual float normFactor(int) const override final
Definition
FlatBM.h:26
FlatBM::getCurrentT0BunchCrossing
virtual unsigned int getCurrentT0BunchCrossing() const override final
Definition
FlatBM.h:29
FlatBM::FlatBM
FlatBM(const std::string &name, ISvcLocator *svc)
Definition
FlatBM.cxx:7
FlatBM::selectT0
virtual void selectT0(const EventContext &) override
Definition
FlatBM.h:28
FlatBM::getBeamPatternLength
virtual unsigned int getBeamPatternLength() const override final
Definition
FlatBM.h:34
const
Generated on
for ATLAS Offline Software by
1.17.0