FairRoot/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 
33 namespace genfit {
34 
38 class ThinScatterer : public TObject {
39 
40  public:
41 
43  TObject(), sharedPlane_(), material_() {;}
44  ThinScatterer(const SharedPlanePtr& sharedPlane, const MaterialProperties& material) :
45  TObject(), sharedPlane_(sharedPlane), material_(material) {;}
46 
48  const MaterialProperties& getMaterial() const {return material_;}
49 
50  void Print(const Option_t* = "") const;
51 
52  private:
53 
55  MaterialProperties material_; // Material properties
56 
57 
58  public:
59  ClassDef(ThinScatterer, 1)
60 
61 };
62 
63 } /* End of namespace genfit */
66 #endif // genfit_ThinScatterer_h
MaterialProperties material_
Material boundary. '!' shuts up ROOT.
Definition: ThinScatterer.h:55
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
SharedPlanePtr getPlane() const
Definition: ThinScatterer.h:47
ThinScatterer(const SharedPlanePtr &sharedPlane, const MaterialProperties &material)
Definition: ThinScatterer.h:44
Thin or thick scatterer.
Definition: ThinScatterer.h:38
Material properties needed e.g. for material effects calculation.
void Print(const Option_t *="") const
const MaterialProperties & getMaterial() const
Definition: ThinScatterer.h:48
SharedPlanePtr sharedPlane_
Definition: ThinScatterer.h:54
Matrix inversion tools.
Definition: AbsBField.h:29