ATLAS Offline Software
Loading...
Searching...
No Matches
PeriodicScaler.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5/**********************************************************************************
6 * @Project: HLT Steering
7 * @Package: TrigSteering
8 * @class : PeriodicScaler
9 *
10 * @brief : implementation of Prescale/PassThrough engine using periodic algorithm
11 *
12 * @author Nicolas Berger <Nicolas.Berger@cern.ch> - CERN
13 *
14 * File and Version Information:
15 **********************************************************************************/
16
17#ifndef TRIGSTEERING_PeriodicScaler_H
18#define TRIGSTEERING_PeriodicScaler_H
19
20//#include "TrigSteering/Scaler.h"
21
22#include <vector>
23
24namespace LVL1 {
25
34
35 public:
36
38 virtual ~PeriodicScaler() { }
39
44 virtual bool decision(float factor);
45
48 void reset();
49
50 protected:
51 unsigned int m_counter;
52 unsigned int m_last;
53 };
54
55
64 public:
67
72 virtual bool decision(float factor) override;
73 };
74
75}
76#endif
virtual bool decision(float factor) override
make decision based on given factor (but always take first event)
virtual bool decision(float factor)
make decision based on given factor
unsigned int m_last
last integer
void reset()
Reset scaler to initial state.
unsigned int m_counter
event counter
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...