ATLAS Offline Software
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:
16 
17 public:
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::setInWindows
void setInWindows()
Definition: LArHitList.h:27
LArHitList::LArHitList
LArHitList()
Definition: LArHitList.h:18
LArHitList::LARLIST
std::vector< std::pair< float, float > > LARLIST
Definition: LArHitList.h:11
LArHitList::~LArHitList
~LArHitList()
Definition: LArHitList.h:19
LArHitList::m_list
LARLIST m_list
Definition: LArHitList.h:15
LArHitList::getData
const LARLIST & getData() const
Definition: LArHitList.h:25
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
LArHitList::inWindows
bool inWindows() const
Definition: LArHitList.h:26
LArHitList::m_inWindows
bool m_inWindows
Definition: LArHitList.h:14
LArHitList
Definition: LArHitList.h:9
CaloSwCorrections.time
def time(flags, cells_name, *args, **kw)
Definition: CaloSwCorrections.py:242
LArHitList::AddHit
void AddHit(const float energy, const float time)
Definition: LArHitList.h:21