]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/AliTPCeventInfo.h
Fixing Coverity 10889 (B.Hippolyte)
[u/mrichter/AliRoot.git] / TPC / AliTPCeventInfo.h
CommitLineData
61c0fd3a 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4#ifndef ALITPCEVENTINFO_H
5#define ALITPCEVENTINFO_H
6
7#include <TObject.h>
8
9class AliTPCeventInfo:public TObject {
10public:
11 AliTPCeventInfo();
12 virtual ~AliTPCeventInfo();
13
14 Int_t GetNSamples() const {return fNSamples;}
15 void SetNSamples(Int_t NSamples) {fNSamples=NSamples;};
16 Int_t GetSamplingRate() const {return fSamplingRate;}
17 void SetSamplingRate(Int_t SamplingRate) {fSamplingRate=SamplingRate;}
18 Int_t GetSamplingPhase() const {return fSamplingPhase;}
19 void SetSamplingPhase(Int_t SamplingPhase) {fSamplingPhase=SamplingPhase;}
20
21 Bool_t GetBC() const {return fBC;}
22 void SetBC(Bool_t BC) {fBC=BC;}
23 Int_t GetBCMode1() const {return fBCMode1;}
24 void SetBCMode1(Int_t BCMode1) {fBCMode1=BCMode1;}
25 Int_t GetBCMode2() const {return fBCMode2;}
26 void SetBCMode2(Int_t BCMode2) {fBCMode2=BCMode2;}
27 Int_t GetBCPre() const {return fBCPre;}
28 void SetBCPre(Int_t BCPre) {fBCPre=BCPre;}
29 Int_t GetBCPost() const {return fBCPost;}
30 void SetBCPost(Int_t BCPost) {fBCPost=BCPost;}
31
32 Int_t GetNPreTrigger() const {return fNPreTrigger;}
33 void SetNPreTrigger(Int_t NPreTrigger) {fNPreTrigger=NPreTrigger;}
34 Bool_t GetTC() const {return fTC;}
35 void SetTC(Bool_t TC) {fTC=TC;}
36
37 Bool_t GetZS() const {return fZS;}
38 void SetZS(Bool_t ZS) {fZS=ZS;}
39 Int_t GetZSGlitchFilter() const {return fZSGlitchFilter;}
40 void SetZSGlitchFilter(Int_t ZSGlitchFilter) {fZSGlitchFilter=ZSGlitchFilter;}
41 Int_t GetZSPre() const {return fZSPre;}
42 void SetZSPre(Int_t ZSPre) {fZSPre=ZSPre;}
43 Int_t GetZSPost() const {return fZSPost;}
44 void SetZSPost(Int_t ZSPost) {fZSPost=ZSPost;}
45 Int_t GetZSOffset() const {return fZSOffset;}
46 void SetZSOffset(Int_t ZSOffset) {fZSOffset=ZSOffset;}
47
48private:
49 Int_t fNSamples; // Number of samples per channel
50 Int_t fSamplingRate; // ?
51 Int_t fSamplingPhase; // ?
52
53 Bool_t fBC; // Baseline correction enabled?
54 Int_t fBCMode1; // 1st baseline correction mode
55 Int_t fBCMode2; // 2nd baseline correction mode
56 Int_t fBCPre; // Number of presamples excluded from 2nd baseline correction
57 Int_t fBCPost; // Number of postsamples excluded from 2nd baseline correction
58 Int_t fNPreTrigger; // Number of pre-trigger samples
59 Bool_t fTC; // Tail cancelation filter?
60
61 Bool_t fZS; // Zero suppresion enabled?
62 Int_t fZSGlitchFilter; // Glitch filter configuration for zero suppression
63 Int_t fZSPre; // Number of presamples excluded from zero suppression
64 Int_t fZSPost; // Number of postsamples excluded from zero suppression
65 Int_t fZSOffset; // Zero suppression offset
66
67 ClassDef(AliTPCeventInfo,1)
68};
69
70#endif