ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace xAOD {
12
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
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
#define x
AuxElement()
Default constructor.
const std::vector< float > & triggerEnergies() const
Return the trigger energies of each counter.
void print(void) const
Prints out data members to std::cout.
const std::vector< float > & triggerTimes() const
Return the relative times of the triggers.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.