ATLAS Offline Software
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 
18 namespace xAOD{
19 
26 
27  class CMXJetTob_v1 : public SG::AuxElement {
28  public:
30  CMXJetTob_v1();
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;
60  void setJem(uint8_t);
61 
63  uint8_t frame() const;
66 
68  uint8_t location() const;
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 
xAOD::CMXJetTob_v1::energySmall
uint16_t energySmall() const
get energySmallVec at peak bunch crossing
Definition: CMXJetTob_v1.cxx:82
xAOD::CMXJetTob_v1::energyLargeVec
const std::vector< uint16_t > & energyLargeVec() const
get energyLargeVec
xAOD::CMXJetTob_v1::CMXJetTob_v1
CMXJetTob_v1()
Default constructor.
Definition: CMXJetTob_v1.cxx:15
xAOD::CMXJetTob_v1::addTob
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
Definition: CMXJetTob_v1.cxx:50
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
xAOD::CMXJetTob_v1::setErrorVec
void setErrorVec(const std::vector< uint32_t > &)
set errorVec
xAOD::CMXJetTob_v1::peak
uint8_t peak() const
get peak
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
xAOD::CMXJetTob_v1::jem
uint8_t jem() const
get jem
xAOD::CMXJetTob_v1::setCrate
void setCrate(uint8_t)
set crate
xAOD::CMXJetTob_v1::crate
uint8_t crate() const
get crate
xAOD::CMXJetTob_v1::~CMXJetTob_v1
virtual ~CMXJetTob_v1()
Default desturctor.
Definition: CMXJetTob_v1.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::CMXJetTob_v1::energySmallVec
const std::vector< uint16_t > & energySmallVec() const
get energySmallVec
xAOD::CMXJetTob_v1::energyLarge
uint16_t energyLarge() const
Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration corr...
Definition: CMXJetTob_v1.cxx:76
xAOD::CMXJetTob_v1::setPresenceMapVec
void setPresenceMapVec(const std::vector< uint16_t > &)
set presenceMapVec
xAOD::CMXJetTob_v1::setJem
void setJem(uint8_t)
set jem
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
xAOD::CMXJetTob_v1::setLocation
void setLocation(uint8_t)
set location
xAOD::CMXJetTob_v1::setEnergyLargeVec
void setEnergyLargeVec(const std::vector< uint16_t > &)
set energyLargeVec
xAOD::CMXJetTob_v1
Description of CMXJetTob_v1.
Definition: CMXJetTob_v1.h:27
xAOD::CMXJetTob_v1::frame
uint8_t frame() const
get frame
xAOD::CMXJetTob_v1::error
uint32_t error() const
get errorVec at peak bunch crossing
Definition: CMXJetTob_v1.cxx:88
xAOD::CMXJetTob_v1::initialize
virtual void initialize(const uint8_t crate, const uint8_t jem, const uint8_t frame, const uint8_t loc)
initialize
Definition: CMXJetTob_v1.cxx:21
xAOD::CMXJetTob_v1::presenceMapVec
const std::vector< uint16_t > & presenceMapVec() const
get presenceMapVec
xAOD::CMXJetTob_v1::location
uint8_t location() const
get location
xAOD::CMXJetTob_v1::setFrame
void setFrame(uint8_t)
set frame
xAOD::CMXJetTob_v1::errorVec
const std::vector< uint32_t > & errorVec() const
get errorVec
xAOD::CMXJetTob_v1::presenceMap
uint16_t presenceMap() const
get presenceMapVec at peak bunch crossing
Definition: CMXJetTob_v1.cxx:94
xAOD::CMXJetTob_v1::setEnergySmallVec
void setEnergySmallVec(const std::vector< uint16_t > &)
set energySmallVec
xAOD::CMXJetTob_v1::setPeak
void setPeak(uint8_t)
set peak
AuxElement.h
Base class for elements of a container that can have aux data.