ATLAS Offline Software
Loading...
Searching...
No Matches
CMXJetTob_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: CMXJetTob_v1.h 687949 2015-08-06 15:48:49Z amazurov $
8#ifndef XAODTRIGL1CALO_VERSIONS_CMXJETTOB_V1_H
9#define XAODTRIGL1CALO_VERSIONS_CMXJETTOB_V1_H
10
11// EDM include(s):
12#include "AthLinks/ElementLink.h"
14
15// System include(s):
16#include <stdint.h>
17
18namespace xAOD{
19
26
28 public:
32 virtual ~CMXJetTob_v1(){}
33
35 virtual void initialize(const uint8_t crate,const uint8_t jem,const uint8_t frame,const uint8_t loc);
36
38 virtual void initialize(const uint8_t crate,const uint8_t jem,const uint8_t frame,const uint8_t loc,
39 const std::vector<uint16_t>& energyLargeVec,
40 const std::vector<uint16_t>& energySmallVec,
41 const std::vector<uint32_t>& errorVec,
42 const std::vector<uint16_t>& presenceMapVec,
43 const uint8_t peak);
44
46 void addTob(const std::vector<uint16_t>& energyLargeVec,
47 const std::vector<uint16_t>& energySmallVec,
48 const std::vector<uint32_t>& errorVec,
49 const std::vector<uint16_t>& presenceMapVec);
50
51
53 uint8_t crate() const;
56
58 uint8_t jem() const;
61
63 uint8_t frame() const;
66
71
73 uint8_t peak() const;
76
78 const std::vector<uint16_t>& energyLargeVec() const;
80 void setEnergyLargeVec(const std::vector<uint16_t>&);
81
83 const std::vector<uint16_t>& energySmallVec() const;
85 void setEnergySmallVec(const std::vector<uint16_t>&);
86
88 const std::vector<uint32_t>& errorVec() const;
90 void setErrorVec(const std::vector<uint32_t>&);
91
93 const std::vector<uint16_t>& presenceMapVec() const;
95 void setPresenceMapVec(const std::vector<uint16_t>&);
96
100
102 uint16_t energyLarge() const;
103
105 uint16_t energySmall() const;
106
108 uint32_t error() const;
109
111 uint16_t presenceMap() const;
112
113 }; // class CMXJetTob_v1
114} // namespace xAOD
115#endif
116
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
uint8_t peak() const
get peak
uint8_t location() const
get location
void setEnergyLargeVec(const std::vector< uint16_t > &)
set energyLargeVec
const std::vector< uint16_t > & energySmallVec() const
get energySmallVec
uint16_t presenceMap() const
get presenceMapVec at peak bunch crossing
void setPeak(uint8_t)
set peak
const std::vector< uint16_t > & energyLargeVec() const
get energyLargeVec
void setJem(uint8_t)
set jem
void setCrate(uint8_t)
set crate
uint32_t error() const
get errorVec at peak bunch crossing
const std::vector< uint32_t > & errorVec() const
get errorVec
uint8_t frame() const
get frame
const std::vector< uint16_t > & presenceMapVec() const
get presenceMapVec
void setFrame(uint8_t)
set frame
CMXJetTob_v1()
Default constructor.
void setEnergySmallVec(const std::vector< uint16_t > &)
set energySmallVec
uint16_t energyLarge() const
Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration corr...
uint8_t jem() const
get jem
void setPresenceMapVec(const std::vector< uint16_t > &)
set presenceMapVec
void addTob(const std::vector< uint16_t > &energyLargeVec, const std::vector< uint16_t > &energySmallVec, const std::vector< uint32_t > &errorVec, const std::vector< uint16_t > &presenceMapVec)
add data to existing object
void setLocation(uint8_t)
set location
uint16_t energySmall() const
get energySmallVec at peak bunch crossing
uint8_t crate() const
get crate
virtual ~CMXJetTob_v1()
Default desturctor.
void setErrorVec(const std::vector< uint32_t > &)
set errorVec
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t
setEventNumber uint32_t
void initialize()