ATLAS Offline Software
Loading...
Searching...
No Matches
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
48std::string str(const TrigT2MbtsBits& trigT2MbtsBits);
49
51MsgStream& operator<< (MsgStream& m, const TrigT2MbtsBits& trigT2MbtsBits);
52
53CLASS_DEF( TrigT2MbtsBits , 100986084 , 1 )
54#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
MsgStream & operator<<(MsgStream &m, const TrigT2MbtsBits &trigT2MbtsBits)
Helper operator for printing the object.
static const int NUM_MBTS
A data member to contain the number of MBTS counters.
void print(void) const
Prints out data members to std::cout.
const std::vector< float > & triggerTimes(void) const
Return the relative times of the triggers.
const std::vector< float > & triggerEnergies(void) const
Return the trigger energies of each counter.