Adding a reminder for coders
[u/mrichter/AliRoot.git] / TOF / AliTOFTriggerMask.h
CommitLineData
1f4ce44e 1#ifndef ALITOFTRIGGERMASK_H
2#define ALITOFTRIGGERMASK_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 OCDB on a run-by-run basis in order to have the status
13// * of TOF trigger inputs. it stores 32 bit masks for each crate
14// *
15// *
16// *
17// *
18
19#include "TObject.h"
20
21class AliTOFTriggerMask :
22public TObject
23{
24
25 public:
26
27 AliTOFTriggerMask(); // default constructor
28 virtual ~AliTOFTriggerMask(); // default destructor
29 AliTOFTriggerMask(const AliTOFTriggerMask &source); // copy constructor
30 AliTOFTriggerMask &operator=(const AliTOFTriggerMask &source); // operator=
31
32 UInt_t GetTriggerMask(UInt_t icrate) const {return icrate < 72 ? fTriggerMask[icrate] : 0;}; // get trigger mask
33 UInt_t *GetTriggerMaskArray() {return fTriggerMask;}; // get trigger mask array
34
35 void SetTriggerMaskArray(UInt_t *array); // set trigger mask array
36
37 private:
38
39 UInt_t fTriggerMask[72]; // trigger mask array
40
41 ClassDef(AliTOFTriggerMask, 1);
42};
43
44#endif /* ALITOFTRIGGERMASK_H */