ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArSamplesMon
LArSamplesMon
HistoryIterator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
9
10
#ifndef LArSamples_HistoryIterator_H
11
#define LArSamples_HistoryIterator_H
12
13
#include "
CxxUtils/checker_macros.h
"
14
15
namespace
LArSamples
{
16
17
class
Interface
;
18
class
History
;
19
20
class
ATLAS_NOT_THREAD_SAFE
HistoryIterator
{
21
22
public
:
23
25
HistoryIterator
(
const
Interface
& interface,
unsigned
int
pos
= 0,
double
eMin = -1,
double
adcMaxMin = -1);
26
27
virtual
~HistoryIterator
() { }
28
29
const
History
* history()
const
;
30
unsigned
int
pos
()
const
{
return
m_pos
; }
31
32
bool
isValid
()
const
;
33
34
const
History
*
operator*
()
const
{
return
history
(); }
35
HistoryIterator
* operator++();
36
const
History
* next();
37
38
bool
operator==
(
unsigned
int
otherPos)
const
{
return
pos
() == otherPos; }
39
40
private
:
41
42
const
Interface
*
m_interface
;
43
unsigned
int
m_pos
;
44
45
double
m_eMin
,
m_adcMaxMin
;
46
};
47
}
48
49
#endif
isValid
bool isValid() const
Test to see if the link can be dereferenced.
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
LArSamples::HistoryIterator
storage of the time histories of all the cells
Definition
HistoryIterator.h:20
LArSamples::HistoryIterator::m_pos
unsigned int m_pos
Definition
HistoryIterator.h:43
LArSamples::HistoryIterator::~HistoryIterator
virtual ~HistoryIterator()
Definition
HistoryIterator.h:27
LArSamples::HistoryIterator::pos
unsigned int pos() const
Definition
HistoryIterator.h:30
LArSamples::HistoryIterator::m_interface
const Interface * m_interface
Definition
HistoryIterator.h:42
LArSamples::HistoryIterator::HistoryIterator
HistoryIterator(const Interface &interface, unsigned int pos=0, double eMin=-1, double adcMaxMin=-1)
Constructor.
Definition
HistoryIterator.cxx:17
LArSamples::HistoryIterator::m_eMin
double m_eMin
Definition
HistoryIterator.h:45
LArSamples::HistoryIterator::operator==
bool operator==(unsigned int otherPos) const
Definition
HistoryIterator.h:38
LArSamples::HistoryIterator::operator*
const History * operator*() const
Definition
HistoryIterator.h:34
LArSamples::HistoryIterator::m_adcMaxMin
double m_adcMaxMin
Definition
HistoryIterator.h:45
LArSamples::HistoryIterator::history
const History * history() const
Definition
HistoryIterator.cxx:26
LArSamples::History
Definition
History.h:36
LArSamples::Interface
Definition
Interface.h:37
LArSamples
Definition
AbsShape.h:24
Generated on
for ATLAS Offline Software by
1.17.0