PandaRoot
ThinScatterer.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /* Copyright 2008-2010, Technische Universitaet Muenchen,
14  Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
15 
16  This file is part of GENFIT.
17 
18  GENFIT is free software: you can redistribute it and/or modify
19  it under the terms of the GNU Lesser General Public License as published
20  by the Free Software Foundation, either version 3 of the License, or
21  (at your option) any later version.
22 
23  GENFIT is distributed in the hope that it will be useful,
24  but WITHOUT ANY WARRANTY; without even the implied warranty of
25  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26  GNU Lesser General Public License for more details.
27 
28  You should have received a copy of the GNU Lesser General Public License
29  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
30 */
31 
36 #ifndef genfit_ThinScatterer_h
37 #define genfit_ThinScatterer_h
38 
39 #include "SharedPlanePtr.h"
40 #include "MaterialProperties.h"
41 
42 #include <TObject.h>
43 
44 namespace genfit {
45 
49 class ThinScatterer : public TObject {
50 
51  public:
52  ThinScatterer() : TObject(), sharedPlane_(), material_() { ; }
53  ThinScatterer(const SharedPlanePtr &sharedPlane, const MaterialProperties &material) : TObject(), sharedPlane_(sharedPlane), material_(material) { ; }
54 
55  SharedPlanePtr getPlane() const { return sharedPlane_; }
56  const MaterialProperties &getMaterial() const { return material_; }
57 
58  void Print(const Option_t * = "") const;
59 
60  private:
61  SharedPlanePtr sharedPlane_;
62  MaterialProperties material_; // Material properties
63 
64  public:
65  ClassDef(ThinScatterer, 1)
66 };
67 
68 } /* End of namespace genfit */
71 #endif // genfit_ThinScatterer_h
SharedPlanePtr getPlane() const
Definition: ThinScatterer.h:55
ThinScatterer(const SharedPlanePtr &sharedPlane, const MaterialProperties &material)
Definition: ThinScatterer.h:53
Thin or thick scatterer.
Definition: ThinScatterer.h:49
Material properties needed e.g. for material effects calculation.
void Print(const Option_t *="") const
const MaterialProperties & getMaterial() const
Definition: ThinScatterer.h:56
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
Matrix inversion tools.
Definition: AbsBField.h:40