LHC related code. First commit.
[u/mrichter/AliRoot.git] / LHC / AliLhcIRegion.h
CommitLineData
11141716 1#ifndef ALILHCIREGION_H
2#define ALILHCIREGION_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7#include <TNamed.h>
8#include "AliLhcMonitor.h"
9
10class AliLHC;
11class AliLhcBeam;
12
13class AliLhcIRegion : public TNamed, public AliLhcMonitor
14{
15 public:
16 AliLhcIRegion(AliLHC* lhc, const char* name, const char* tile);
17 AliLhcIRegion(const AliLhcIRegion &region);
18 virtual ~AliLhcIRegion();
19 AliLhcIRegion & operator=(const AliLhcIRegion & rhs);
20
21 virtual void Init();
22 virtual Float_t Luminosity();
23 virtual Float_t InitialLumi() {return fLuminosity0;}
24 virtual Float_t BetaStar() {return fBetaStar;}
25 virtual void SetBetaStar(Float_t beta) {fBetaStar = beta;}
26 virtual void SetCrossingAngle(Float_t angle) {fCrossingAngle = angle;}
27 virtual void SetAccelerator(AliLHC* acc) {fAccelerator = acc;}
28 virtual void Update();
29 virtual void SetMonitor(Int_t n);
30 virtual void Record();
31 virtual void DrawPlots();
32
33 protected:
34 AliLHC* fAccelerator; // Accelerator
35 AliLhcBeam* fBeam1; // Beam1
36 AliLhcBeam* fBeam2; // Beam2
37 Float_t fLuminosity; // Luminosity
38 Float_t fLuminosity0; // Initial Luminosity
39 Float_t fAverageLumi; // Average Initial Luminosity
40 Float_t fBetaStar; // Beta*
41 Float_t fBetaStar0; // Initial Beta*
42 Float_t fCrossingAngle; // Crossing Angle
43 Float_t fFrequency; // Frequency
44 Float_t* fLumiArray; // [fNmax] Luminosity(t)
45 Float_t* fAverageLumiArray; // [fNmax] Average Luminosity(t)
46 Float_t* fBetaStarArray; // [fNmax] Beta*(t)
47//
48 ClassDef(AliLhcIRegion,1) // LHC Interaction Region
49};
50
51#endif
52
53
54
55
56