ATLAS Offline Software
Loading...
Searching...
No Matches
L1CaloPprConditions.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <string>
8#include <sstream>
9#include <iostream>
10#include <iomanip>
11
27
29 unsigned short satBcidThreshLow, unsigned short satBcidThreshHigh, unsigned short satBcidLevel,
30 unsigned short bcidEnergyRangeLow, unsigned short bcidEnergyRangeHigh, unsigned short firStartBit,
31 short int firCoeff1, short int firCoeff2, short int firCoeff3, short int firCoeff4, short int firCoeff5,
32 unsigned short lutStrategy, unsigned short lutOffset, unsigned short lutSlope, unsigned short lutNoiseCut,
33 unsigned int pedValue, float pedMean):
34
48{
49 m_vFirCoefficients.reserve(5);
50 m_vFirCoefficients.push_back(firCoeff1);
51 m_vFirCoefficients.push_back(firCoeff2);
52 m_vFirCoefficients.push_back(firCoeff3);
53 m_vFirCoefficients.push_back(firCoeff4);
54 m_vFirCoefficients.push_back(firCoeff5);
55}
56
57std::ostream& operator<<(std::ostream& output, const L1CaloPprConditions& r) {
58 output << "extBcidThreshold: " << r.m_extBcidThreshold << ", "
59 << "satBcidThreshLow: " << r.m_satBcidThreshLow << ", "
60 << "satBcidThreshHigh: " << r.m_satBcidThreshHigh << ", "
61 << "bcidEnergyRangeLow: " << r.m_bcidEnergyRangeLow << ", "
62 << "bcidEnergyRangeHigh: " << r.m_bcidEnergyRangeHigh << std::endl
63 << "firStartBit: " << r.m_firStartBit << ", "
64 << "firCoeff1: " << r.m_vFirCoefficients.at(0) << ", "
65 << "firCoeff2: " << r.m_vFirCoefficients.at(1) << ", "
66 << "firCoeff3: " << r.m_vFirCoefficients.at(2) << ", "
67 << "firCoeff4: " << r.m_vFirCoefficients.at(3) << ", "
68 << "firCoeff5: " << r.m_vFirCoefficients.at(4) << std::endl
69 << "lutStrategy: " << r.m_lutStrategy << ", "
70 << "lutOffset: " << r.m_lutOffset << ", "
71 << "lutSlope: " << r.m_lutSlope << ", "
72 << "lutNoiseCut: " << r.m_lutNoiseCut << ", "
73 << "pedValue: " << r.m_pedValue << ", "
74 << "pedMean: " << r.m_pedMean << std::endl;
75 return output;
76}
std::ostream & operator<<(std::ostream &output, const L1CaloPprConditions &r)
unsigned short bcidEnergyRangeHigh() const
unsigned short bcidEnergyRangeLow() const
unsigned short lutStrategy() const
unsigned short m_firStartBit
unsigned short m_lutStrategy
unsigned short lutSlope() const
unsigned short satBcidLevel() const
unsigned short m_satBcidLevel
std::vector< short int > m_vFirCoefficients
unsigned short firStartBit() const
unsigned short m_lutNoiseCut
unsigned short m_satBcidThreshHigh
unsigned short m_bcidEnergyRangeLow
unsigned short satBcidThreshHigh() const
unsigned short m_extBcidThreshold
unsigned int pedValue() const
unsigned short extBcidThreshold() const
unsigned short satBcidThreshLow() const
unsigned short lutOffset() const
unsigned short m_bcidEnergyRangeHigh
unsigned short lutNoiseCut() const
unsigned short m_satBcidThreshLow
int r
Definition globals.cxx:22