Line data Source code
1 : #ifndef ALIVVZEROFRIEND_H
2 : #define ALIVVZEROFRIEND_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : ///////////////////////////////////////////////////////////////////////////////
7 : ///
8 : /// This is a base class for containing all the VZERO DDL raw data
9 : ///
10 : ///////////////////////////////////////////////////////////////////////////////
11 :
12 : #include <TObject.h>
13 :
14 : class AliVVZEROfriend: public TObject {
15 : public :
16 28 : AliVVZEROfriend() {}
17 28 : virtual ~AliVVZEROfriend() {}
18 :
19 : AliVVZEROfriend(const AliVVZEROfriend& vzerofriend);
20 : AliVVZEROfriend& operator = (const AliVVZEROfriend& vzerofriend);
21 :
22 0 : virtual void Reset() {}
23 :
24 : // Getters of various scalers and Minimum Bias flags :
25 :
26 : virtual ULong64_t GetBBScalers(Int_t /*channel*/) const
27 0 : { return 0; }
28 : virtual ULong64_t GetBGScalers(Int_t /*channel*/) const
29 0 : { return 0; }
30 : virtual UInt_t GetTriggerScalers(Int_t /*num_scaler*/) const
31 0 : { return 0; }
32 : virtual UInt_t GetBunchNumbersMB(Int_t /*num_bunch*/) const
33 0 : { return 0; }
34 : virtual UShort_t GetChargeMB(Int_t /*channel*/, Int_t /*num_bunch*/) const
35 0 : { return 0; }
36 : virtual Bool_t GetIntMBFlag(Int_t /*channel*/, Int_t /*num_bunch*/) const
37 0 : { return 0; }
38 : virtual Bool_t GetBBMBFlag(Int_t /*channel*/, Int_t /*num_bunch*/) const
39 0 : { return 0; }
40 : virtual Bool_t GetBGMBFlag(Int_t /*channel*/, Int_t /*num_bunch*/) const
41 0 : { return 0; }
42 :
43 : // Getters of ADC signals, ADC pedestals, time information and corresponding flags :
44 :
45 : virtual Float_t GetADC(Int_t /*channel*/) const
46 0 : { return 0.; }
47 : virtual Float_t GetPedestal(Int_t /*channel*/, Int_t /*event*/) const
48 0 : { return 0.; }
49 : virtual Bool_t GetIntegratorFlag(Int_t /*channel*/, Int_t /*event*/) const
50 0 : { return 0; }
51 : virtual Bool_t GetBBFlag(Int_t /*channel*/, Int_t /*event*/) const
52 0 : { return 0; }
53 : virtual Bool_t GetBGFlag(Int_t /*channel*/, Int_t /*event*/) const
54 0 : { return 0; }
55 : virtual Float_t GetTime(Int_t /*channel*/) const
56 0 : { return 0.; }
57 : virtual Float_t GetWidth(Int_t /*channel*/) const
58 0 : { return 0.; }
59 :
60 : enum EVVZEROfriendParams {
61 : kNChannels = 64, // number of electronic channels in V0 (FEE numbering)
62 : kNEvOfInt = 21, // number of events of interest
63 : kNScalers = 16, // number of scalers
64 : kNBunches = 10 // number of bunches used in Minimum Bias information
65 : };
66 :
67 : private:
68 :
69 192 : ClassDef(AliVVZEROfriend, 1) // container class for VZERO DDL raw data
70 : };
71 :
72 : #endif
|