1 #ifndef GlobalTrigger_L1GlobalTriggerPSB_h
2 #define GlobalTrigger_L1GlobalTriggerPSB_h
25 #include <boost/cstdint.hpp>
74 void init(
const int nrL1NoIsoEG,
const int nrL1IsoEG,
75 const int nrL1CenJet,
const int nrL1ForJet,
const int nrL1TauJet,
76 const int numberTechnicalTriggers);
82 const bool receiveNoIsoEG,
const int nrL1NoIsoEG,
83 const bool receiveIsoEG,
const int nrL1IsoEG,
84 const bool receiveCenJet,
const int nrL1CenJet,
85 const bool receiveForJet,
const int nrL1ForJet,
86 const bool receiveTauJet,
const int nrL1TauJet,
87 const bool receiveETM,
const bool receiveETT,
const bool receiveHTT,
const bool receiveHTM,
88 const bool receiveJetCounts,
89 const bool receiveHfBitCounts,
90 const bool receiveHfRingEtSums);
95 const bool receiveCastor,
const bool readFromPsb);
99 const int iBxInEvent,
const bool receiveBptx,
100 const bool readFromPsb);
104 const std::vector<edm::InputTag>& externalInputTags,
105 const int iBxInEvent,
106 const bool receiveExternal,
const bool readFromPsb);
110 const std::vector<edm::InputTag>& technicalTriggersInputTags,
111 const int iBxInEvent,
112 const bool receiveTechTr,
const int nrL1TechTr);
117 const boost::uint16_t& activeBoardsGtDaq,
118 const int recordLength0,
119 const int recordLength1,
120 const unsigned int altNrBxBoardDaq,
121 const std::vector<L1GtBoard>& boardMaps,
122 const int iBxInEvent,
123 std::auto_ptr<L1GlobalTriggerReadoutRecord>& gtDaqReadoutRecord);
virtual ~L1GlobalTriggerPSB()
const std::vector< const L1GctCand * > * getCandL1TauJet() const
pointer to TauJet data list
const L1GctHtMiss * m_candHTM
const std::vector< const L1GctCand * > * getCandL1CenJet() const
pointer to CenJet data list
std::vector< const L1GctCand * > * m_candL1TauJet
const std::vector< const L1GctCand * > * getCandL1NoIsoEG() const
pointer to NoIsoEG data list
const L1GctHFRingEtSums * getCandL1HfRingEtSums() const
pointer to HfRingEtSums data list
Level-1 Trigger jet candidate.
const std::vector< const L1GctCand * > * getCandL1ForJet() const
pointer to ForJet data list
const L1GctEtTotal * getCandL1ETT() const
pointer to ETT data list
void receiveGctObjectData(edm::Event &iEvent, const edm::InputTag &caloGctInputTag, const int iBxInEvent, const bool receiveNoIsoEG, const int nrL1NoIsoEG, const bool receiveIsoEG, const int nrL1IsoEG, const bool receiveCenJet, const int nrL1CenJet, const bool receiveForJet, const int nrL1ForJet, const bool receiveTauJet, const int nrL1TauJet, const bool receiveETM, const bool receiveETT, const bool receiveHTT, const bool receiveHTM, const bool receiveJetCounts, const bool receiveHfBitCounts, const bool receiveHfRingEtSums)
receive Global Calorimeter Trigger objects
Persistable copy of missing Et measured at Level-1.
std::vector< const L1GctCand * > * m_candL1ForJet
Level-1 Trigger EM candidate at output of GCT.
const L1GctHFBitCounts * m_candHfBitCounts
const L1GctEtMiss * m_candETM
const std::vector< const L1GctCand * > * getCandL1IsoEG() const
pointer to IsoEG data list
void setVerbosity(const int verbosity)
const std::vector< bool > * getGtTechnicalTriggers() const
pointer to technical trigger bits
const L1GctJetCounts * m_candJetCounts
Persistable copy of total Et measured at Level-1.
void receiveTechnicalTriggers(edm::Event &iEvent, const std::vector< edm::InputTag > &technicalTriggersInputTags, const int iBxInEvent, const bool receiveTechTr, const int nrL1TechTr)
receive technical trigger
std::vector< bool > m_gtTechnicalTriggers
technical trigger bits
int m_verbosity
verbosity level
void receiveBptxData(edm::Event &iEvent, const edm::InputTag &bptxInputTag, const int iBxInEvent, const bool receiveBptx, const bool readFromPsb)
receive BPTX objects
const L1GctHFBitCounts * getCandL1HfBitCounts() const
pointer to HfBitCounts data list
Persistable copy of total Ht measured at Level-1.
const L1GctHtMiss * getCandL1HTM() const
pointer to HTM data list
void printGctObjectData(const int iBxInEvent) const
print Global Calorimeter Trigger data
void receiveExternalData(edm::Event &iEvent, const std::vector< edm::InputTag > &externalInputTags, const int iBxInEvent, const bool receiveExternal, const bool readFromPsb)
receive External objects
Persistable copy of missing Et measured at Level-1.
const L1GctHFRingEtSums * m_candHfRingEtSums
const L1GctEtHad * m_candHTT
const L1GctEtMiss * getCandL1ETM() const
pointer to ETM data list
void receiveCastorData(edm::Event &iEvent, const edm::InputTag &castorInputTag, const int iBxInEvent, const bool receiveCastor, const bool readFromPsb)
receive CASTOR objects
const L1GctEtTotal * m_candETT
ABC for GCT EM and jet candidates.
const L1GctEtHad * getCandL1HTT() const
pointer to HTT data list
void fillPsbBlock(edm::Event &iEvent, const boost::uint16_t &activeBoardsGtDaq, const int recordLength0, const int recordLength1, const unsigned int altNrBxBoardDaq, const std::vector< L1GtBoard > &boardMaps, const int iBxInEvent, std::auto_ptr< L1GlobalTriggerReadoutRecord > >DaqReadoutRecord)
fill the content of active PSB boards
void init(const int nrL1NoIsoEG, const int nrL1IsoEG, const int nrL1CenJet, const int nrL1ForJet, const int nrL1TauJet, const int numberTechnicalTriggers)
initialize the class (mainly reserve)
std::vector< const L1GctCand * > * m_candL1NoIsoEG
std::vector< const L1GctCand * > * m_candL1CenJet
const L1GctJetCounts * getCandL1JetCounts() const
pointer to JetCounts data list
std::vector< const L1GctCand * > * m_candL1IsoEG