ATLAS Offline Software
Loading...
Searching...
No Matches
CPMTower_v1.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id: CPMTower_v1.h 631127 2014-11-26 09:54:48Z gwatts $
8#ifndef XAODTRIGL1CALO_VERSIONS_CPMTOWER_V1_H
9#define XAODTRIGL1CALO_VERSIONS_CPMTOWER_V1_H
10
11#include "AthLinks/ElementLink.h"
13
14namespace xAOD {
15
22
24 public:
25 // Default constructor
27
29 const std::vector<int>& emEnergyVec() const;
31 void setEmEnergyVec(const std::vector<int>&);
32
34 const std::vector<int>& hadEnergyVec() const;
36 void setHadEnergyVec(const std::vector<int>&);
37
39 const std::vector<int>& emErrorVec() const;
41 void setEmErrorVec(const std::vector<int>&);
42
44 const std::vector<int>& hadErrorVec() const;
46 void setHadErrorVec(const std::vector<int>&);
47
49 float eta() const;
51 void setEta(float);
52
54 float phi() const;
56 void setPhi(float);
57
58 int peak() const;
59 void setPeak(int);
60
61
63 int emEnergy() const;
65 int hadEnergy() const;
66
68 int emSliceEnergy(int slice) const;
70 int hadSliceEnergy(int slice) const;
71
72 // get emError for emErrorVec[peak] - time slice that (hopefully) contains the collision
73 int emError() const;
74 // get hadError for hadErrorVec[peak] - time slice that (hopefully) contains the collision
75 int hadError() const;
76
78 int emSliceError(int slice) const;
80 int hadSliceError(int slice) const;
81
82 };
83} // namespace xAOD
84
85#endif // XAODTRIGL1CALO_VERSIONS_CPMTOWER_V1_H
Base class for elements of a container that can have aux data.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
int emSliceEnergy(int slice) const
get emEnergy for emEnergyVec[slice] - time slice for arbitary slice
const std::vector< int > & emEnergyVec() const
get emEnergyVec - emEnergy for all time slices
void setHadErrorVec(const std::vector< int > &)
set hadErrorVec - hadError for all time slices
int emEnergy() const
get emEnergy for emEnergyVec[peak] - time slice that (hopefully) contains the collision
int hadError() const
void setEmErrorVec(const std::vector< int > &)
set emErrorVec - emError for all time slices
const std::vector< int > & hadErrorVec() const
get hadErrorVec - hadError for all time slices
const std::vector< int > & emErrorVec() const
get emErrorVec - emError for all time slices
void setHadEnergyVec(const std::vector< int > &)
set hadEnergyVec - hadEnergy for all time slices
int hadSliceEnergy(int slice) const
get hadEnergy for hadEnergyVec[slice] - time slice for arbitary slice
void setEmEnergyVec(const std::vector< int > &)
set emEnergyVec - emEnergy for all time slices
int emError() const
void setPhi(float)
set phi
int emSliceError(int slice) const
get emError for emErrorVec[slice] - time slice for arbitary slice
int peak() const
int hadSliceError(int slice) const
get hadError for hadErrorVec[slice] - time slice for arbitary slice
float phi() const
get phi (note that for L1Calo phi runs from 0 to 2pi)
const std::vector< int > & hadEnergyVec() const
get hadEnergyVec - hadEnergy for all time slices
float eta() const
get eta
int hadEnergy() const
get hadEnergy for hadEnergyVec[peak] - time slice that (hopefully) contains the collision
void setEta(float)
set eta
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.