Back to home page

sPhenix code displayed by LXR

 
 

    


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

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 #ifndef genfit_mySpacepointDetectorHit_h
0021 #define genfit_mySpacepointDetectorHit_h
0022 
0023 #include <TObject.h>
0024 
0025 
0026 namespace genfit {
0027 
0028 /** @brief Example class for a spacepoint detector hit.
0029  *
0030  *  @author Johannes Rauch  (Technische Universit&auml;t M&uuml;nchen, original author)
0031  *
0032  */
0033 class mySpacepointDetectorHit : public TObject {
0034 
0035  public:
0036   mySpacepointDetectorHit() {;}
0037 
0038   mySpacepointDetectorHit(const TVector3& pos, const TMatrixDSym cov)
0039   : pos_(pos), cov_(cov) {;}
0040 
0041   const TVector3 getPos() const {return pos_;}
0042   const TMatrixDSym getCov() const {return cov_;}
0043 
0044  private:
0045 
0046   TVector3 pos_;
0047   TMatrixDSym cov_;
0048 
0049   ClassDef(mySpacepointDetectorHit,1)
0050 };
0051 /** @} */
0052 
0053 } /* End of namespace genfit */
0054 
0055 #endif // genfit_mySpacepointDetectorHit_h