ROOT logo
/**************************************************************************
 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
 *                                                                        *
 * Author: The ALICE Off-line Project.                                    *
 * Contributors are mentioned in the code where appropriate.              *
 *                                                                        *
 * Permission to use, copy, modify and distribute this software and its   *
 * documentation strictly for non-commercial purposes is hereby granted   *
 * without fee, provided that the above copyright notice appears in all   *
 * copies and that both the copyright notice and this permission notice   *
 * appear in the supporting documentation. The authors make no claims     *
 * about the suitability of this software for any purpose. It is          *
 * provided "as is" without express or implied warranty.                  *
 **************************************************************************/

#ifndef ALITPCLASER_H
#define ALITPCLASER_H

////////////////////////////////////////////////
//            Laser for TPCv2                 //
////////////////////////////////////////////////

 
#include "AliTPCv2.h"

class AliTPCLaser : public AliTPCv2 {

public:
  AliTPCLaser():AliTPCv2(),   
    fNelPerCollision(10),
    fLaserPID(13),
    fCollisionsPerCm(20)  {}
  AliTPCLaser(const char *name, const char *title);
  virtual      ~AliTPCLaser() {}
  
  virtual void  StepManager();

  virtual Int_t   GetNelPerCollision() const {return fNelPerCollision;}
  virtual Int_t   GetLaserPID() const {return fLaserPID;}
  virtual Float_t GetCollisionsPerCm() const {return fCollisionsPerCm;}

  virtual void SetNelPerCollision(Int_t nel) {fNelPerCollision = nel;}
  virtual void SetLaserPID(Int_t pid) {fLaserPID = pid;}
  virtual void SetCollisionsPerCm(Int_t ncol) {fCollisionsPerCm = ncol;}
  
 private:
  Int_t   fNelPerCollision;  // Fixed number of electrons per collision 
  Int_t   fLaserPID;         // PID of laser  
  Float_t fCollisionsPerCm;  // Number of primary interactions per cm
  ClassDef(AliTPCLaser,2)  // For Laser
};

#endif
 AliTPCLaser.h:1
 AliTPCLaser.h:2
 AliTPCLaser.h:3
 AliTPCLaser.h:4
 AliTPCLaser.h:5
 AliTPCLaser.h:6
 AliTPCLaser.h:7
 AliTPCLaser.h:8
 AliTPCLaser.h:9
 AliTPCLaser.h:10
 AliTPCLaser.h:11
 AliTPCLaser.h:12
 AliTPCLaser.h:13
 AliTPCLaser.h:14
 AliTPCLaser.h:15
 AliTPCLaser.h:16
 AliTPCLaser.h:17
 AliTPCLaser.h:18
 AliTPCLaser.h:19
 AliTPCLaser.h:20
 AliTPCLaser.h:21
 AliTPCLaser.h:22
 AliTPCLaser.h:23
 AliTPCLaser.h:24
 AliTPCLaser.h:25
 AliTPCLaser.h:26
 AliTPCLaser.h:27
 AliTPCLaser.h:28
 AliTPCLaser.h:29
 AliTPCLaser.h:30
 AliTPCLaser.h:31
 AliTPCLaser.h:32
 AliTPCLaser.h:33
 AliTPCLaser.h:34
 AliTPCLaser.h:35
 AliTPCLaser.h:36
 AliTPCLaser.h:37
 AliTPCLaser.h:38
 AliTPCLaser.h:39
 AliTPCLaser.h:40
 AliTPCLaser.h:41
 AliTPCLaser.h:42
 AliTPCLaser.h:43
 AliTPCLaser.h:44
 AliTPCLaser.h:45
 AliTPCLaser.h:46
 AliTPCLaser.h:47
 AliTPCLaser.h:48
 AliTPCLaser.h:49
 AliTPCLaser.h:50
 AliTPCLaser.h:51
 AliTPCLaser.h:52
 AliTPCLaser.h:53