ATLAS Offline Software
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
TrigT2MbtsBits Class Reference

#include <TrigT2MbtsBits.h>

Collaboration diagram for TrigT2MbtsBits:

Public Member Functions

 TrigT2MbtsBits (void)
 
 TrigT2MbtsBits (const std::vector< float > &triggerEnergies, const std::vector< float > &triggerTimes)
 
 ~TrigT2MbtsBits (void)
 
const std::vector< float > & triggerEnergies (void) const
 Return the trigger energies of each counter. More...
 
const std::vector< float > & triggerTimes (void) const
 Return the relative times of the triggers. More...
 
void print (void) const
 Prints out data members to std::cout. More...
 
void print (MsgStream &log) const
 Prints out data members to MsgStream. More...
 

Static Public Attributes

static const int NUM_MBTS = 32
 A data member to contain the number of MBTS counters. More...
 

Private Attributes

std::vector< float > m_triggerEnergies
 
std::vector< float > m_triggerTimes
 

Detailed Description

Author
W. H. Bell W.Bel.nosp@m.l@ce.nosp@m.rn.ch

A class to contain the DSP energies and times of each MBTS counter.

Definition at line 19 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h.

Constructor & Destructor Documentation

◆ TrigT2MbtsBits() [1/2]

TrigT2MbtsBits::TrigT2MbtsBits ( void  )

◆ TrigT2MbtsBits() [2/2]

TrigT2MbtsBits::TrigT2MbtsBits ( const std::vector< float > &  triggerEnergies,
const std::vector< float > &  triggerTimes 
)

◆ ~TrigT2MbtsBits()

TrigT2MbtsBits::~TrigT2MbtsBits ( void  )

Definition at line 21 of file TrigT2MbtsBits.cxx.

21  {
22 }

Member Function Documentation

◆ print() [1/2]

void TrigT2MbtsBits::print ( MsgStream &  log) const

Prints out data members to MsgStream.

Definition at line 47 of file TrigT2MbtsBits.cxx.

47  {
48  std::vector<float>::const_iterator itr;
49  std::vector<float>::const_iterator itr_end;
50 
51  itr=m_triggerEnergies.begin();
52  itr_end=m_triggerEnergies.end();
53  log << MSG::DEBUG << "m_triggerEnergies = {";
54  for(;itr != itr_end; ++itr) {
55  log << MSG::DEBUG << (*itr) << ",";
56  }
57  log << MSG::DEBUG << "}" << endmsg;
58 
59  itr = m_triggerTimes.begin();
60  itr_end = m_triggerTimes.end();
61  log << MSG::DEBUG << "m_triggerTimes = {";
62  for(;itr != itr_end; ++itr) {
63  log << MSG::DEBUG << (*itr) << ",";
64  }
65  log << MSG::DEBUG << "}" << endmsg;
66 }

◆ print() [2/2]

void TrigT2MbtsBits::print ( void  ) const

Prints out data members to std::cout.

Definition at line 25 of file TrigT2MbtsBits.cxx.

25  {
26  std::vector<float>::const_iterator itr;
27  std::vector<float>::const_iterator itr_end;
28 
29  itr=m_triggerEnergies.begin();
30  itr_end=m_triggerEnergies.end();
31  std::cout << "m_triggerEnergies = {";
32  for(;itr != itr_end; ++itr) {
33  std::cout << (*itr) << ",";
34  }
35  std::cout << "}" << std::endl;
36 
37  itr = m_triggerTimes.begin();
38  itr_end = m_triggerTimes.end();
39  std::cout << "m_triggerTimes = {";
40  for(;itr != itr_end; ++itr) {
41  std::cout << (*itr) << ",";
42  }
43  std::cout << "}" << std::endl;
44 }

◆ triggerEnergies()

const std::vector<float>& TrigT2MbtsBits::triggerEnergies ( void  ) const
inline

Return the trigger energies of each counter.

Definition at line 28 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h.

28 { return m_triggerEnergies; }

◆ triggerTimes()

const std::vector<float>& TrigT2MbtsBits::triggerTimes ( void  ) const
inline

Return the relative times of the triggers.

Definition at line 31 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h.

31 { return m_triggerTimes; }

Member Data Documentation

◆ m_triggerEnergies

std::vector<float> TrigT2MbtsBits::m_triggerEnergies
private

◆ m_triggerTimes

std::vector<float> TrigT2MbtsBits::m_triggerTimes
private

◆ NUM_MBTS

const int TrigT2MbtsBits::NUM_MBTS = 32
static

A data member to contain the number of MBTS counters.

Definition at line 40 of file Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h.


The documentation for this class was generated from the following files:
TrigT2MbtsBits::NUM_MBTS
static const int NUM_MBTS
A data member to contain the number of MBTS counters.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:40
TrigT2MbtsBits::m_triggerTimes
std::vector< float > m_triggerTimes
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:44
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TrigT2MbtsBits::triggerEnergies
const std::vector< float > & triggerEnergies(void) const
Return the trigger energies of each counter.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:28
DEBUG
#define DEBUG
Definition: page_access.h:11
TrigT2MbtsBits::m_triggerEnergies
std::vector< float > m_triggerEnergies
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:43
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TrigT2MbtsBits::triggerTimes
const std::vector< float > & triggerTimes(void) const
Return the relative times of the triggers.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:31