LCOV - code coverage report
Current view: top level - FASTSIM - AliFastResponse.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 12 8.3 %
Date: 2016-06-14 17:26:59 Functions: 1 5 20.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       3             :  *                                                                        *
       4             :  * Author: The ALICE Off-line Project.                                    *
       5             :  * Contributors are mentioned in the code where appropriate.              *
       6             :  *                                                                        *
       7             :  * Permission to use, copy, modify and distribute this software and its   *
       8             :  * documentation strictly for non-commercial purposes is hereby granted   *
       9             :  * without fee, provided that the above copyright notice appears in all   *
      10             :  * copies and that both the copyright notice and this permission notice   *
      11             :  * appear in the supporting documentation. The authors make no claims     *
      12             :  * about the suitability of this software for any purpose. It is          *
      13             :  * provided "as is" without express or implied warranty.                  *
      14             :  **************************************************************************/
      15             : 
      16             : /* $Id$ */
      17             : 
      18             : // Basic implementation of a fast detector response. 
      19             : // The 3-vector of the particle can be passes as
      20             : // a TParticle or as
      21             : // transverse momentum pt, polar angle theta and azimuthal angle phi
      22             : // Author: Andreas Morsch
      23             : // andreas.morsch@cern.ch
      24             : //
      25             : #include "AliFastResponse.h"
      26             : #include "AliFastParticle.h"
      27             : 
      28          12 : ClassImp(AliFastResponse)
      29             : 
      30             : 
      31             : Float_t AliFastResponse::Evaluate(Float_t /*charge*/, Float_t /*pt*/, Float_t /*theta*/, Float_t /*phi*/)
      32             : {
      33             : //
      34             : //  Dummy implementation of this method
      35             : // 
      36           0 :     return 0.;
      37             : }
      38             : 
      39             : 
      40             : void AliFastResponse::Evaluate(Float_t /*charge*/, Float_t   p,  Float_t  theta , Float_t   phi,
      41             :                                Float_t& pS,  Float_t& thetaS, Float_t&  phiS)
      42             : {
      43             : //    
      44             : // Basic implementation of this method 
      45             : //
      46           0 :     pS     = p;
      47           0 :     thetaS = theta;
      48           0 :     phiS   = phi;
      49           0 : }
      50             : 
      51             : void AliFastResponse::Evaluate(Float_t   p,  Float_t  theta , Float_t   phi,
      52             :                                Float_t& pS,  Float_t& thetaS, Float_t&  phiS)
      53             : {
      54             : //    
      55             : // Basic implementation of this method 
      56             : //
      57           0 :     pS     = p;
      58           0 :     thetaS = theta;
      59           0 :     phiS   = phi;
      60           0 : }
      61             : 
      62             : void AliFastResponse::Copy(TObject&) const
      63             : {
      64             :     //
      65             :     // Copy 
      66             :     //
      67           0 :     Fatal("Copy","Not implemented!\n");
      68           0 : }
      69             : 

Generated by: LCOV version 1.11