1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
19 ////////////////////////////////////////////////
21 ////////////////////////////////////////////////
26 class AliTPCLaser : public AliTPCv2 {
29 AliTPCLaser():AliTPCv2(),
32 fCollisionsPerCm(20) {}
33 AliTPCLaser(const char *name, const char *title);
34 virtual ~AliTPCLaser() {}
36 virtual void StepManager();
38 virtual Int_t GetNelPerCollision() const {return fNelPerCollision;}
39 virtual Int_t GetLaserPID() const {return fLaserPID;}
40 virtual Float_t GetCollisionsPerCm() const {return fCollisionsPerCm;}
42 virtual void SetNelPerCollision(Int_t nel) {fNelPerCollision = nel;}
43 virtual void SetLaserPID(Int_t pid) {fLaserPID = pid;}
44 virtual void SetCollisionsPerCm(Int_t ncol) {fCollisionsPerCm = ncol;}
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 ClassDef(AliTPCLaser,2) // For Laser