LCOV - code coverage report
Current view: top level - TPC/TPCsim - AliTPCLaser.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 12 8.3 %
Date: 2016-06-14 17:26:59 Functions: 1 16 6.2 %

          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             : #ifndef ALITPCLASER_H
      17             : #define ALITPCLASER_H
      18             : 
      19             : ////////////////////////////////////////////////
      20             : //            Laser for TPCv2                 //
      21             : ////////////////////////////////////////////////
      22             : 
      23             :  
      24             : #include "AliTPCv2.h"
      25             : 
      26             : class AliTPCLaser : public AliTPCv2 {
      27             : 
      28             : public:
      29           0 :   AliTPCLaser():AliTPCv2(),   
      30           0 :     fNelPerCollision(10),
      31           0 :     fLaserPID(13),
      32           0 :     fCollisionsPerCm(20)  {}
      33             :   AliTPCLaser(const char *name, const char *title);
      34           0 :   virtual      ~AliTPCLaser() {}
      35             :   
      36             :   virtual void  StepManager();
      37             : 
      38           0 :   virtual Int_t   GetNelPerCollision() const {return fNelPerCollision;}
      39           0 :   virtual Int_t   GetLaserPID() const {return fLaserPID;}
      40           0 :   virtual Float_t GetCollisionsPerCm() const {return fCollisionsPerCm;}
      41             : 
      42           0 :   virtual void SetNelPerCollision(Int_t nel) {fNelPerCollision = nel;}
      43           0 :   virtual void SetLaserPID(Int_t pid) {fLaserPID = pid;}
      44           0 :   virtual void SetCollisionsPerCm(Int_t ncol) {fCollisionsPerCm = ncol;}
      45             :   
      46             :  private:
      47             :   Int_t   fNelPerCollision;  // Fixed number of electrons per collision 
      48             :   Int_t   fLaserPID;         // PID of laser  
      49             :   Float_t fCollisionsPerCm;  // Number of primary interactions per cm
      50          12 :   ClassDef(AliTPCLaser,2)  // For Laser
      51             : };
      52             : 
      53             : #endif

Generated by: LCOV version 1.11