ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4H6LeakHit.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8LArG4H6LeakHit::LArG4H6LeakHit(int d, int cod, float ek, float et)
9 : m_ekin(ek),
10 m_etot(et),
11 m_pcode (cod),
12 m_dir(d)
13{
14}
15
17 : m_ekin (right.m_ekin),
18 m_etot (right.m_etot),
19 m_pcode (right.m_pcode),
20 m_dir (right.m_dir)
21{
22}
23
25{
26 if (this != &right) {
27 m_dir = right.m_dir;
28 m_pcode = right.m_pcode;
29 m_ekin = right.m_ekin;
30 m_etot = right.m_etot;
31 }
32 return *this;
33}
34
36{
37 if(m_dir != right.m_dir) return 0;
38 if(m_pcode != right.m_pcode) return 0;
39 if(m_ekin != right.m_ekin) return 0;
40 if(m_etot != right.m_etot) return 0;
41 return 1;
42}
int operator==(const LArG4H6LeakHit &right)
LArG4H6LeakHit & operator=(const LArG4H6LeakHit &right)
LArG4H6LeakHit()=default
Extra patterns decribing particle interation process.