ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger/TrigEvent/TrigCaloEvent/TrigCaloEvent/TrigT2ZdcSignals.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 TRIGT2ZDCSIGNALS_H
6#define TRIGT2ZDCSIGNALS_H
7
9#include "GaudiKernel/MsgStream.h"
10
11#include <vector>
12
21
22 public:
23 TrigT2ZdcSignals(void);
24 TrigT2ZdcSignals(const std::vector<float>& triggerEnergies,
25 const std::vector<float>& triggerTimes);
26 TrigT2ZdcSignals(std::vector<float>&& triggerEnergies,
27 std::vector<float>&& triggerTimes);
29
31 const std::vector<float>& triggerEnergies(void) const { return m_triggerEnergies; }
32
34 const std::vector<float>& triggerTimes(void) const { return m_triggerTimes; }
35
37 void print(void) const;
38
40 void print(MsgStream& log) const;
41
43 static const int NUM_ZDC = 8;
44
45 private:
46 std::vector<float> m_triggerEnergies;
47 std::vector<float> m_triggerTimes;
48};
49
51std::string str(const TrigT2ZdcSignals& trigT2ZdcSignals);
52
54MsgStream& operator<< (MsgStream& m, const TrigT2ZdcSignals& trigT2ZdcSignals);
55
56CLASS_DEF( TrigT2ZdcSignals , 86299156 , 1 )
57#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 TrigT2ZdcSignals &trigT2ZdcSignals)
Helper operator for printing the object.
static const int NUM_ZDC
A data member to contain the number of ZDC signals.
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.
void print(void) const
Prints out data members to std::cout.