PandaRoot
ThinScatterer.h
Go to the documentation of this file.
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 "MaterialProperties.h"
29 
30 #include <TObject.h>
31 
32 namespace genfit {
33 
37 class ThinScatterer : public TObject {
38 
39  public:
40  ThinScatterer() : TObject(), sharedPlane_(), material_() { ; }
41  ThinScatterer(const SharedPlanePtr &sharedPlane, const MaterialProperties &material) : TObject(), sharedPlane_(sharedPlane), material_(material) { ; }
42 
43  SharedPlanePtr getPlane() const { return sharedPlane_; }
44  const MaterialProperties &getMaterial() const { return material_; }
45 
46  void Print(const Option_t * = "") const;
47 
48  private:
49  SharedPlanePtr sharedPlane_;
50  MaterialProperties material_; // Material properties
51 
52  public:
53  ClassDef(ThinScatterer, 1)
54 };
55 
56 } /* End of namespace genfit */
59 #endif // genfit_ThinScatterer_h
SharedPlanePtr getPlane() const
Definition: ThinScatterer.h:43
ThinScatterer(const SharedPlanePtr &sharedPlane, const MaterialProperties &material)
Definition: ThinScatterer.h:41
Thin or thick scatterer.
Definition: ThinScatterer.h:37
Material properties needed e.g. for material effects calculation.
void Print(const Option_t *="") const
const MaterialProperties & getMaterial() const
Definition: ThinScatterer.h:44
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
Matrix inversion tools.
Definition: AbsBField.h:28