|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef LUMIBLOCKCOMPS_BUNCHCROSSINGCONDALG_H
14 #define LUMIBLOCKCOMPS_BUNCHCROSSINGCONDALG_H
59 std::vector<bunchTrain_t>
findTrains(
const std::bitset< BunchCrossingCondData::m_MAX_BCID>& pairsToConsume,
const int maxSpacingInTrain,
const unsigned minBunchesPerTrain)
const;
63 Gaudi::Property<unsigned>
m_maxBunchSpacing{
this,
"MaxBunchSpacing",5,
"Maximal bunch-spacing to be considered a 'bunch train'"};
64 Gaudi::Property<unsigned>
m_minBunchesPerTrain{
this,
"MinBunchesPerTrain",32,
"Minimal number of bunches to be considerd a 'bunch train'"};
65 Gaudi::Property<bool>
m_isRun1{
this,
"Run1",
false,
"Assume run-1 database"};
66 Gaudi::Property<int>
m_mode{
this,
"Mode", 1,
"Alg mode (COOL FILLPARAMS = 0, MC = 1, TrigConf = 2, Luminosity = 3)"};
std::vector< float > tokenize(const std::string &pattern) const
This helper function is used to convert a string of type "[0.0, 0.0, 1.0, 1.0, 1.0]" into a vector of...
const ServiceHandle< TrigConf::ILVL1ConfigSvc > m_trigConfigSvc
Gaudi::Property< unsigned > m_minBunchesPerTrain
virtual bool isReEntrant() const override final
SG::ReadCondHandleKey< TrigConf::L1BunchGroupSet > m_bunchGroupCondDataKey
bool const RAWDATA *ch2 const
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< bool > m_isRun1
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm execute method.
AthReentrantAlgorithm()
Default constructor:
std::vector< bunchTrain_t > findTrains(const std::bitset< BunchCrossingCondData::m_MAX_BCID > &pairsToConsume, const int maxSpacingInTrain, const unsigned minBunchesPerTrain) const
internal methods:
SG::WriteCondHandleKey< BunchCrossingCondData > m_outputKey
Output conditions object.
::StatusCode StatusCode
StatusCode definition for legacy code.
BunchCrossingCondData::bunchTrain_t bunchTrain_t
Holds fill parameters data.
virtual StatusCode initialize() override
Gaudi initialize method.
Hold luminosity data produced by LuminosityCondAlg.
SG::ReadCondHandleKey< AthenaAttributeList > m_fillParamsFolderKey
Input conditions object.
Conditions algorithm to unpack fill parameters from COOL.
SG::ReadCondHandleKey< LuminosityCondData > m_lumiCondDataKey
Gaudi::Property< unsigned > m_maxBunchSpacing
Replaces the BunchCrossing AlgTool used in run1/2.
Gaudi::Property< int > m_mode