ATLAS Offline Software
Loading...
Searching...
No Matches
CommonSelector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GLOBALSIM_COMMONMULTSELECTOR_H
6#define GLOBALSIM_COMMONMULTSELECTOR_H
7
8#include "ICommonSelector.h"
9#include "../IO/ICommonTOB.h" // bitset widths
10
11#include <string>
12#include <climits>
13
14namespace GlobalSim {
20
21 using GlobalSim::IOBitwise::ICommonTOB;
22
24 public:
25
27 CommonSelector() = default;
28
30 CommonSelector(const std::string& et_low,
31 const std::string& et_high,
32 const std::string& eta_low,
33 const std::string& eta_high,
34 const std::string& phi_low,
35 const std::string& phi_high);
36
37 virtual ~CommonSelector() = default;
38
39 virtual bool select(const ICommonTOB&) const override;
40
41 virtual std::string to_string() const override;
42
43 private:
44 ulong m_et_low{0};
45 ulong m_et_high{ULONG_MAX};
46
47 ulong m_eta_low{0};
48 ulong m_eta_high{ULONG_MAX};
49
50
51 ulong m_phi_low{0};
52 ulong m_phi_high{ULONG_MAX};
53 };
54}
55#endif
virtual ~CommonSelector()=default
CommonSelector()=default
Passes all.
virtual bool select(const ICommonTOB &) const override
virtual std::string to_string() const override
Class to hold common (eta/eta/phi) TOB bits.
Definition ICommonTOB.h:27
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...