CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
L1GlobalTriggerPSB Class Reference

#include <L1GlobalTriggerPSB.h>

Public Member Functions

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 > &gtDaqReadoutRecord)
 fill the content of active PSB boards More...
 
const std::vector< const
L1GctCand * > * 
getCandL1CenJet () const
 pointer to CenJet data list More...
 
const L1GctEtMissgetCandL1ETM () const
 pointer to ETM data list More...
 
const L1GctEtTotalgetCandL1ETT () const
 pointer to ETT data list More...
 
const std::vector< const
L1GctCand * > * 
getCandL1ForJet () const
 pointer to ForJet data list More...
 
const L1GctHFBitCountsgetCandL1HfBitCounts () const
 pointer to HfBitCounts data list More...
 
const L1GctHFRingEtSumsgetCandL1HfRingEtSums () const
 pointer to HfRingEtSums data list More...
 
const L1GctHtMissgetCandL1HTM () const
 pointer to HTM data list More...
 
const L1GctEtHadgetCandL1HTT () const
 pointer to HTT data list More...
 
const std::vector< const
L1GctCand * > * 
getCandL1IsoEG () const
 pointer to IsoEG data list More...
 
const L1GctJetCountsgetCandL1JetCounts () const
 pointer to JetCounts data list More...
 
const std::vector< const
L1GctCand * > * 
getCandL1NoIsoEG () const
 pointer to NoIsoEG data list More...
 
const std::vector< const
L1GctCand * > * 
getCandL1TauJet () const
 pointer to TauJet data list More...
 
const std::vector< bool > * getGtTechnicalTriggers () const
 pointer to technical trigger bits More...
 
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) More...
 
 L1GlobalTriggerPSB (const edm::InputTag &caloTag, const std::vector< edm::InputTag > &vecTag, edm::ConsumesCollector &&iC)
 
void printGctObjectData (const int iBxInEvent) const
 print Global Calorimeter Trigger data More...
 
void receiveBptxData (edm::Event &iEvent, const edm::InputTag &bptxInputTag, const int iBxInEvent, const bool receiveBptx, const bool readFromPsb)
 receive BPTX objects More...
 
void receiveCastorData (edm::Event &iEvent, const edm::InputTag &castorInputTag, const int iBxInEvent, const bool receiveCastor, const bool readFromPsb)
 receive CASTOR objects More...
 
void receiveExternalData (edm::Event &iEvent, const std::vector< edm::InputTag > &externalInputTags, const int iBxInEvent, const bool receiveExternal, const bool readFromPsb)
 receive External objects More...
 
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 More...
 
void receiveTechnicalTriggers (edm::Event &iEvent, const std::vector< edm::InputTag > &technicalTriggersInputTags, const int iBxInEvent, const bool receiveTechTr, const int nrL1TechTr)
 receive technical trigger More...
 
void reset ()
 clear PSB More...
 
void setVerbosity (const int verbosity)
 
virtual ~L1GlobalTriggerPSB ()
 

Private Attributes

const L1GctEtMissm_candETM
 
const L1GctEtTotalm_candETT
 
const L1GctHFBitCountsm_candHfBitCounts
 
const L1GctHFRingEtSumsm_candHfRingEtSums
 
const L1GctHtMissm_candHTM
 
const L1GctEtHadm_candHTT
 
const L1GctJetCountsm_candJetCounts
 
std::vector< const L1GctCand * > * m_candL1CenJet
 
std::vector< const L1GctCand * > * m_candL1ForJet
 
std::vector< const L1GctCand * > * m_candL1IsoEG
 
std::vector< const L1GctCand * > * m_candL1NoIsoEG
 
std::vector< const L1GctCand * > * m_candL1TauJet
 
std::vector< bool > m_gtTechnicalTriggers
 technical trigger bits More...
 
bool m_isDebugEnabled
 
int m_verbosity
 verbosity level More...
 

Detailed Description

Description: Pipelined Synchronising Buffer.

Implementation: GT PSB receives data from

Author
: M. Fierro - HEPHY Vienna - ORCA version
: Vasile Mihai Ghete - HEPHY Vienna - CMSSW version

Description: Pipelined Synchronising Buffer, see header file for details.

Implementation: <TODO: enter implementation details>

Author
: M. Fierro - HEPHY Vienna - ORCA version
: Vasile Mihai Ghete - HEPHY Vienna - CMSSW version

Definition at line 58 of file L1GlobalTriggerPSB.h.

Constructor & Destructor Documentation

L1GlobalTriggerPSB::L1GlobalTriggerPSB ( const edm::InputTag caloTag,
const std::vector< edm::InputTag > &  vecTag,
edm::ConsumesCollector &&  iC 
)

Definition at line 49 of file L1GlobalTriggerPSB.cc.

L1GlobalTriggerPSB::~L1GlobalTriggerPSB ( )
virtual

Definition at line 89 of file L1GlobalTriggerPSB.cc.

Member Function Documentation

void L1GlobalTriggerPSB::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 > &  gtDaqReadoutRecord 
)

fill the content of active PSB boards

Definition at line 700 of file L1GlobalTriggerPSB.cc.

const std::vector<const L1GctCand*>* L1GlobalTriggerPSB::getCandL1CenJet ( ) const
inline

pointer to CenJet data list

Definition at line 142 of file L1GlobalTriggerPSB.h.

const L1GctEtMiss* L1GlobalTriggerPSB::getCandL1ETM ( ) const
inline

pointer to ETM data list

Definition at line 160 of file L1GlobalTriggerPSB.h.

const L1GctEtTotal* L1GlobalTriggerPSB::getCandL1ETT ( ) const
inline

pointer to ETT data list

Definition at line 166 of file L1GlobalTriggerPSB.h.

const std::vector<const L1GctCand*>* L1GlobalTriggerPSB::getCandL1ForJet ( ) const
inline

pointer to ForJet data list

Definition at line 148 of file L1GlobalTriggerPSB.h.

const L1GctHFBitCounts* L1GlobalTriggerPSB::getCandL1HfBitCounts ( ) const
inline

pointer to HfBitCounts data list

Definition at line 190 of file L1GlobalTriggerPSB.h.

Referenced by L1GtHfBitCountsCondition::evaluateCondition().

const L1GctHFRingEtSums* L1GlobalTriggerPSB::getCandL1HfRingEtSums ( ) const
inline

pointer to HfRingEtSums data list

Definition at line 196 of file L1GlobalTriggerPSB.h.

Referenced by L1GtHfRingEtSumsCondition::evaluateCondition().

const L1GctHtMiss* L1GlobalTriggerPSB::getCandL1HTM ( ) const
inline

pointer to HTM data list

Definition at line 178 of file L1GlobalTriggerPSB.h.

const L1GctEtHad* L1GlobalTriggerPSB::getCandL1HTT ( ) const
inline

pointer to HTT data list

Definition at line 172 of file L1GlobalTriggerPSB.h.

const std::vector<const L1GctCand*>* L1GlobalTriggerPSB::getCandL1IsoEG ( ) const
inline

pointer to IsoEG data list

Definition at line 136 of file L1GlobalTriggerPSB.h.

const L1GctJetCounts* L1GlobalTriggerPSB::getCandL1JetCounts ( ) const
inline

pointer to JetCounts data list

Definition at line 184 of file L1GlobalTriggerPSB.h.

Referenced by L1GtJetCountsCondition::evaluateCondition().

const std::vector<const L1GctCand*>* L1GlobalTriggerPSB::getCandL1NoIsoEG ( ) const
inline

pointer to NoIsoEG data list

Definition at line 130 of file L1GlobalTriggerPSB.h.

const std::vector<const L1GctCand*>* L1GlobalTriggerPSB::getCandL1TauJet ( ) const
inline

pointer to TauJet data list

Definition at line 154 of file L1GlobalTriggerPSB.h.

const std::vector<bool>* L1GlobalTriggerPSB::getGtTechnicalTriggers ( ) const
inline

pointer to technical trigger bits

Definition at line 202 of file L1GlobalTriggerPSB.h.

void L1GlobalTriggerPSB::init ( const int  nrL1NoIsoEG,
const int  nrL1IsoEG,
const int  nrL1CenJet,
const int  nrL1ForJet,
const int  nrL1TauJet,
const int  numberTechnicalTriggers 
)

initialize the class (mainly reserve)

Definition at line 103 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::printGctObjectData ( const int  iBxInEvent) const

print Global Calorimeter Trigger data

Definition at line 1451 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::receiveBptxData ( edm::Event iEvent,
const edm::InputTag bptxInputTag,
const int  iBxInEvent,
const bool  receiveBptx,
const bool  readFromPsb 
)

receive BPTX objects

Definition at line 580 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::receiveCastorData ( edm::Event iEvent,
const edm::InputTag castorInputTag,
const int  iBxInEvent,
const bool  receiveCastor,
const bool  readFromPsb 
)

receive CASTOR objects

Definition at line 536 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::receiveExternalData ( edm::Event iEvent,
const std::vector< edm::InputTag > &  externalInputTags,
const int  iBxInEvent,
const bool  receiveExternal,
const bool  readFromPsb 
)

receive External objects

Definition at line 590 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::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

Definition at line 121 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::receiveTechnicalTriggers ( edm::Event iEvent,
const std::vector< edm::InputTag > &  technicalTriggersInputTags,
const int  iBxInEvent,
const bool  receiveTechTr,
const int  nrL1TechTr 
)

receive technical trigger

Definition at line 602 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::reset ( void  )

clear PSB

Definition at line 1428 of file L1GlobalTriggerPSB.cc.

void L1GlobalTriggerPSB::setVerbosity ( const int  verbosity)
inline

Definition at line 209 of file L1GlobalTriggerPSB.h.

Member Data Documentation

const L1GctEtMiss* L1GlobalTriggerPSB::m_candETM
private

Definition at line 221 of file L1GlobalTriggerPSB.h.

const L1GctEtTotal* L1GlobalTriggerPSB::m_candETT
private

Definition at line 222 of file L1GlobalTriggerPSB.h.

const L1GctHFBitCounts* L1GlobalTriggerPSB::m_candHfBitCounts
private

Definition at line 228 of file L1GlobalTriggerPSB.h.

const L1GctHFRingEtSums* L1GlobalTriggerPSB::m_candHfRingEtSums
private

Definition at line 229 of file L1GlobalTriggerPSB.h.

const L1GctHtMiss* L1GlobalTriggerPSB::m_candHTM
private

Definition at line 224 of file L1GlobalTriggerPSB.h.

const L1GctEtHad* L1GlobalTriggerPSB::m_candHTT
private

Definition at line 223 of file L1GlobalTriggerPSB.h.

const L1GctJetCounts* L1GlobalTriggerPSB::m_candJetCounts
private

Definition at line 226 of file L1GlobalTriggerPSB.h.

std::vector<const L1GctCand*>* L1GlobalTriggerPSB::m_candL1CenJet
private

Definition at line 217 of file L1GlobalTriggerPSB.h.

std::vector<const L1GctCand*>* L1GlobalTriggerPSB::m_candL1ForJet
private

Definition at line 218 of file L1GlobalTriggerPSB.h.

std::vector<const L1GctCand*>* L1GlobalTriggerPSB::m_candL1IsoEG
private

Definition at line 216 of file L1GlobalTriggerPSB.h.

std::vector<const L1GctCand*>* L1GlobalTriggerPSB::m_candL1NoIsoEG
private

Definition at line 215 of file L1GlobalTriggerPSB.h.

std::vector<const L1GctCand*>* L1GlobalTriggerPSB::m_candL1TauJet
private

Definition at line 219 of file L1GlobalTriggerPSB.h.

std::vector<bool> L1GlobalTriggerPSB::m_gtTechnicalTriggers
private

technical trigger bits

Definition at line 232 of file L1GlobalTriggerPSB.h.

bool L1GlobalTriggerPSB::m_isDebugEnabled
private

Definition at line 238 of file L1GlobalTriggerPSB.h.

int L1GlobalTriggerPSB::m_verbosity
private

verbosity level

Definition at line 237 of file L1GlobalTriggerPSB.h.