ATLAS Offline Software
MuonPatternCombination.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  * Muon Pattern Recognition Event Data Model
7  * -----------------------------------------
8  *
9  * Author : Niels van Eldik
10  * Creation Date: 27 July 2005
11  * Last Update : 27 July 2005
12  ***************************************************************************/
13 
15 
16 namespace Muon {
17 
19  const std::vector<MuonPatternChamberIntersect>& chamberData) :
20  m_parameter(parameter), m_chamberData(chamberData) {}
21 
22  MuonPatternCombination::MuonPatternCombination(const MuonPatternCombination& pat) :
23  m_parameter(pat.m_parameter ? pat.m_parameter->clone() : nullptr), m_chamberData(pat.m_chamberData) {}
24 
25  MuonPatternCombination& MuonPatternCombination::operator=(const MuonPatternCombination& pat) {
26  if (this != &pat) {
27  // delete old MuonPatterns
28  delete m_parameter;
29  m_parameter = pat.m_parameter ? pat.m_parameter->clone() : nullptr;
30  m_chamberData = pat.m_chamberData;
31  }
32  return *this;
33  }
34 
35  MuonPatternCombination::~MuonPatternCombination() { delete m_parameter; }
36 
37 } // namespace Muon
Muon::MuonPatternCombination::MuonPatternCombination
MuonPatternCombination(const Trk::TrackParameters *parameter, const std::vector< MuonPatternChamberIntersect > &chamberData)
constructor taking as argmuents:
Definition: MuonPatternCombination.cxx:25
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
python.Utilities.clone
clone
Definition: Utilities.py:134
MuonPatternCombination.h
Trk::ParametersBase
Definition: ParametersBase.h:55
dso-stats.pat
pat
Definition: dso-stats.py:39
Muon::MuonPatternCombination
The MuonPatternCombination class provides the means to store the output of the initial global pattern...
Definition: MuonPatternCombination.h:29