]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSOnlineSPDHitEvent.h
Be sure to load mapping when needed
[u/mrichter/AliRoot.git] / ITS / AliITSOnlineSPDHitEvent.h
CommitLineData
b15de2d2 1#ifndef ALI_ITS_ONLINESPDHITEVENT_H
2#define ALI_ITS_ONLINESPDHITEVENT_H
3
4/////////////////////////////////////////////////////////////////
5// Author: Henrik Tydesjo //
6// This class is used as a container online. //
7// One object for each half stave and step in a scan. It keeps //
8// the nr of events with at least one pixel hit in each chip. //
9// It also keeps the value for the all the 10 chips together. //
10// This class should only be used through the interface of the //
11// AliITSOnlineSPDscan class. //
12/////////////////////////////////////////////////////////////////
13
14#include <TObject.h>
15
16class AliITSOnlineSPDHitEvent : public TObject {
17
18 public:
19 AliITSOnlineSPDHitEvent();
20 virtual ~AliITSOnlineSPDHitEvent(){}
21 void IncrementHitEvent(UInt_t chip);
22 void SetHitEvent(UInt_t chip, UInt_t events);
23 UInt_t GetHitEvent(UInt_t chip) const;
24 AliITSOnlineSPDHitEvent* CloneThis() const;
25
26 private:
27 UInt_t fHitEvent[11]; // nr of events with at least one hit in a chip
28 // index 10 is for all 10 chips together
29
30 ClassDef(AliITSOnlineSPDHitEvent,1)
31 };
32
33#endif