ATLAS Offline Software
Loading...
Searching...
No Matches
ZeroBias.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4/*********************************
5 * ZeroBias.cxx
6 * Created by Marco Montella on 15/01/24.
7 *
8 * @brief ZeroBias topo algorithm, for now only an empty shell
9 *
10 *
11 *
12**********************************/
13
14#include <cmath>
15
19
21
22
23REGISTER_ALG_TCS(ZeroBias)
24
25using namespace std;
26
27
29{
30
31 defineParameter("InputWidth", 0 );
32 defineParameter("NumMultiplicityBits", 0 );
33
34 defineParameter("DelayBC", 0);
35 defineParameter("Topo1Opt0Mask1", 0);
36 defineParameter("Topo1Opt0Mask2", 0);
37 defineParameter("Topo1Opt0Mask3", 0);
38 defineParameter("Topo1Opt1Mask1", 0);
39 defineParameter("Topo1Opt1Mask2", 0);
40 defineParameter("Topo1Opt1Mask3", 0);
41
42
44
45}
46
48
49
52
54 // book histograms
55
57
58}
59
64
65
67 Count & count )
68{
69 const TOBArray & tobArray = dynamic_cast<const TOBArray&>(input);
70
71 count.setSizeCount(tobArray.size());
72
74}
#define REGISTER_ALG_TCS(CLASS)
Definition AlgFactory.h:62
CP::CorrectionCode getThreshold(Int_t &threshold, const std::string &trigger)
const std::string & name() const
void defineParameter(const std::string &name, TCS::parType_t value)
CountingAlg(const std::string &name)
Definition CountingAlg.h:28
void setNumberOutputBits(unsigned int numberOutputBits)
Definition CountingAlg.h:41
size_t size() const
ZeroBias(const std::string &name)
Definition ZeroBias.cxx:28
virtual StatusCode initialize() override
Definition ZeroBias.cxx:51
virtual StatusCode process(const TCS::InputTOBArray &input, Count &count) override final
Definition ZeroBias.cxx:66
TrigConf::L1Threshold const * m_threshold
Definition ZeroBias.h:38
virtual StatusCode processBitCorrect(const TCS::InputTOBArray &input, Count &count) override final
Definition ZeroBias.cxx:60
virtual ~ZeroBias()
Definition ZeroBias.cxx:47
const std::string process
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146
STL namespace.