ATLAS Offline Software
Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT2MBTSBITS_H
6 #define TRIGT2MBTSBITS_H
7 
9 #include "GaudiKernel/MsgStream.h"
10 
11 #include <vector>
12 
20 
21  public:
22  TrigT2MbtsBits(void);
23  TrigT2MbtsBits(const std::vector<float>& triggerEnergies,
24  const std::vector<float>& triggerTimes);
25  ~TrigT2MbtsBits(void);
26 
28  const std::vector<float>& triggerEnergies(void) const { return m_triggerEnergies; }
29 
31  const std::vector<float>& triggerTimes(void) const { return m_triggerTimes; }
32 
34  void print(void) const;
35 
37  void print(MsgStream& log) const;
38 
40  static const int NUM_MBTS = 32;
41 
42  private:
43  std::vector<float> m_triggerEnergies;
44  std::vector<float> m_triggerTimes;
45 };
46 
48 std::string str(const TrigT2MbtsBits& trigT2MbtsBits);
49 
51 MsgStream& operator<< (MsgStream& m, const TrigT2MbtsBits& trigT2MbtsBits);
52 
53 CLASS_DEF( TrigT2MbtsBits , 100986084 , 1 )
54 #endif
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
TrigT2MbtsBits::TrigT2MbtsBits
TrigT2MbtsBits(void)
Definition: TrigT2MbtsBits.cxx:8
TrigT2MbtsBits
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:19
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
operator<<
MsgStream & operator<<(MsgStream &m, const TrigT2MbtsBits &trigT2MbtsBits)
Helper operator for printing the object.
Definition: TrigT2MbtsBits.cxx:96
str
std::string str(const TrigT2MbtsBits &trigT2MbtsBits)
Helper function for printing the object.
Definition: TrigT2MbtsBits.cxx:69
TrigT2MbtsBits::triggerEnergies
const std::vector< float > & triggerEnergies(void) const
Return the trigger energies of each counter.
Definition: Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2MbtsBits.h:28
TrigT2MbtsBits::~TrigT2MbtsBits
~TrigT2MbtsBits(void)
Definition: TrigT2MbtsBits.cxx:21
TrigT2MbtsBits::print
void print(void) const
Prints out data members to std::cout.
Definition: TrigT2MbtsBits.cxx:25
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
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
CLASS_DEF.h
macros to associate a CLID to a type