ATLAS Offline Software
Loading...
Searching...
No Matches
LArCalorimeter
LArDigitization
LArDigitization
LArHitList.h
Go to the documentation of this file.
1
//Dear emacs, this is -*-c++-*-
2
/*
3
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
#ifndef LARDIGITIZATION_LARHITLIST_H
7
#define LARDIGITIZATION_LARHITLIST_H
8
#include <vector>
9
class
LArHitList
{
10
11
typedef
std::vector< std::pair<float,float> >
LARLIST
;
12
13
private
:
14
bool
m_inWindows
;
15
LARLIST
m_list
;
16
17
public
:
18
LArHitList
(){
m_inWindows
=
false
;};
19
~LArHitList
(){};
20
21
void
AddHit
(
const
float
energy,
const
float
time) {
22
m_list
.emplace_back(energy,time);
23
}
24
25
const
LARLIST
&
getData
()
const
{
return
m_list
;}
26
inline
bool
inWindows
()
const
{
return
m_inWindows
;};
27
inline
void
setInWindows
() {
m_inWindows
=
true
;};
28
};
29
#endif
LArHitList::m_list
LARLIST m_list
Definition
LArHitList.h:15
LArHitList::AddHit
void AddHit(const float energy, const float time)
Definition
LArHitList.h:21
LArHitList::inWindows
bool inWindows() const
Definition
LArHitList.h:26
LArHitList::m_inWindows
bool m_inWindows
Definition
LArHitList.h:14
LArHitList::getData
const LARLIST & getData() const
Definition
LArHitList.h:25
LArHitList::LArHitList
LArHitList()
Definition
LArHitList.h:18
LArHitList::~LArHitList
~LArHitList()
Definition
LArHitList.h:19
LArHitList::LARLIST
std::vector< std::pair< float, float > > LARLIST
Definition
LArHitList.h:11
LArHitList::setInWindows
void setInWindows()
Definition
LArHitList.h:27
Generated on
for ATLAS Offline Software by
1.14.0