ATLAS Offline Software
TrigT2ZdcSignals_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
9 #include <iostream>
10 
11 namespace xAOD {
12 
14  : SG::AuxElement() {
15  }
16 
18 
19  // Simple debug method using MsgStream
20  void TrigT2ZdcSignals_v1::print(void) const {
21 
22  std::cout << "triggerEnergiesVal = { ";
23  for (float x : triggerEnergies()) {
24  std::cout << x << " ";
25  }
26  std::cout << " }" << std::endl;
27 
28  for (float x : triggerTimes()) {
29  std::cout << x << " ";
30  }
31  std::cout << " }" << std::endl;
32  }
33 
34  // Simple accessor functions for the "default variable" access pattern
35 
36  AUXSTORE_OBJECT_SETTER_AND_GETTER (TrigT2ZdcSignals_v1, std::vector<float>, triggerEnergies, setTriggerEnergies)
37  AUXSTORE_OBJECT_SETTER_AND_GETTER (TrigT2ZdcSignals_v1, std::vector<float>, triggerTimes, setTriggerTimes)
38 }
39 
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
AuxStoreAccessorMacros.h
xAOD::TrigT2ZdcSignals_v1
Definition: TrigT2ZdcSignals_v1.h:12
TrigT2ZdcSignals_v1.h
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::TrigT2ZdcSignals_v1::print
void print(void) const
Prints out data members to std::cout.
Definition: TrigT2ZdcSignals_v1.cxx:20
x
#define x
xAOD::TrigT2ZdcSignals_v1::TrigT2ZdcSignals_v1
TrigT2ZdcSignals_v1()
default ctor
Definition: TrigT2ZdcSignals_v1.cxx:13
xAOD::TrigT2ZdcSignals_v1::triggerTimes
const std::vector< float > & triggerTimes() const
Return the relative times of the triggers.
xAOD::TrigT2ZdcSignals_v1::~TrigT2ZdcSignals_v1
~TrigT2ZdcSignals_v1()
Definition: TrigT2ZdcSignals_v1.cxx:17
xAOD::TrigT2ZdcSignals_v1::triggerEnergies
const std::vector< float > & triggerEnergies() const
Return the trigger energies of each counter.
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27