Belle II Software  release-08-01-10
ThinScatterer.h
1 /* Copyright 2008-2010, Technische Universitaet Muenchen,
2  Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
3 
4  This file is part of GENFIT.
5 
6  GENFIT is free software: you can redistribute it and/or modify
7  it under the terms of the GNU Lesser General Public License as published
8  by the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  GENFIT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public License
17  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
24 #ifndef genfit_ThinScatterer_h
25 #define genfit_ThinScatterer_h
26 
27 #include "SharedPlanePtr.h"
28 #include "Material.h"
29 
30 #include <TObject.h>
31 
32 
33 namespace genfit {
34 
38 class ThinScatterer : public TObject {
39 
40  public:
41 
42  ThinScatterer() :
43  TObject(), sharedPlane_(), material_() {;}
44  ThinScatterer(const SharedPlanePtr& sharedPlane, const Material& material) :
45  TObject(), sharedPlane_(sharedPlane), material_(material) {;}
46 
47  SharedPlanePtr getPlane() const {return sharedPlane_;}
48  const Material& getMaterial() const {return material_;}
49 
50  void Print(const Option_t* = "") const;
51 
52  private:
53 
54  SharedPlanePtr sharedPlane_;
55  Material material_; // Material properties
56 
57 
58  public:
59  ClassDef(ThinScatterer, 2)
60 
61 };
62 
63 } /* End of namespace genfit */
66 #endif // genfit_ThinScatterer_h
Thin or thick scatterer.
Definition: ThinScatterer.h:38
Material material_
Material boundary. '!' shuts up ROOT.
Definition: ThinScatterer.h:55
Defines for I/O streams used for error and debug printing.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.