ATLAS Offline Software
EnergyThreshold_jXE.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef GLOBALSIM_ENERGYTHRESHOLD_JXE_H
5 #define GLOBALSIM_ENERGYTHRESHOLD_JXE_H
6 
7 #include "GaudiKernel/StatusCode.h"
8 
9 #include <vector>
10 #include <string>
11 #include <map>
12 
13 namespace GlobalSim {
14 
15  class Count;
16 
17  class jXETOBArray;
18 
20 
21  public:
22 
23  EnergyThreshold_jXE(const std::string& name,
24  unsigned int nbits,
25  unsigned int threshold);
26 
27  virtual ~EnergyThreshold_jXE() = default;
28 
29  // not const due to variables to be monitored
31  Count& count);
32 
33  // expose data to be monitored
34  const std::vector<double>& input_ET() const;
35  const std::vector<double>& passing_ET() const;
36  const std::vector<double>& counts() const;
37 
38  std::string toString() const;
39  private:
40  std::string m_name{};
41 
42  unsigned int m_nbits{0u};
43  unsigned int m_100MeVthreshold{0u};
44 
45  // data to monitor
46  std::vector<double> m_inputET{};
47  std::vector<double> m_passingET{};
48  std::vector<double> m_counts{};
49  };
50 }
51 
52 #endif
GlobalSim::EnergyThreshold_jXE::~EnergyThreshold_jXE
virtual ~EnergyThreshold_jXE()=default
GlobalSim::EnergyThreshold_jXE::m_inputET
std::vector< double > m_inputET
Definition: EnergyThreshold_jXE.h:46
GlobalSim::EnergyThreshold_jXE::m_passingET
std::vector< double > m_passingET
Definition: EnergyThreshold_jXE.h:47
GlobalSim::EnergyThreshold_jXE
Definition: EnergyThreshold_jXE.h:19
GlobalSim::EnergyThreshold_jXE::run
StatusCode run(const jXETOBArray &input, Count &count)
Definition: EnergyThreshold_jXE.cxx:35
GlobalSim::EnergyThreshold_jXE::m_counts
std::vector< double > m_counts
Definition: EnergyThreshold_jXE.h:48
GlobalSim::EnergyThreshold_jXE::m_name
std::string m_name
Definition: EnergyThreshold_jXE.h:40
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
GlobalSim::Count
Definition: Global/GlobalSimulation/src/IO/Count.h:23
GlobalSim::EnergyThreshold_jXE::EnergyThreshold_jXE
EnergyThreshold_jXE(const std::string &name, unsigned int nbits, unsigned int threshold)
Definition: EnergyThreshold_jXE.cxx:22
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
GlobalSim::EnergyThreshold_jXE::m_100MeVthreshold
unsigned int m_100MeVthreshold
Definition: EnergyThreshold_jXE.h:43
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
threshold
Definition: chainparser.cxx:74
GlobalSim::jXETOBArray
Definition: Global/GlobalSimulation/src/IO/jXETOBArray.h:17
GlobalSim::EnergyThreshold_jXE::input_ET
const std::vector< double > & input_ET() const
Definition: EnergyThreshold_jXE.cxx:67
GlobalSim::EnergyThreshold_jXE::counts
const std::vector< double > & counts() const
Definition: EnergyThreshold_jXE.cxx:75
GlobalSim::EnergyThreshold_jXE::m_nbits
unsigned int m_nbits
Definition: EnergyThreshold_jXE.h:42
GlobalSim::EnergyThreshold_jXE::toString
std::string toString() const
Definition: EnergyThreshold_jXE.cxx:59
GlobalSim::EnergyThreshold_jXE::passing_ET
const std::vector< double > & passing_ET() const
Definition: EnergyThreshold_jXE.cxx:71