LCOV - code coverage report
Current view: top level - TPC/TPCbase - AliDetectorParam.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 15 13.3 %
Date: 2016-06-14 17:26:59 Functions: 3 24 12.5 %

          Line data    Source code
       1             : #ifndef ALIDETECTORPARAM_H
       2             : #define ALIDETECTORPARAM_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /// \class AliDetectorParam
       7             : /// \brief Manager class for detector parameters
       8             : 
       9             : #include <TNamed.h>
      10           6 : class AliDetectorParam : public TNamed {
      11             : public:
      12             :   AliDetectorParam();
      13           0 :   virtual Int_t GetNSegmentsTotal() const {return 0;} //get total nuber of segments
      14           0 :   virtual Bool_t Get1DIndex(Int_t */*index*/, const Int_t * /*arrindex*/) {return kFALSE;}
      15             :   //transform multidimensional index to one dimesional
      16           0 :   virtual Bool_t GetNDIndex(const Int_t * /*index1*/, Int_t * /*arrIndex*/) {return kFALSE;}
      17             :   //trasnform one dimesional index to multidimesional
      18           0 :   virtual Float_t GetPrimaryLoss(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/){return 0;}
      19           0 :   virtual Float_t GetTotalLoss(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/){return 0;}
      20           0 :   virtual void GetClusterSize(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/, Int_t /*mode*/, Float_t */*sigma*/){;}
      21             :   virtual void GetSpaceResolution(Float_t */*x*/, Int_t */*index*/, Float_t */*angle*/, Float_t /*amplitude*/, Int_t /*mode*/,
      22           0 :                                   Float_t */*sigma*/){;}
      23             :   virtual Float_t * GetAnglesAccMomentum(Float_t *x, Int_t * index, Float_t* momentum, Float_t *angle);
      24             : 
      25           0 :   void  SetBField(Float_t b){fBField=b;} //set magnetic field intensity
      26           0 :   void  SetNPrimLoss(Float_t loss) {fNPrimLoss = loss;}
      27           0 :   void  SetNTotalLoss(Float_t loss) {fNTotalLoss = loss;}
      28           0 :   Float_t GetBFiled() {return fBField;}
      29           0 :   Float_t GetNPrimLoss() {return fNPrimLoss;}
      30           0 :   Float_t GetNTotalLoss() {return fNTotalLoss;}
      31             : protected:
      32             :   Float_t fBField;  ///< intensity of magnetic field
      33             :   Float_t fNPrimLoss; ///< number of produced primary  electrons  per cm
      34             :   Float_t fNTotalLoss; ///< total  number of produced  electrons  per cm
      35             : 
      36          36 :   ClassDef(AliDetectorParam,1)  //parameter  object for set:TPC
      37             : };
      38             : 
      39             : 
      40             : 
      41             : 
      42             : #endif  //ALIDPARAM_H

Generated by: LCOV version 1.11