]>
Commit | Line | Data |
---|---|---|
ca142b1f | 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: | |
d242f3ba | 29 | AliTPCLaser():AliTPCv2(), |
30 | fNelPerCollision(10), | |
31 | fLaserPID(13), | |
32 | fCollisionsPerCm(20) {} | |
ca142b1f | 33 | AliTPCLaser(const char *name, const char *title); |
34 | virtual ~AliTPCLaser() {} | |
d242f3ba | 35 | |
ca142b1f | 36 | virtual void StepManager(); |
d242f3ba | 37 | |
38 | virtual Int_t GetNelPerCollision() const {return fNelPerCollision;} | |
39 | virtual Int_t GetLaserPID() const {return fLaserPID;} | |
40 | virtual Float_t GetCollisionsPerCm() const {return fCollisionsPerCm;} | |
41 | ||
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;} | |
ca142b1f | 45 | |
d242f3ba | 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 | ClassDef(AliTPCLaser,2) // For Laser | |
ca142b1f | 51 | }; |
52 | ||
53 | #endif |