ATLAS Offline Software
Loading...
Searching...
No Matches
CMXCPHits_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: CMXCPHits_v1.h 687949 2015-08-06 15:48:49Z amazurov $
8#ifndef XAODTRIGL1CALO_VERSIONS_CMXCPHITS_V1_H
9#define XAODTRIGL1CALO_VERSIONS_CMXCPHITS_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 public:
36 virtual ~CMXCPHits_v1(){}
37
39 virtual void initialize(const uint8_t crate,const uint8_t cmx,const uint8_t source);
40
42 virtual void initialize(const uint8_t crate,const uint8_t cmx,const uint8_t source,
43 const std::vector<uint32_t>& hitsVec0,
44 const std::vector<uint32_t>& hitsVec1,
45 const std::vector<uint32_t>& errorVec0,
46 const std::vector<uint32_t>& errorVec1,
47 const uint8_t peak);
48
50 void addHits(const std::vector<uint32_t>& hitsVec0,
51 const std::vector<uint32_t>& hitsVec1,
52 const std::vector<uint32_t>& errorVec0,
53 const std::vector<uint32_t>& errorVec1);
54
56 uint8_t crate() const;
59
61 uint8_t cmx() const;
64
69
71 uint8_t peak() const;
74
76 const std::vector<uint32_t>& hitsVec0() const;
78 void setHitsVec0(const std::vector<uint32_t>&);
79
81 const std::vector<uint32_t>& hitsVec1() const;
83 void setHitsVec1(const std::vector<uint32_t>&);
84
86 const std::vector<uint32_t>& errorVec0() const;
88 void setErrorVec0(const std::vector<uint32_t>&);
89
91 const std::vector<uint32_t>& errorVec1() const;
93 void setErrorVec1(const std::vector<uint32_t>&);
94
98
100 uint32_t hits0() const;
101
103 uint32_t hits1() const;
104
106 uint32_t error0() const;
107
109 uint32_t error1() const;
110
111 }; // class CMXCPHits_v1
112} // namespace xAOD
113#endif
114
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
void addHits(const std::vector< uint32_t > &hitsVec0, const std::vector< uint32_t > &hitsVec1, const std::vector< uint32_t > &errorVec0, const std::vector< uint32_t > &errorVec1)
add hits to existing object
void setPeak(uint8_t)
set peak
void setCmx(uint8_t)
set cmx
uint8_t peak() const
get peak
uint8_t sourceComponent() const
get source
void setErrorVec0(const std::vector< uint32_t > &)
set errorVec0
uint8_t cmx() const
get cmx
const std::vector< uint32_t > & hitsVec0() const
get hitsVec0
uint32_t error1() const
get errorVec1 at peak bunch crossing
void setSourceComponent(uint8_t)
set source
uint32_t hits0() const
Peak functions - return value of peak bunch crossing Assuming we have got the timing calibration corr...
void setCrate(uint8_t)
set crate
uint32_t error0() const
get errorVec0 at peak bunch crossing
const std::vector< uint32_t > & errorVec1() const
get errorVec1
void setHitsVec0(const std::vector< uint32_t > &)
set hitsVec0
const std::vector< uint32_t > & hitsVec1() const
get hitsVec1
void setErrorVec1(const std::vector< uint32_t > &)
set errorVec1
void setHitsVec1(const std::vector< uint32_t > &)
set hitsVec1
uint32_t hits1() const
get hitsVec1 at peak bunch crossing
CMXCPHits_v1()
Default constructor.
uint8_t crate() const
get crate
virtual ~CMXCPHits_v1()
Default desturctor.
const std::vector< uint32_t > & errorVec0() const
get errorVec0
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setEventNumber uint32_t
void initialize()