ATLAS Offline Software
Loading...
Searching...
No Matches
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>
9class LArHitList {
10
11 typedef std::vector< std::pair<float,float> > LARLIST;
12
13private:
16
17public:
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
LARLIST m_list
Definition LArHitList.h:15
void AddHit(const float energy, const float time)
Definition LArHitList.h:21
bool inWindows() const
Definition LArHitList.h:26
bool m_inWindows
Definition LArHitList.h:14
const LARLIST & getData() const
Definition LArHitList.h:25
std::vector< std::pair< float, float > > LARLIST
Definition LArHitList.h:11
void setInWindows()
Definition LArHitList.h:27