Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:21

0001 /* Copyright 2008-2010, Technische Universitaet Muenchen,
0002    Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
0003 
0004    This file is part of GENFIT.
0005 
0006    GENFIT is free software: you can redistribute it and/or modify
0007    it under the terms of the GNU Lesser General Public License as published
0008    by the Free Software Foundation, either version 3 of the License, or
0009    (at your option) any later version.
0010 
0011    GENFIT is distributed in the hope that it will be useful,
0012    but WITHOUT ANY WARRANTY; without even the implied warranty of
0013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0014    GNU Lesser General Public License for more details.
0015 
0016    You should have received a copy of the GNU Lesser General Public License
0017    along with GENFIT.  If not, see <http://www.gnu.org/licenses/>.
0018 */
0019 
0020 /** @addtogroup genfit
0021  * @{
0022  */
0023 
0024 #ifndef genfit_ThinScatterer_h
0025 #define genfit_ThinScatterer_h
0026 
0027 #include "SharedPlanePtr.h"
0028 #include "Material.h"
0029 
0030 #include <TObject.h>
0031 
0032 
0033 namespace genfit {
0034 
0035 /**
0036  * @brief Thin or thick scatterer
0037  */
0038 class ThinScatterer : public TObject {
0039 
0040  public:
0041 
0042   ThinScatterer() :
0043     TObject(), sharedPlane_(), material_() {;}
0044   ThinScatterer(const SharedPlanePtr& sharedPlane, const Material& material) :
0045     TObject(), sharedPlane_(sharedPlane), material_(material) {;}
0046 
0047   SharedPlanePtr getPlane() const {return sharedPlane_;}
0048   const Material& getMaterial() const {return material_;}
0049 
0050   void Print(const Option_t* = "") const;
0051 
0052  private:
0053 
0054   SharedPlanePtr sharedPlane_; //! Material boundary.  '!' shuts up ROOT.
0055   Material material_; // Material properties
0056 
0057 
0058  public:
0059   ClassDef(ThinScatterer, 2)
0060 
0061 };
0062 
0063 } /* End of namespace genfit */
0064 /** @} */
0065 
0066 #endif // genfit_ThinScatterer_h