Protection against wrong trigger bc mask pattern
[u/mrichter/AliRoot.git] / T0 / AliT0RecPoint.h
CommitLineData
dc7ca31d 1#ifndef ALIT0RECPOINT_H
2#define ALIT0RECPOINT_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 <TObject.h>
8
9
10//___________________________________________
11class AliT0RecPoint: public TObject {
12////////////////////////////////////////////////////////////////////////
13 public:
14 AliT0RecPoint();
4fe1424e 15 AliT0RecPoint(const AliT0RecPoint &o);
16 AliT0RecPoint& operator= (const AliT0RecPoint &) { return *this;}
dc7ca31d 17 virtual ~AliT0RecPoint() {}
4fe1424e 18
548f30b4 19 Int_t GetMeanTime() const {return fTimeAverage;}
20 Int_t GetOnlineMean() const {return fTimeOnlineMean;}
21 Int_t GetBestTimeA() const {return fTimeBestA ;}
22 Int_t GetBestTimeC() const {return fTimeBestC ;}
23 Int_t GetMultC() const {return fMultC;}
24 Int_t GetMultA() const {return fMultA;}
25 Float_t GetVertex() const {return fVertexPosition;}
dc7ca31d 26
27
28 void SetMeanTime(Int_t time) {fTimeAverage=time;}
446d6ec4 29 void SetOnlineMean(Int_t time) {fTimeOnlineMean=time;}
c41ceaac 30 void SetTimeBestA( Int_t time) {fTimeBestA = time;}
31 void SetTimeBestC( Int_t time) {fTimeBestC = time;}
dc7ca31d 32 void SetVertex( Float_t vertex) {fVertexPosition= vertex;}
33 void SetMultC(Int_t mult) {fMultC = mult;}
34 void SetMultA(Int_t mult) {fMultA = mult;}
35
36 void SetTime (Int_t ipmt, Float_t time) { fTime[ipmt] = time;}
548f30b4 37 Float_t GetTime (Int_t ipmt)const { return fTime[ipmt];}
4fe1424e 38 void SetAmp (Int_t ipmt, Float_t adc) { fADC[ipmt] = adc;}
548f30b4 39 Float_t GetAmp (Int_t ipmt) const{ return fADC[ipmt];}
4fe1424e 40 void SetAmpLED (Int_t ipmt, Float_t adc) { fADCLED[ipmt] = adc;}
548f30b4 41 Float_t AmpLED (Int_t ipmt) const{ return fADCLED[ipmt];}
dc7ca31d 42
43 private:
44 Int_t fTimeAverage; // Average time
446d6ec4 45 Int_t fTimeOnlineMean; // online mean signal
c41ceaac 46 Float_t fVertexPosition; // Diffrence time between C and A
47 Int_t fTimeBestA; //TOF first particle on the A
48 Int_t fTimeBestC; //TOF first particle on the C
dc7ca31d 49 Int_t fMultC; // multiplicity on the
50 Int_t fMultA; // multiplicity on the
51
52 Float_t fTime[24]; // array's TDC
53 Float_t fADC[24]; // array's amplitude
54 Float_t fADCLED[24]; // array's LED amplitude
55
56
446d6ec4 57 ClassDef(AliT0RecPoint,4) //Digit (Header) object for set:T0
dc7ca31d 58};
59
60typedef AliT0RecPoint AliSTARTRecPoint; // for backward compatibility
61
62#endif
63
64
65