ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardTracker/ForwardTracker/Beamline.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef FORWARDTRACKER_BEAMLINE_H
6#define FORWARDTRACKER_BEAMLINE_H
7
8#include "IBeamElement.h"
9#include <iosfwd>
10#include <string>
11
12namespace ForwardTracker {
13
14 class IParticle;
15
16 class Beamline {
17
18 public:
19
22 Beamline(const Beamline&);
23
24 Beamline& operator=(Beamline rhs) { this->swap(rhs); return *this; }
25
26 void track(IParticle&) const;
27
28 std::string str() const;
29
30 private:
31
33
34 void swap(Beamline& other) { m_elements.swap(other.m_elements); }
35 };
36
37 std::ostream& operator<<(std::ostream&, const Beamline&);
38}
39
40#endif
std::ostream & operator<<(std::ostream &, const Beamline &)