SND@LHC Software
Loading...
Searching...
No Matches
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
33namespace genfit {
34
38class 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
Material properties needed e.g. for material effects calculation.
Thin or thick scatterer.
MaterialProperties material_
Material boundary. '!' shuts up ROOT.
SharedPlanePtr sharedPlane_
void Print(const Option_t *="") const
const MaterialProperties & getMaterial() const
ThinScatterer(const SharedPlanePtr &sharedPlane, const MaterialProperties &material)
SharedPlanePtr getPlane() const
Matrix inversion tools.
Definition AbsBField.h:29
boost::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.