CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Attributes | Friends
L1GctGlobalEnergyAlgos Class Reference

Emulates the GCT global energy algorithms. More...

#include <L1GctGlobalEnergyAlgos.h>

Inheritance diagram for L1GctGlobalEnergyAlgos:
L1GctProcessor

Public Types

typedef L1GctWheelEnergyFpga::etComponentType etComponentType
 
typedef L1GctUnsignedInt< L1GctEtHad::kEtHadNBitsetHadType
 
typedef L1GctMet::etmiss_vec etmiss_vec
 
typedef L1GctMet::etMissPhiType etMissPhiType
 
typedef L1GctMet::etMissType etMissType
 
typedef L1GctUnsignedInt< L1GctEtTotal::kEtTotalNBitsetTotalType
 
enum  maxValues { etTotalMaxValue = L1GctEtTotal::kEtTotalMaxValue, etHadMaxValue = L1GctEtHad::kEtHadMaxValue, etMissMaxValue = L1GctEtMiss::kEtMissMaxValue }
 

Public Member Functions

void fetchInput () override
 get input data from sources More...
 
std::vector< etHadTypegetEtHadColl () const
 return std::vector< output calibrated jet Et More...
 
std::vector< etMissTypegetEtMissColl () const
 
std::vector< etMissPhiTypegetEtMissPhiColl () const
 return output missing Et value More...
 
std::vector< etTotalTypegetEtSumColl () const
 return output total scalar Et More...
 
L1GctGlobalHfSumAlgosgetHfSumProcessor () const
 provide access to hf sum processor More...
 
std::vector< etMissTypegetHtMissColl () const
 return output missing Ht magnitude More...
 
const L1GctHtMissLutgetHtMissLut () const
 
std::vector< etMissPhiTypegetHtMissPhiColl () const
 return output missing Ht value More...
 
std::vector< etTotalTypegetInputEtValPlusWheel () const
 return input Et value wheel 1 More...
 
std::vector< etTotalTypegetInputEtVlMinusWheel () const
 return input Et value wheel 0 More...
 
std::vector< etComponentTypegetInputExValPlusWheel () const
 return input Ex value wheel 1 More...
 
std::vector< etComponentTypegetInputExVlMinusWheel () const
 return input Ey value wheel 0 More...
 
std::vector< etComponentTypegetInputEyValPlusWheel () const
 return input Ex value wheel 1 More...
 
std::vector< etComponentTypegetInputEyVlMinusWheel () const
 return input Ey value wheel 0 More...
 
std::vector< etHadTypegetInputHtValPlusWheel () const
 return input Ht value wheel 1 More...
 
std::vector< etHadTypegetInputHtVlMinusWheel () const
 return input Ht value wheel 0 More...
 
std::vector< etComponentTypegetInputHxValPlusWheel () const
 return input Ht component values wheel 1 More...
 
std::vector< etComponentTypegetInputHxVlMinusWheel () const
 return input Ht value wheel 0 More...
 
std::vector< etComponentTypegetInputHyValPlusWheel () const
 
std::vector< etComponentTypegetInputHyVlMinusWheel () const
 
L1GctWheelEnergyFpgagetMinusWheelFpga () const
 provide access to input pointer, Wheel Energy Fpga 0 More...
 
L1GctWheelJetFpgagetMinusWheelJetFpga () const
 provide access to input pointer, Wheel Jet Fpga 0 More...
 
L1GctWheelEnergyFpgagetPlusWheelFpga () const
 provide access to input pointer, Wheel Energy Fpga 1 More...
 
L1GctWheelJetFpgagetPlusWheelJetFpga () const
 provide access to input pointer, Wheel Jet Fpga 1 More...
 
 L1GctGlobalEnergyAlgos (const std::vector< L1GctWheelEnergyFpga * > &WheelFpga, const std::vector< L1GctWheelJetFpga * > &WheelJetFpga)
 Constructor needs the Wheel card Fpgas set up first. More...
 
void process () override
 process the data, fill output buffers More...
 
void reset ()
 clear internal buffers More...
 
void setBxRange (const int firstBx, const int numberOfBx)
 define the bunch crossing range to process More...
 
void setHtMissScale (const L1CaloEtScale *const scale)
 
void setInputWheelEt (unsigned wheel, unsigned energy, bool overflow)
 set input Et value per wheel (0 or 1); not used in normal operation More...
 
void setInputWheelEx (unsigned wheel, int energy, bool overflow)
 set input Ex value per wheel (0 or 1); not used in normal operation More...
 
void setInputWheelEy (unsigned wheel, int energy, bool overflow)
 set input Ey value per wheel (0 or 1); not used in normal operation More...
 
void setInputWheelHt (unsigned wheel, unsigned energy, bool overflow)
 set input Ht value per wheel (0 or 1); not used in normal operation More...
 
void setInputWheelHx (unsigned wheel, unsigned energy, bool overflow)
 set input Ht component values per wheel (0 or 1); not used in normal operation More...
 
void setInputWheelHy (unsigned wheel, unsigned energy, bool overflow)
 
void setInputWheelJc (unsigned wheel, unsigned jcnum, unsigned count)
 set input jet count (number 0-11) per wheel (0 or 1); not used in normal operation More...
 
void setJetFinderParams (const L1GctJetFinderParams *const jfpars)
 
void setNextBx (const int bx)
 partially clear buffers More...
 
bool setupOk () const
 check setup More...
 
 ~L1GctGlobalEnergyAlgos () override
 Destructor. More...
 
- Public Member Functions inherited from L1GctProcessor
 L1GctProcessor ()
 
void reset ()
 complete reset of processor More...
 
void setBxRange (const int firstBx, const int numberOfBx)
 define the bunch crossing range to process More...
 
void setNextBx (const int bxnum)
 clear input data buffers and process a new bunch crossing More...
 
void setTerse ()
 
bool setupOk () const
 Method to check the setup for this processor. Returns true by default. More...
 
void setVerbose ()
 control output messages More...
 
virtual ~L1GctProcessor ()
 

Protected Member Functions

void resetPipelines () override
 
void resetProcessor () override
 Separate reset methods for the processor itself and any data stored in pipelines. More...
 
void setupObjects () override
 Initialise inputs with null objects for the correct bunch crossing if required. More...
 
- Protected Member Functions inherited from L1GctProcessor
int bxAbs () const
 
int bxMax () const
 
int bxMin () const
 Support for multiple beam crossing operation. More...
 
int bxRel () const
 
int numOfBx () const
 

Private Attributes

Pipeline< etTotalTypem_etValPlusPipe
 
etTotalType m_etValPlusWheel
 
Pipeline< etTotalTypem_etVlMinusPipe
 
etTotalType m_etVlMinusWheel
 
Pipeline< etComponentTypem_exValPlusPipe
 
etComponentType m_exValPlusWheel
 
Pipeline< etComponentTypem_exVlMinusPipe
 
etComponentType m_exVlMinusWheel
 
Pipeline< etComponentTypem_eyValPlusPipe
 
etComponentType m_eyValPlusWheel
 
Pipeline< etComponentTypem_eyVlMinusPipe
 
etComponentType m_eyVlMinusWheel
 
L1GctGlobalHfSumAlgosm_hfSumProcessor
 
Pipeline< etHadTypem_htValPlusPipe
 
etHadType m_htValPlusWheel
 
Pipeline< etHadTypem_htVlMinusPipe
 
etHadType m_htVlMinusWheel
 
Pipeline< etComponentTypem_hxValPlusPipe
 
etComponentType m_hxValPlusWheel
 
Pipeline< etComponentTypem_hxVlMinusPipe
 
etComponentType m_hxVlMinusWheel
 
Pipeline< etComponentTypem_hyValPlusPipe
 
etComponentType m_hyValPlusWheel
 
Pipeline< etComponentTypem_hyVlMinusPipe
 
etComponentType m_hyVlMinusWheel
 
L1GctMet m_metComponents
 
L1GctMet m_mhtComponents
 
L1GctWheelEnergyFpgam_minusWheelFpga
 
L1GctWheelJetFpgam_minusWheelJetFpga
 
Pipeline< etHadTypem_outputEtHad
 
Pipeline< etMissTypem_outputEtMiss
 
Pipeline< etMissPhiTypem_outputEtMissPhi
 
Pipeline< etTotalTypem_outputEtSum
 
Pipeline< etMissTypem_outputHtMiss
 
Pipeline< etMissPhiTypem_outputHtMissPhi
 
L1GctWheelEnergyFpgam_plusWheelFpga
 
L1GctWheelJetFpgam_plusWheelJetFpga
 
bool m_setupOk
 

Friends

std::ostream & operator<< (std::ostream &os, const L1GctGlobalEnergyAlgos &fpga)
 Overload << operator. More...
 

Additional Inherited Members

- Protected Attributes inherited from L1GctProcessor
bool m_verbose
 Flag to control output messages. More...
 

Detailed Description

Emulates the GCT global energy algorithms.

This class carries out the final stage of summing of total Et, missing Et components Ex and Ey, calibrated jet energy Ht, and jet counts. It converts the final missing Ex and Ey sums to magnitude and direction. The inputs come from the two Wheel cards and the outputs are sent to the Global Trigger.

Author
Jim Brooke & Greg Heath
Date
20/2/2006

Definition at line 33 of file L1GctGlobalEnergyAlgos.h.

Member Typedef Documentation

◆ etComponentType

Definition at line 40 of file L1GctGlobalEnergyAlgos.h.

◆ etHadType

Definition at line 36 of file L1GctGlobalEnergyAlgos.h.

◆ etmiss_vec

Definition at line 39 of file L1GctGlobalEnergyAlgos.h.

◆ etMissPhiType

Definition at line 38 of file L1GctGlobalEnergyAlgos.h.

◆ etMissType

Definition at line 37 of file L1GctGlobalEnergyAlgos.h.

◆ etTotalType

Definition at line 35 of file L1GctGlobalEnergyAlgos.h.

Member Enumeration Documentation

◆ maxValues

Enumerator
etTotalMaxValue 
etHadMaxValue 
etMissMaxValue 

Definition at line 42 of file L1GctGlobalEnergyAlgos.h.

Constructor & Destructor Documentation

◆ L1GctGlobalEnergyAlgos()

L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos ( const std::vector< L1GctWheelEnergyFpga * > &  WheelFpga,
const std::vector< L1GctWheelJetFpga * > &  WheelJetFpga 
)

Constructor needs the Wheel card Fpgas set up first.

Definition at line 16 of file L1GctGlobalEnergyAlgos.cc.

18  : L1GctProcessor(),
19  m_plusWheelFpga(wheelFpga.at(1)),
20  m_minusWheelFpga(wheelFpga.at(0)),
21  m_plusWheelJetFpga(wheelJetFpga.at(1)),
22  m_minusWheelJetFpga(wheelJetFpga.at(0)),
43  m_outputEtSum(),
44  m_outputEtHad(),
45  m_setupOk(true) {
46  if (wheelFpga.size() != 2) {
47  m_setupOk = false;
48  if (m_verbose) {
49  edm::LogWarning("L1GctSetupError") << "L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos() : Global Energy Algos "
50  "has been incorrectly constructed!\n"
51  << "This class needs two wheel card pointers. "
52  << "Number of wheel card pointers present is " << wheelFpga.size() << ".\n";
53  }
54  }
55 
56  if (wheelJetFpga.size() != 2) {
57  m_setupOk = false;
58  if (m_verbose) {
59  edm::LogWarning("L1GctSetupError") << "L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos() : Global Energy Algos "
60  "has been incorrectly constructed!\n"
61  << "This class needs two wheel jet fpga pointers. "
62  << "Number of wheel jet fpga pointers present is " << wheelJetFpga.size()
63  << ".\n";
64  }
65  }
66 
67  if (m_plusWheelFpga == nullptr) {
68  m_setupOk = false;
69  if (m_verbose) {
70  edm::LogWarning("L1GctSetupError")
71  << "L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos() has been incorrectly constructed!\n"
72  << "Plus Wheel Fpga pointer has not been set!\n";
73  }
74  }
75  if (m_minusWheelFpga == nullptr) {
76  m_setupOk = false;
77  if (m_verbose) {
78  edm::LogWarning("L1GctSetupError")
79  << "L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos() has been incorrectly constructed!\n"
80  << "Minus Wheel Fpga pointer has not been set!\n";
81  }
82  }
83  if (m_plusWheelJetFpga == nullptr) {
84  m_setupOk = false;
85  if (m_verbose) {
86  edm::LogWarning("L1GctSetupError")
87  << "L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos() has been incorrectly constructed!\n"
88  << "Plus Wheel Jet Fpga pointer has not been set!\n";
89  }
90  }
91  if (m_minusWheelJetFpga == nullptr) {
92  m_setupOk = false;
93  if (m_verbose) {
94  edm::LogWarning("L1GctSetupError")
95  << "L1GctGlobalEnergyAlgos::L1GctGlobalEnergyAlgos() has been incorrectly constructed!\n"
96  << "Minus Wheel Jet Fpga pointer has not been set!\n";
97  }
98  }
99 
100  // Set the scale for missing Et and missing Ht
101  // Missing Et has one extra bit of precision added in the (Ex, Ey)
102  // conversion step, so we reverse this here.
104  // Missing Ht has its own bit shifting before the LUT, so we don't
105  // need any extra
107 
108  // Setup to perform the Hf sums
109  m_hfSumProcessor = new L1GctGlobalHfSumAlgos(wheelJetFpga);
110 
112 
113  if (!m_setupOk && m_verbose) {
114  edm::LogError("L1GctSetupError") << "L1GctGlobalEnergyAlgos has been incorrectly constructed";
115  }
116 }

References m_hfSumProcessor, m_metComponents, m_mhtComponents, m_minusWheelFpga, m_minusWheelJetFpga, m_plusWheelFpga, m_plusWheelJetFpga, m_setupOk, L1GctProcessor::m_verbose, L1GctMet::setBitShift(), and L1GctGlobalHfSumAlgos::setupOk().

◆ ~L1GctGlobalEnergyAlgos()

L1GctGlobalEnergyAlgos::~L1GctGlobalEnergyAlgos ( )
override

Destructor.

Definition at line 118 of file L1GctGlobalEnergyAlgos.cc.

118  {
119  if (m_hfSumProcessor != nullptr) {
120  delete m_hfSumProcessor;
121  }
122 }

References m_hfSumProcessor.

Member Function Documentation

◆ fetchInput()

void L1GctGlobalEnergyAlgos::fetchInput ( )
overridevirtual

get input data from sources

Implements L1GctProcessor.

Definition at line 203 of file L1GctGlobalEnergyAlgos.cc.

References L1GctGlobalHfSumAlgos::fetchInput(), L1GctWheelEnergyFpga::getOutputEt(), L1GctWheelEnergyFpga::getOutputEx(), L1GctWheelEnergyFpga::getOutputEy(), L1GctWheelEnergyFpga::getOutputHt(), L1GctWheelJetFpga::getOutputHx(), L1GctWheelJetFpga::getOutputHy(), m_etValPlusWheel, m_etVlMinusWheel, m_exValPlusWheel, m_exVlMinusWheel, m_eyValPlusWheel, m_eyVlMinusWheel, m_hfSumProcessor, m_htValPlusWheel, m_htVlMinusWheel, m_hxValPlusWheel, m_hxVlMinusWheel, m_hyValPlusWheel, m_hyVlMinusWheel, m_minusWheelFpga, m_minusWheelJetFpga, m_plusWheelFpga, m_plusWheelJetFpga, and m_setupOk.

Referenced by L1GlobalCaloTrigger::bxProcess().

◆ getEtHadColl()

std::vector<etHadType> L1GctGlobalEnergyAlgos::getEtHadColl ( ) const
inline

return std::vector< output calibrated jet Et

Definition at line 129 of file L1GctGlobalEnergyAlgos.h.

129 { return m_outputEtHad.contents; }

References m_outputEtHad.

Referenced by L1GlobalCaloTrigger::getEtHadCollection().

◆ getEtMissColl()

std::vector<etMissType> L1GctGlobalEnergyAlgos::getEtMissColl ( ) const
inline

Access to output quantities for all bunch crossings return output missing Et magnitude

Definition at line 123 of file L1GctGlobalEnergyAlgos.h.

123 { return m_outputEtMiss.contents; }

References m_outputEtMiss.

Referenced by L1GlobalCaloTrigger::getEtMissCollection().

◆ getEtMissPhiColl()

std::vector<etMissPhiType> L1GctGlobalEnergyAlgos::getEtMissPhiColl ( ) const
inline

return output missing Et value

Definition at line 125 of file L1GctGlobalEnergyAlgos.h.

125 { return m_outputEtMissPhi.contents; }

References m_outputEtMissPhi.

Referenced by L1GlobalCaloTrigger::getEtMissCollection().

◆ getEtSumColl()

std::vector<etTotalType> L1GctGlobalEnergyAlgos::getEtSumColl ( ) const
inline

return output total scalar Et

Definition at line 127 of file L1GctGlobalEnergyAlgos.h.

127 { return m_outputEtSum.contents; }

References m_outputEtSum.

Referenced by L1GlobalCaloTrigger::getEtSumCollection().

◆ getHfSumProcessor()

L1GctGlobalHfSumAlgos* L1GctGlobalEnergyAlgos::getHfSumProcessor ( ) const
inline

provide access to hf sum processor

Definition at line 96 of file L1GctGlobalEnergyAlgos.h.

96 { return m_hfSumProcessor; }

References m_hfSumProcessor.

Referenced by L1GctPrintLuts::analyze(), and L1GlobalCaloTrigger::getHfSumProcessor().

◆ getHtMissColl()

std::vector<etMissType> L1GctGlobalEnergyAlgos::getHtMissColl ( ) const
inline

return output missing Ht magnitude

Definition at line 131 of file L1GctGlobalEnergyAlgos.h.

131 { return m_outputHtMiss.contents; }

References m_outputHtMiss.

Referenced by L1GlobalCaloTrigger::getHtMissCollection().

◆ getHtMissLut()

const L1GctHtMissLut* L1GctGlobalEnergyAlgos::getHtMissLut ( ) const
inline

Definition at line 139 of file L1GctGlobalEnergyAlgos.h.

139 { return m_mhtComponents.getHtMissLut(); }

References L1GctMet::getHtMissLut(), and m_mhtComponents.

Referenced by L1GctPrintLuts::analyze().

◆ getHtMissPhiColl()

std::vector<etMissPhiType> L1GctGlobalEnergyAlgos::getHtMissPhiColl ( ) const
inline

return output missing Ht value

Definition at line 133 of file L1GctGlobalEnergyAlgos.h.

133 { return m_outputHtMissPhi.contents; }

References m_outputHtMissPhi.

Referenced by L1GlobalCaloTrigger::getHtMissCollection().

◆ getInputEtValPlusWheel()

std::vector<etTotalType> L1GctGlobalEnergyAlgos::getInputEtValPlusWheel ( ) const
inline

return input Et value wheel 1

Definition at line 107 of file L1GctGlobalEnergyAlgos.h.

107 { return m_etValPlusPipe.contents; }

References m_etValPlusPipe.

◆ getInputEtVlMinusWheel()

std::vector<etTotalType> L1GctGlobalEnergyAlgos::getInputEtVlMinusWheel ( ) const
inline

return input Et value wheel 0

Definition at line 114 of file L1GctGlobalEnergyAlgos.h.

114 { return m_etVlMinusPipe.contents; }

References m_etVlMinusPipe.

◆ getInputExValPlusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputExValPlusWheel ( ) const
inline

return input Ex value wheel 1

Definition at line 99 of file L1GctGlobalEnergyAlgos.h.

99 { return m_exValPlusPipe.contents; }

References m_exValPlusPipe.

◆ getInputExVlMinusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputExVlMinusWheel ( ) const
inline

return input Ey value wheel 0

Definition at line 103 of file L1GctGlobalEnergyAlgos.h.

103 { return m_exVlMinusPipe.contents; }

References m_exVlMinusPipe.

◆ getInputEyValPlusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputEyValPlusWheel ( ) const
inline

return input Ex value wheel 1

Definition at line 101 of file L1GctGlobalEnergyAlgos.h.

101 { return m_eyValPlusPipe.contents; }

References m_eyValPlusPipe.

◆ getInputEyVlMinusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputEyVlMinusWheel ( ) const
inline

return input Ey value wheel 0

Definition at line 105 of file L1GctGlobalEnergyAlgos.h.

105 { return m_eyVlMinusPipe.contents; }

References m_eyVlMinusPipe.

◆ getInputHtValPlusWheel()

std::vector<etHadType> L1GctGlobalEnergyAlgos::getInputHtValPlusWheel ( ) const
inline

return input Ht value wheel 1

Definition at line 109 of file L1GctGlobalEnergyAlgos.h.

109 { return m_htValPlusPipe.contents; }

References m_htValPlusPipe.

◆ getInputHtVlMinusWheel()

std::vector<etHadType> L1GctGlobalEnergyAlgos::getInputHtVlMinusWheel ( ) const
inline

return input Ht value wheel 0

Definition at line 116 of file L1GctGlobalEnergyAlgos.h.

116 { return m_htVlMinusPipe.contents; }

References m_htVlMinusPipe.

◆ getInputHxValPlusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputHxValPlusWheel ( ) const
inline

return input Ht component values wheel 1

Definition at line 111 of file L1GctGlobalEnergyAlgos.h.

111 { return m_hxValPlusPipe.contents; }

References m_hxValPlusPipe.

◆ getInputHxVlMinusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputHxVlMinusWheel ( ) const
inline

return input Ht value wheel 0

Definition at line 118 of file L1GctGlobalEnergyAlgos.h.

118 { return m_hxVlMinusPipe.contents; }

References m_hxVlMinusPipe.

◆ getInputHyValPlusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputHyValPlusWheel ( ) const
inline

Definition at line 112 of file L1GctGlobalEnergyAlgos.h.

112 { return m_hyValPlusPipe.contents; }

References m_hyValPlusPipe.

◆ getInputHyVlMinusWheel()

std::vector<etComponentType> L1GctGlobalEnergyAlgos::getInputHyVlMinusWheel ( ) const
inline

Definition at line 119 of file L1GctGlobalEnergyAlgos.h.

119 { return m_hyVlMinusPipe.contents; }

References m_hyVlMinusPipe.

◆ getMinusWheelFpga()

L1GctWheelEnergyFpga* L1GctGlobalEnergyAlgos::getMinusWheelFpga ( ) const
inline

provide access to input pointer, Wheel Energy Fpga 0

Definition at line 90 of file L1GctGlobalEnergyAlgos.h.

90 { return m_minusWheelFpga; }

References m_minusWheelFpga.

◆ getMinusWheelJetFpga()

L1GctWheelJetFpga* L1GctGlobalEnergyAlgos::getMinusWheelJetFpga ( ) const
inline

provide access to input pointer, Wheel Jet Fpga 0

Definition at line 94 of file L1GctGlobalEnergyAlgos.h.

94 { return m_minusWheelJetFpga; }

References m_minusWheelJetFpga.

◆ getPlusWheelFpga()

L1GctWheelEnergyFpga* L1GctGlobalEnergyAlgos::getPlusWheelFpga ( ) const
inline

provide access to input pointer, Wheel Energy Fpga 1

Definition at line 88 of file L1GctGlobalEnergyAlgos.h.

88 { return m_plusWheelFpga; }

References m_plusWheelFpga.

◆ getPlusWheelJetFpga()

L1GctWheelJetFpga* L1GctGlobalEnergyAlgos::getPlusWheelJetFpga ( ) const
inline

provide access to input pointer, Wheel Jet Fpga 1

Definition at line 92 of file L1GctGlobalEnergyAlgos.h.

92 { return m_plusWheelJetFpga; }

References m_plusWheelJetFpga.

◆ process()

void L1GctGlobalEnergyAlgos::process ( )
overridevirtual

process the data, fill output buffers

Implements L1GctProcessor.

Definition at line 225 of file L1GctGlobalEnergyAlgos.cc.

225  {
226  if (m_setupOk) {
227  // Store the inputs in pipelines
234 
241 
242  // Process to produce the outputs
243  etComponentType ExSum, EySum;
244  etmiss_vec EtMissing, HtMissing;
245 
246  //
247  //-----------------------------------------------------------------------------
248  // Form the Ex and Ey sums
251  // Execute the missing Et algorithm
252  // Rotate by pi to evaluate MISSING Et.
253  // Implement this in the same way as the firmware
254  m_metComponents.setComponents(ExSum, EySum);
255  EtMissing = m_metComponents.metVector();
256  if (EtMissing.phi.value() > 35) {
257  EtMissing.phi.setValue(EtMissing.phi.value() - 36);
258  } else {
259  EtMissing.phi.setValue(EtMissing.phi.value() + 36);
260  }
261  if (EtMissing.mag.value() == etMissMaxValue)
262  EtMissing.mag.setOverFlow(true);
263 
264  m_outputEtMiss.store(EtMissing.mag, bxRel());
265  m_outputEtMissPhi.store(EtMissing.phi, bxRel());
266 
267  //
268  //-----------------------------------------------------------------------------
269  // Form the Hx and Hy sums
272  // Execute the missing Et algorithm
273  // Implement this in the same way as the firmware
274  m_mhtComponents.setComponents(ExSum, EySum);
275  HtMissing = m_mhtComponents.metVector();
276  if (HtMissing.phi.value() > 8) {
277  HtMissing.phi.setValue(HtMissing.phi.value() - 9);
278  } else {
279  HtMissing.phi.setValue(HtMissing.phi.value() + 9);
280  }
281 
282  // Store 7 bits of magnitude and 5 bits of phi angle.
283  static const unsigned MAX_HT_VALUE = 0x7f;
284  static const unsigned PHI_HT_MASK = 0x1f;
285  if ((HtMissing.mag.value() > MAX_HT_VALUE) || (HtMissing.mag.overFlow())) {
286  HtMissing.mag.setValue(MAX_HT_VALUE);
287  }
288  HtMissing.phi.setValue(HtMissing.phi.value() & PHI_HT_MASK);
289  m_outputHtMiss.store(HtMissing.mag, bxRel());
290  m_outputHtMissPhi.store(HtMissing.phi, bxRel());
291 
292  //
293  //-----------------------------------------------------------------------------
294  // Form the Et and Ht sums
296  if (ettTemp.overFlow())
297  ettTemp.setValue(etTotalMaxValue);
299  if (httTemp.overFlow())
300  httTemp.setValue(etHadMaxValue);
301  m_outputEtSum.store(ettTemp, bxRel());
302  m_outputEtHad.store(httTemp, bxRel());
303 
305  }
306 }

References L1GctProcessor::bxRel(), etHadMaxValue, etMissMaxValue, etTotalMaxValue, m_etValPlusPipe, m_etValPlusWheel, m_etVlMinusPipe, m_etVlMinusWheel, m_exValPlusPipe, m_exValPlusWheel, m_exVlMinusPipe, m_exVlMinusWheel, m_eyValPlusPipe, m_eyValPlusWheel, m_eyVlMinusPipe, m_eyVlMinusWheel, m_hfSumProcessor, m_htValPlusPipe, m_htValPlusWheel, m_htVlMinusPipe, m_htVlMinusWheel, m_hxValPlusPipe, m_hxValPlusWheel, m_hxVlMinusPipe, m_hxVlMinusWheel, m_hyValPlusPipe, m_hyValPlusWheel, m_hyVlMinusPipe, m_hyVlMinusWheel, m_metComponents, m_mhtComponents, m_outputEtHad, m_outputEtMiss, m_outputEtMissPhi, m_outputEtSum, m_outputHtMiss, m_outputHtMissPhi, m_setupOk, L1GctMet::etmiss_vec::mag, L1GctMet::metVector(), L1GctUnsignedInt< nBits >::overFlow(), L1GctMet::etmiss_vec::phi, L1GctGlobalHfSumAlgos::process(), L1GctMet::setComponents(), L1GctUnsignedInt< nBits >::setOverFlow(), L1GctUnsignedInt< nBits >::setValue(), and L1GctUnsignedInt< nBits >::value().

Referenced by L1GlobalCaloTrigger::bxProcess().

◆ reset()

void L1GctGlobalEnergyAlgos::reset ( void  )

clear internal buffers

clear buffers

Definition at line 149 of file L1GctGlobalEnergyAlgos.cc.

149  {
152 }

References m_hfSumProcessor, and L1GctProcessor::reset().

Referenced by L1GlobalCaloTrigger::reset().

◆ resetPipelines()

void L1GctGlobalEnergyAlgos::resetPipelines ( )
overrideprotectedvirtual

◆ resetProcessor()

void L1GctGlobalEnergyAlgos::resetProcessor ( )
overrideprotectedvirtual

◆ setBxRange()

void L1GctGlobalEnergyAlgos::setBxRange ( const int  firstBx,
const int  numberOfBx 
)

define the bunch crossing range to process

partially clear buffers

Definition at line 155 of file L1GctGlobalEnergyAlgos.cc.

155  {
156  L1GctProcessor::setBxRange(firstBx, numberOfBx);
157  m_hfSumProcessor->setBxRange(firstBx, numberOfBx);
158 }

References m_hfSumProcessor, and L1GctProcessor::setBxRange().

Referenced by L1GlobalCaloTrigger::bxSetup().

◆ setHtMissScale()

void L1GctGlobalEnergyAlgos::setHtMissScale ( const L1CaloEtScale *const  scale)

◆ setInputWheelEt()

void L1GctGlobalEnergyAlgos::setInputWheelEt ( unsigned  wheel,
unsigned  energy,
bool  overflow 
)

set input Et value per wheel (0 or 1); not used in normal operation

Definition at line 355 of file L1GctGlobalEnergyAlgos.cc.

355  {
356  if (wheel == 0) {
358  m_etValPlusWheel.setOverFlow(overflow);
359  } else if (wheel == 1) {
361  m_etVlMinusWheel.setOverFlow(overflow);
362  }
363 }

References HCALHighEnergyHPDFilter_cfi::energy, m_etValPlusWheel, m_etVlMinusWheel, L1GctUnsignedInt< nBits >::setOverFlow(), L1GctUnsignedInt< nBits >::setValue(), and makeMuonMisalignmentScenario::wheel.

◆ setInputWheelEx()

void L1GctGlobalEnergyAlgos::setInputWheelEx ( unsigned  wheel,
int  energy,
bool  overflow 
)

set input Ex value per wheel (0 or 1); not used in normal operation

Definition at line 329 of file L1GctGlobalEnergyAlgos.cc.

329  {
330  if (wheel == 0) {
332  m_exValPlusWheel.setOverFlow(overflow);
333  } else if (wheel == 1) {
335  m_exVlMinusWheel.setOverFlow(overflow);
336  }
337 }

References HCALHighEnergyHPDFilter_cfi::energy, m_exValPlusWheel, m_exVlMinusWheel, L1GctTwosComplement< nBits >::setOverFlow(), L1GctTwosComplement< nBits >::setValue(), and makeMuonMisalignmentScenario::wheel.

◆ setInputWheelEy()

void L1GctGlobalEnergyAlgos::setInputWheelEy ( unsigned  wheel,
int  energy,
bool  overflow 
)

set input Ey value per wheel (0 or 1); not used in normal operation

Definition at line 342 of file L1GctGlobalEnergyAlgos.cc.

342  {
343  if (wheel == 0) {
345  m_eyValPlusWheel.setOverFlow(overflow);
346  } else if (wheel == 1) {
348  m_eyVlMinusWheel.setOverFlow(overflow);
349  }
350 }

References HCALHighEnergyHPDFilter_cfi::energy, m_eyValPlusWheel, m_eyVlMinusWheel, L1GctTwosComplement< nBits >::setOverFlow(), L1GctTwosComplement< nBits >::setValue(), and makeMuonMisalignmentScenario::wheel.

◆ setInputWheelHt()

void L1GctGlobalEnergyAlgos::setInputWheelHt ( unsigned  wheel,
unsigned  energy,
bool  overflow 
)

set input Ht value per wheel (0 or 1); not used in normal operation

Definition at line 368 of file L1GctGlobalEnergyAlgos.cc.

368  {
369  if (wheel == 0) {
371  m_htValPlusWheel.setOverFlow(overflow);
372  } else if (wheel == 1) {
374  m_htVlMinusWheel.setOverFlow(overflow);
375  }
376 }

References HCALHighEnergyHPDFilter_cfi::energy, m_htValPlusWheel, m_htVlMinusWheel, L1GctUnsignedInt< nBits >::setOverFlow(), L1GctUnsignedInt< nBits >::setValue(), and makeMuonMisalignmentScenario::wheel.

◆ setInputWheelHx()

void L1GctGlobalEnergyAlgos::setInputWheelHx ( unsigned  wheel,
unsigned  energy,
bool  overflow 
)

set input Ht component values per wheel (0 or 1); not used in normal operation

Definition at line 381 of file L1GctGlobalEnergyAlgos.cc.

381  {
382  if (wheel == 0) {
384  m_hxValPlusWheel.setOverFlow(overflow);
385  } else if (wheel == 1) {
387  m_hxVlMinusWheel.setOverFlow(overflow);
388  }
389 }

References HCALHighEnergyHPDFilter_cfi::energy, m_hxValPlusWheel, m_hxVlMinusWheel, L1GctTwosComplement< nBits >::setOverFlow(), L1GctTwosComplement< nBits >::setValue(), and makeMuonMisalignmentScenario::wheel.

◆ setInputWheelHy()

void L1GctGlobalEnergyAlgos::setInputWheelHy ( unsigned  wheel,
unsigned  energy,
bool  overflow 
)

◆ setInputWheelJc()

void L1GctGlobalEnergyAlgos::setInputWheelJc ( unsigned  wheel,
unsigned  jcnum,
unsigned  count 
)

set input jet count (number 0-11) per wheel (0 or 1); not used in normal operation

◆ setJetFinderParams()

void L1GctGlobalEnergyAlgos::setJetFinderParams ( const L1GctJetFinderParams *const  jfpars)

Definition at line 311 of file L1GctGlobalEnergyAlgos.cc.

311  {
312  // The jetFinders add an LSB when converting to x and y components,
313  // so the scale lsb for htx and hty is half the lsb for htt.
315 }

References L1GctJetFinderParams::getHtLsbGeV(), m_mhtComponents, and L1GctMet::setEtComponentLsb().

Referenced by L1GlobalCaloTrigger::setJetFinderParams().

◆ setNextBx()

void L1GctGlobalEnergyAlgos::setNextBx ( const int  bx)

partially clear buffers

Definition at line 160 of file L1GctGlobalEnergyAlgos.cc.

160  {
163 }

References l1GtPatternGenerator_cfi::bx, m_hfSumProcessor, and L1GctProcessor::setNextBx().

Referenced by L1GlobalCaloTrigger::bxReset().

◆ setupObjects()

void L1GctGlobalEnergyAlgos::setupObjects ( )
inlineoverrideprotectedvirtual

Initialise inputs with null objects for the correct bunch crossing if required.

Implements L1GctProcessor.

Definition at line 150 of file L1GctGlobalEnergyAlgos.h.

150 {}

◆ setupOk()

bool L1GctGlobalEnergyAlgos::setupOk ( ) const

check setup

Definition at line 322 of file L1GctGlobalEnergyAlgos.cc.

322  {
323  return (m_setupOk && m_hfSumProcessor != nullptr && m_hfSumProcessor->setupOk());
324 }

References m_hfSumProcessor, m_setupOk, and L1GctGlobalHfSumAlgos::setupOk().

Referenced by L1GlobalCaloTrigger::setupOk().

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const L1GctGlobalEnergyAlgos fpga 
)
friend

Overload << operator.

Member Data Documentation

◆ m_etValPlusPipe

Pipeline<etTotalType> L1GctGlobalEnergyAlgos::m_etValPlusPipe
private

Definition at line 184 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputEtValPlusWheel(), process(), and resetPipelines().

◆ m_etValPlusWheel

etTotalType L1GctGlobalEnergyAlgos::m_etValPlusWheel
private

◆ m_etVlMinusPipe

Pipeline<etTotalType> L1GctGlobalEnergyAlgos::m_etVlMinusPipe
private

Definition at line 191 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputEtVlMinusWheel(), process(), and resetPipelines().

◆ m_etVlMinusWheel

etTotalType L1GctGlobalEnergyAlgos::m_etVlMinusWheel
private

◆ m_exValPlusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_exValPlusPipe
private

Definition at line 182 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputExValPlusWheel(), process(), and resetPipelines().

◆ m_exValPlusWheel

etComponentType L1GctGlobalEnergyAlgos::m_exValPlusWheel
private

◆ m_exVlMinusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_exVlMinusPipe
private

Definition at line 189 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputExVlMinusWheel(), process(), and resetPipelines().

◆ m_exVlMinusWheel

etComponentType L1GctGlobalEnergyAlgos::m_exVlMinusWheel
private

◆ m_eyValPlusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_eyValPlusPipe
private

Definition at line 183 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputEyValPlusWheel(), process(), and resetPipelines().

◆ m_eyValPlusWheel

etComponentType L1GctGlobalEnergyAlgos::m_eyValPlusWheel
private

◆ m_eyVlMinusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_eyVlMinusPipe
private

Definition at line 190 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputEyVlMinusWheel(), process(), and resetPipelines().

◆ m_eyVlMinusWheel

etComponentType L1GctGlobalEnergyAlgos::m_eyVlMinusWheel
private

◆ m_hfSumProcessor

L1GctGlobalHfSumAlgos* L1GctGlobalEnergyAlgos::m_hfSumProcessor
private

◆ m_htValPlusPipe

Pipeline<etHadType> L1GctGlobalEnergyAlgos::m_htValPlusPipe
private

Definition at line 185 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputHtValPlusWheel(), process(), and resetPipelines().

◆ m_htValPlusWheel

etHadType L1GctGlobalEnergyAlgos::m_htValPlusWheel
private

◆ m_htVlMinusPipe

Pipeline<etHadType> L1GctGlobalEnergyAlgos::m_htVlMinusPipe
private

Definition at line 192 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputHtVlMinusWheel(), process(), and resetPipelines().

◆ m_htVlMinusWheel

etHadType L1GctGlobalEnergyAlgos::m_htVlMinusWheel
private

◆ m_hxValPlusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_hxValPlusPipe
private

Definition at line 186 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputHxValPlusWheel(), process(), and resetPipelines().

◆ m_hxValPlusWheel

etComponentType L1GctGlobalEnergyAlgos::m_hxValPlusWheel
private

Definition at line 171 of file L1GctGlobalEnergyAlgos.h.

Referenced by fetchInput(), process(), resetProcessor(), and setInputWheelHx().

◆ m_hxVlMinusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_hxVlMinusPipe
private

Definition at line 193 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputHxVlMinusWheel(), process(), and resetPipelines().

◆ m_hxVlMinusWheel

etComponentType L1GctGlobalEnergyAlgos::m_hxVlMinusWheel
private

Definition at line 178 of file L1GctGlobalEnergyAlgos.h.

Referenced by fetchInput(), process(), resetProcessor(), and setInputWheelHx().

◆ m_hyValPlusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_hyValPlusPipe
private

Definition at line 187 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputHyValPlusWheel(), process(), and resetPipelines().

◆ m_hyValPlusWheel

etComponentType L1GctGlobalEnergyAlgos::m_hyValPlusWheel
private

Definition at line 172 of file L1GctGlobalEnergyAlgos.h.

Referenced by fetchInput(), process(), resetProcessor(), and setInputWheelHy().

◆ m_hyVlMinusPipe

Pipeline<etComponentType> L1GctGlobalEnergyAlgos::m_hyVlMinusPipe
private

Definition at line 194 of file L1GctGlobalEnergyAlgos.h.

Referenced by getInputHyVlMinusWheel(), process(), and resetPipelines().

◆ m_hyVlMinusWheel

etComponentType L1GctGlobalEnergyAlgos::m_hyVlMinusWheel
private

Definition at line 179 of file L1GctGlobalEnergyAlgos.h.

Referenced by fetchInput(), process(), resetProcessor(), and setInputWheelHy().

◆ m_metComponents

L1GctMet L1GctGlobalEnergyAlgos::m_metComponents
private

Definition at line 163 of file L1GctGlobalEnergyAlgos.h.

Referenced by L1GctGlobalEnergyAlgos(), and process().

◆ m_mhtComponents

L1GctMet L1GctGlobalEnergyAlgos::m_mhtComponents
private

◆ m_minusWheelFpga

L1GctWheelEnergyFpga* L1GctGlobalEnergyAlgos::m_minusWheelFpga
private

◆ m_minusWheelJetFpga

L1GctWheelJetFpga* L1GctGlobalEnergyAlgos::m_minusWheelJetFpga
private

◆ m_outputEtHad

Pipeline<etHadType> L1GctGlobalEnergyAlgos::m_outputEtHad
private

Definition at line 200 of file L1GctGlobalEnergyAlgos.h.

Referenced by getEtHadColl(), operator<<(), process(), and resetPipelines().

◆ m_outputEtMiss

Pipeline<etMissType> L1GctGlobalEnergyAlgos::m_outputEtMiss
private

Definition at line 197 of file L1GctGlobalEnergyAlgos.h.

Referenced by getEtMissColl(), operator<<(), process(), and resetPipelines().

◆ m_outputEtMissPhi

Pipeline<etMissPhiType> L1GctGlobalEnergyAlgos::m_outputEtMissPhi
private

Definition at line 198 of file L1GctGlobalEnergyAlgos.h.

Referenced by getEtMissPhiColl(), operator<<(), process(), and resetPipelines().

◆ m_outputEtSum

Pipeline<etTotalType> L1GctGlobalEnergyAlgos::m_outputEtSum
private

Definition at line 199 of file L1GctGlobalEnergyAlgos.h.

Referenced by getEtSumColl(), operator<<(), process(), and resetPipelines().

◆ m_outputHtMiss

Pipeline<etMissType> L1GctGlobalEnergyAlgos::m_outputHtMiss
private

Definition at line 201 of file L1GctGlobalEnergyAlgos.h.

Referenced by getHtMissColl(), process(), and resetPipelines().

◆ m_outputHtMissPhi

Pipeline<etMissPhiType> L1GctGlobalEnergyAlgos::m_outputHtMissPhi
private

Definition at line 202 of file L1GctGlobalEnergyAlgos.h.

Referenced by getHtMissPhiColl(), process(), and resetPipelines().

◆ m_plusWheelFpga

L1GctWheelEnergyFpga* L1GctGlobalEnergyAlgos::m_plusWheelFpga
private

◆ m_plusWheelJetFpga

L1GctWheelJetFpga* L1GctGlobalEnergyAlgos::m_plusWheelJetFpga
private

◆ m_setupOk

bool L1GctGlobalEnergyAlgos::m_setupOk
private

Definition at line 204 of file L1GctGlobalEnergyAlgos.h.

Referenced by fetchInput(), L1GctGlobalEnergyAlgos(), process(), and setupOk().

L1GctGlobalEnergyAlgos::m_setupOk
bool m_setupOk
Definition: L1GctGlobalEnergyAlgos.h:204
L1GctGlobalEnergyAlgos::m_hyVlMinusPipe
Pipeline< etComponentType > m_hyVlMinusPipe
Definition: L1GctGlobalEnergyAlgos.h:194
L1GctGlobalEnergyAlgos::m_metComponents
L1GctMet m_metComponents
Definition: L1GctGlobalEnergyAlgos.h:163
L1GctUnsignedInt::setValue
void setValue(unsigned value)
Set value from unsigned.
Definition: L1GctUnsignedInt.h:111
L1GctProcessor::L1GctProcessor
L1GctProcessor()
Definition: L1GctProcessor.h:24
L1GctGlobalEnergyAlgos::etmiss_vec
L1GctMet::etmiss_vec etmiss_vec
Definition: L1GctGlobalEnergyAlgos.h:39
L1GctGlobalEnergyAlgos::m_hxVlMinusPipe
Pipeline< etComponentType > m_hxVlMinusPipe
Definition: L1GctGlobalEnergyAlgos.h:193
L1GctMet::setComponents
void setComponents(const unsigned ex, const unsigned ey)
Definition: L1GctMet.h:41
L1GctGlobalHfSumAlgos::fetchInput
void fetchInput() override
get input data from sources; this is the standard way to provide input
Definition: L1GctGlobalHfSumAlgos.cc:104
L1EGammaCrystalsEmulatorProducer_cfi.scale
scale
Definition: L1EGammaCrystalsEmulatorProducer_cfi.py:10
L1GctGlobalHfSumAlgos
Emulates the GCT summing and packing of Hf Et sums and tower-over-threshold counts.
Definition: L1GctGlobalHfSumAlgos.h:27
L1GctProcessor::setNextBx
void setNextBx(const int bxnum)
clear input data buffers and process a new bunch crossing
Definition: L1GctProcessor.h:51
L1GctWheelEnergyFpga::getOutputEt
etTotalType getOutputEt() const
get output Et value
Definition: L1GctWheelEnergyFpga.h:79
L1GctGlobalEnergyAlgos::m_etVlMinusPipe
Pipeline< etTotalType > m_etVlMinusPipe
Definition: L1GctGlobalEnergyAlgos.h:191
L1GctGlobalHfSumAlgos::setupOk
bool setupOk() const
check setup
Definition: L1GctGlobalHfSumAlgos.h:65
L1GctGlobalEnergyAlgos::m_etValPlusWheel
etTotalType m_etValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:169
L1GctProcessor::numOfBx
int numOfBx() const
Definition: L1GctProcessor.h:79
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
L1GctProcessor::bxRel
int bxRel() const
Definition: L1GctProcessor.h:81
L1GctGlobalEnergyAlgos::m_exValPlusWheel
etComponentType m_exValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:167
L1GctProcessor::setBxRange
void setBxRange(const int firstBx, const int numberOfBx)
define the bunch crossing range to process
Definition: L1GctProcessor.h:44
L1GctGlobalEnergyAlgos::etMissMaxValue
Definition: L1GctGlobalEnergyAlgos.h:45
L1GctGlobalEnergyAlgos::m_exValPlusPipe
Pipeline< etComponentType > m_exValPlusPipe
Definition: L1GctGlobalEnergyAlgos.h:182
L1GctJetFinderParams::getHtLsbGeV
double getHtLsbGeV() const
Definition: L1GctJetFinderParams.h:36
L1GctMet::setBitShift
void setBitShift(const unsigned nbits)
Definition: L1GctMet.h:62
L1GctGlobalEnergyAlgos::m_outputHtMissPhi
Pipeline< etMissPhiType > m_outputHtMissPhi
Definition: L1GctGlobalEnergyAlgos.h:202
L1GctGlobalEnergyAlgos::m_hfSumProcessor
L1GctGlobalHfSumAlgos * m_hfSumProcessor
Definition: L1GctGlobalEnergyAlgos.h:160
L1GctGlobalEnergyAlgos::m_outputHtMiss
Pipeline< etMissType > m_outputHtMiss
Definition: L1GctGlobalEnergyAlgos.h:201
L1GctGlobalEnergyAlgos::m_eyVlMinusWheel
etComponentType m_eyVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:175
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
L1GctGlobalEnergyAlgos::etTotalType
L1GctUnsignedInt< L1GctEtTotal::kEtTotalNBits > etTotalType
Definition: L1GctGlobalEnergyAlgos.h:35
L1GctWheelEnergyFpga::getOutputHt
etHadType getOutputHt() const
get the output Ht
Definition: L1GctWheelEnergyFpga.h:81
L1GctEtMiss::kEtMissMaxValue
Definition: L1GctEtMiss.h:24
L1GctGlobalEnergyAlgos::m_eyVlMinusPipe
Pipeline< etComponentType > m_eyVlMinusPipe
Definition: L1GctGlobalEnergyAlgos.h:190
L1GctTwosComplement::setValue
void setValue(int value)
set value from signed int
Definition: L1GctTwosComplement.h:145
L1GctGlobalEnergyAlgos::m_outputEtHad
Pipeline< etHadType > m_outputEtHad
Definition: L1GctGlobalEnergyAlgos.h:200
L1GctGlobalEnergyAlgos::m_hxValPlusWheel
etComponentType m_hxValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:171
L1GctGlobalEnergyAlgos::m_minusWheelJetFpga
L1GctWheelJetFpga * m_minusWheelJetFpga
Definition: L1GctGlobalEnergyAlgos.h:157
L1GctEtHad::kEtHadMaxValue
Definition: L1GctEtHad.h:22
L1GctGlobalEnergyAlgos::m_htVlMinusWheel
etHadType m_htVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:177
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
L1GctGlobalEnergyAlgos::m_minusWheelFpga
L1GctWheelEnergyFpga * m_minusWheelFpga
Definition: L1GctGlobalEnergyAlgos.h:155
L1GctEtTotal::kEtTotalMaxValue
Definition: L1GctEtTotal.h:22
L1GctProcessor::reset
void reset()
complete reset of processor
Definition: L1GctProcessor.h:28
L1GctGlobalEnergyAlgos::m_htValPlusWheel
etHadType m_htValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:170
L1GctGlobalEnergyAlgos::m_plusWheelFpga
L1GctWheelEnergyFpga * m_plusWheelFpga
Definition: L1GctGlobalEnergyAlgos.h:154
L1GctGlobalEnergyAlgos::m_hyValPlusPipe
Pipeline< etComponentType > m_hyValPlusPipe
Definition: L1GctGlobalEnergyAlgos.h:187
L1GctGlobalEnergyAlgos::etHadType
L1GctUnsignedInt< L1GctEtHad::kEtHadNBits > etHadType
Definition: L1GctGlobalEnergyAlgos.h:36
L1GctGlobalEnergyAlgos::m_plusWheelJetFpga
L1GctWheelJetFpga * m_plusWheelJetFpga
Definition: L1GctGlobalEnergyAlgos.h:156
L1GctGlobalEnergyAlgos::m_etValPlusPipe
Pipeline< etTotalType > m_etValPlusPipe
Definition: L1GctGlobalEnergyAlgos.h:184
L1GctGlobalEnergyAlgos::m_etVlMinusWheel
etTotalType m_etVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:176
L1GctGlobalEnergyAlgos::m_mhtComponents
L1GctMet m_mhtComponents
Definition: L1GctGlobalEnergyAlgos.h:164
L1GctGlobalEnergyAlgos::m_outputEtMissPhi
Pipeline< etMissPhiType > m_outputEtMissPhi
Definition: L1GctGlobalEnergyAlgos.h:198
L1GctProcessor::m_verbose
bool m_verbose
Flag to control output messages.
Definition: L1GctProcessor.h:109
L1GctGlobalEnergyAlgos::etTotalMaxValue
Definition: L1GctGlobalEnergyAlgos.h:43
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
L1GctGlobalEnergyAlgos::m_exVlMinusPipe
Pipeline< etComponentType > m_exVlMinusPipe
Definition: L1GctGlobalEnergyAlgos.h:189
L1GctGlobalEnergyAlgos::m_htValPlusPipe
Pipeline< etHadType > m_htValPlusPipe
Definition: L1GctGlobalEnergyAlgos.h:185
L1GctGlobalEnergyAlgos::m_hyValPlusWheel
etComponentType m_hyValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:172
L1GctGlobalHfSumAlgos::process
void process() override
process the data, fill output buffers
Definition: L1GctGlobalHfSumAlgos.cc:112
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
L1GctGlobalEnergyAlgos::m_eyValPlusPipe
Pipeline< etComponentType > m_eyValPlusPipe
Definition: L1GctGlobalEnergyAlgos.h:183
L1GctMet::setEtComponentLsb
void setEtComponentLsb(const double lsb)
Definition: L1GctMet.cc:304
L1GctWheelEnergyFpga::getOutputEy
etComponentType getOutputEy() const
get output Ey value
Definition: L1GctWheelEnergyFpga.h:77
L1GctWheelEnergyFpga::getOutputEx
etComponentType getOutputEx() const
get output Ex value
Definition: L1GctWheelEnergyFpga.h:75
L1GctGlobalEnergyAlgos::m_exVlMinusWheel
etComponentType m_exVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:174
L1GctMet::cordicTranslate
Definition: L1GctMet.h:22
L1GctUnsignedInt::reset
void reset()
reset value and overflow to zero
Definition: L1GctUnsignedInt.h:41
L1GctWheelJetFpga::getOutputHx
htComponentType getOutputHx() const
get the output Ht components
Definition: L1GctWheelJetFpga.h:82
L1GctGlobalEnergyAlgos::m_outputEtMiss
Pipeline< etMissType > m_outputEtMiss
Definition: L1GctGlobalEnergyAlgos.h:197
L1GctUnsignedInt::setOverFlow
void setOverFlow(bool oflow)
set the overflow bit
Definition: L1GctUnsignedInt.h:50
L1GctMet::useHtMissLut
Definition: L1GctMet.h:22
L1GctWheelJetFpga::getOutputHy
htComponentType getOutputHy() const
Definition: L1GctWheelJetFpga.h:83
L1GctMet::etmiss_vec::phi
etMissPhiType phi
Definition: L1GctMet.h:30
L1GctGlobalEnergyAlgos::m_htVlMinusPipe
Pipeline< etHadType > m_htVlMinusPipe
Definition: L1GctGlobalEnergyAlgos.h:192
L1GctMet::setEtScale
void setEtScale(const L1CaloEtScale *const fn)
Definition: L1GctMet.cc:302
L1GctGlobalEnergyAlgos::etComponentType
L1GctWheelEnergyFpga::etComponentType etComponentType
Definition: L1GctGlobalEnergyAlgos.h:40
L1GctTwosComplement::setOverFlow
void setOverFlow(bool oflow)
set the overflow bit
Definition: L1GctTwosComplement.h:53
L1GctGlobalEnergyAlgos::m_hyVlMinusWheel
etComponentType m_hyVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:179
L1GctMet::getHtMissLut
const L1GctHtMissLut * getHtMissLut() const
Definition: L1GctMet.h:66
L1GctGlobalEnergyAlgos::etHadMaxValue
Definition: L1GctGlobalEnergyAlgos.h:44
L1GctGlobalEnergyAlgos::m_hxVlMinusWheel
etComponentType m_hxVlMinusWheel
Definition: L1GctGlobalEnergyAlgos.h:178
L1GctGlobalEnergyAlgos::m_outputEtSum
Pipeline< etTotalType > m_outputEtSum
Definition: L1GctGlobalEnergyAlgos.h:199
L1GctGlobalEnergyAlgos::m_eyValPlusWheel
etComponentType m_eyValPlusWheel
Definition: L1GctGlobalEnergyAlgos.h:168
L1GctGlobalEnergyAlgos::m_hxValPlusPipe
Pipeline< etComponentType > m_hxValPlusPipe
Definition: L1GctGlobalEnergyAlgos.h:186
L1GctMet::metVector
etmiss_vec metVector() const
Definition: L1GctMet.cc:16
L1GctTwosComplement::reset
void reset()
reset value and overflow to zero
Definition: L1GctTwosComplement.h:132