some coverity fixes
[u/mrichter/AliRoot.git] / TOF / AliTOFReadoutInfo.h
CommitLineData
5b4ed716 1#ifndef ALITOFREADOUTINFO_H
2#define ALITOFREADOUTINFO_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6/* $Id$ */
7
8// *
9// *
10// *
11// * this class defines the TOF object to be stored
12// * in Reference data a run-by-run basis in order to have
13// * info about readout electronics
14// *
15// *
16// *
17// *
18
19#include "TObject.h"
20
21class TH1F;
22class TH2F;
23
24class AliTOFReadoutInfo :
25public TObject
26{
27
28 public:
29
30 AliTOFReadoutInfo(); // default constructor
31 virtual ~AliTOFReadoutInfo(); // default destructor
32 AliTOFReadoutInfo(const AliTOFReadoutInfo &source); // copy constructor
33 AliTOFReadoutInfo &operator=(const AliTOFReadoutInfo &source); // operator=
34
35 TH1F *GetChainEfficiency() const {return fChainEfficiency;}; // getter
36 TH1F *GetTRMData() const {return fTRMData;}; // getter
37 TH1F *GetTRMEmptyEvent() const {return fTRMEmptyEvent;}; // getter
38 TH1F *GetTRMBadEventCounter() const {return fTRMBadEventCounter;}; // getter
39 TH1F *GetTRMBadCRC() const {return fTRMBadCRC;}; // getter
40 TH1F *GetChainData() const {return fChainData;}; // getter
41 TH1F *GetChainBadStatus() const {return fChainBadStatus;}; // getter
42 TH1F *GetChainBadEventCounter() const {return fChainBadEventCounter;}; // getter
43 TH1F *GetTDCError() const {return fTDCError;}; // getter
44 TH2F *GetTDCErrorFlags() const {return fTDCErrorFlags;}; // getter
45
46
47 void SetChainEfficiency(TH1F *value) {fChainEfficiency = value;}; // getter
48 void SetTRMData(TH1F *value) {fTRMData = value;}; // getter
49 void SetTRMEmptyEvent(TH1F *value) {fTRMEmptyEvent = value;}; // getter
50 void SetTRMBadEventCounter(TH1F *value) {fTRMBadEventCounter = value;}; // getter
51 void SetTRMBadCRC(TH1F *value) {fTRMBadCRC = value;}; // getter
52 void SetChainData(TH1F *value) {fChainData = value;}; // getter
53 void SetChainBadStatus(TH1F *value) {fChainBadStatus = value;}; // getter
54 void SetChainBadEventCounter(TH1F *value) {fChainBadEventCounter = value;}; // getter
55 void SetTDCError(TH1F *value) {fTDCError = value;}; // getter
56 void SetTDCErrorFlags(TH2F *value) {fTDCErrorFlags = value;}; // getter
57
58
59 private:
60
61 TH1F *fChainEfficiency; // chain efficiency
62 TH1F *fTRMData; // TRM data
63 TH1F *fTRMEmptyEvent; // TRM empty event
64 TH1F *fTRMBadEventCounter; // TRM bad event counter
65 TH1F *fTRMBadCRC; // TRM bad CRC
66 TH1F *fChainData; // chain data
67 TH1F *fChainBadStatus; // chain bad status
68 TH1F *fChainBadEventCounter; // chain bad event counter
69 TH1F *fTDCError; // TDC error
70 TH2F *fTDCErrorFlags; // TDC error flags
71
72 ClassDef(AliTOFReadoutInfo, 1);
73};
74
75#endif /* ALITOFREADOUTINFO_H */