ATLAS Offline Software
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 
10 #ifndef LArSamples_HistoryIterator_H
11 #define LArSamples_HistoryIterator_H
12 
14 
15 namespace LArSamples {
16 
17  class Interface;
18  class History;
19 
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(); }
36  const History* next();
37 
38  bool operator==(unsigned int otherPos) const { return pos() == otherPos; }
39 
40  private:
41 
43  unsigned int m_pos;
44 
45  double m_eMin, m_adcMaxMin;
46  };
47 }
48 
49 #endif
LArSamples::HistoryIterator::m_eMin
double m_eMin
Definition: HistoryIterator.h:45
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::pos
unsigned int pos() const
Definition: HistoryIterator.h:30
LArSamples::History
Definition: History.h:40
Interface
LArSamples
Definition: AbsShape.h:24
isValid
bool isValid(const T &p)
Definition: AtlasPID.h:225
LArSamples::HistoryIterator::operator==
bool operator==(unsigned int otherPos) const
Definition: HistoryIterator.h:38
fillPileUpNoiseLumi.next
next
Definition: fillPileUpNoiseLumi.py:52
LArSamples::HistoryIterator
storage of the time histories of all the cells
Definition: HistoryIterator.h:20
LVL1TGCTrigger::operator++
TGCHBChip operator++(TGCHBChip &rs, int)
Definition: TGCHighPtBoard.h:28
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
LArSamples::HistoryIterator::~HistoryIterator
virtual ~HistoryIterator()
Definition: HistoryIterator.h:27
LArSamples::HistoryIterator::operator*
const History * operator*() const
Definition: HistoryIterator.h:34
LArSamples::Interface
Definition: Interface.h:36
LArSamples::HistoryIterator::m_interface
const Interface * m_interface
Definition: HistoryIterator.h:42
checker_macros.h
Define macros for attributes used to control the static checker.
LArSamples::HistoryIterator::m_pos
unsigned int m_pos
Definition: HistoryIterator.h:43