ATLAS Offline Software
Loading...
Searching...
No Matches
CMXCPTob_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: CMXCPTob_v1.h 687949 2015-08-06 15:48:49Z amazurov $
8#ifndef XAODTRIGL1CALO_VERSIONS_CMXCPTOB_V1_H
9#define XAODTRIGL1CALO_VERSIONS_CMXCPTOB_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
27 class CMXCPTob_v1 : public SG::AuxElement {
28 public:
32 virtual ~CMXCPTob_v1(){}
33
35 virtual void initialize(const uint8_t crate,const uint8_t cmx,
36 const uint8_t cpm,const uint8_t chip,const uint8_t loc);
37
39 virtual void initialize(const uint8_t crate,const uint8_t cmx,
40 const uint8_t cpm,const uint8_t chip,const uint8_t loc,
41 const std::vector<uint8_t>& energyVec,
42 const std::vector<uint8_t>& isolationVec,
43 const std::vector<uint32_t>& errorVec,
44 const std::vector<uint16_t>& presenceMapVec,
45 const uint8_t peak);
46
48 void addTob(const std::vector<uint8_t>& energyVec,
49 const std::vector<uint8_t>& isolationVec,
50 const std::vector<uint32_t>& errorVec,
51 const std::vector<uint16_t>& presenceMapVec);
52
54 uint8_t crate() const;
57
59 uint8_t cmx() const;
62
64 uint8_t cpm() const;
67
69 uint8_t chip() const;
72
77
79 uint8_t peak() const;
82
84 const std::vector<uint8_t>& energyVec() const;
86 void setEnergyVec(const std::vector<uint8_t>&);
87
89 const std::vector<uint8_t>& isolationVec() const;
91 void setIsolationVec(const std::vector<uint8_t>&);
92
94 const std::vector<uint32_t>& errorVec() const;
96 void setErrorVec(const std::vector<uint32_t>&);
97
99 const std::vector<uint16_t>& presenceMapVec() const;
101 void setPresenceMapVec(const std::vector<uint16_t>&);
102
106
108 uint8_t energy() const;
109
111 uint8_t isolation() const;
112
114 uint32_t error() const;
115
117 uint16_t presenceMap() const;
118
119 }; // class CMXCPTob_v1
120} // namespace xAOD
121#endif
122
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 cmx() const
get cmx
void setCmx(uint8_t)
set cmx
uint8_t cpm() const
get cpm
uint32_t error() const
get errorVec at peak bunch crossing
const std::vector< uint8_t > & energyVec() const
get energyVec
void setErrorVec(const std::vector< uint32_t > &)
set errorVec
uint16_t presenceMap() const
get presenceMapVec at peak bunch crossing
uint8_t crate() const
get crate
uint8_t energy() const
Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration corr...
void setPeak(uint8_t)
set peak
const std::vector< uint32_t > & errorVec() const
get errorVec
void setEnergyVec(const std::vector< uint8_t > &)
set energyVec
const std::vector< uint8_t > & isolationVec() const
get isolationVec
void setLocation(uint8_t)
set location
CMXCPTob_v1()
Default constructor.
void setChip(uint8_t)
set chip
void setCpm(uint8_t)
set cpm
void setPresenceMapVec(const std::vector< uint16_t > &)
set presenceMapVec
void addTob(const std::vector< uint8_t > &energyVec, const std::vector< uint8_t > &isolationVec, const std::vector< uint32_t > &errorVec, const std::vector< uint16_t > &presenceMapVec)
add data to existing object
const std::vector< uint16_t > & presenceMapVec() const
get presenceMapVec
void setIsolationVec(const std::vector< uint8_t > &)
set isolationVec
uint8_t chip() const
get chip
uint8_t peak() const
get peak
void setCrate(uint8_t)
set crate
uint8_t location() const
get location
virtual ~CMXCPTob_v1()
Default desturctor.
Definition CMXCPTob_v1.h:32
uint8_t isolation() const
get isolationVec at peak bunch crossing
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setWord1 uint16_t
setEventNumber uint32_t
void initialize()