1 #ifndef ALI_ITS_ONLINESPDSCANSINGLE_H
2 #define ALI_ITS_ONLINESPDSCANSINGLE_H
4 ////////////////////////////////////////////////////////////
5 // Author: Henrik Tydesjo //
6 // Interface class to the containers of an online scan //
7 // with only one step. //
8 ////////////////////////////////////////////////////////////
10 #include "AliITSOnlineSPDscan.h"
12 class AliITSOnlineSPDscanSingle : public AliITSOnlineSPDscan {
15 AliITSOnlineSPDscanSingle() {}
16 AliITSOnlineSPDscanSingle(Char_t *fileName);
17 virtual ~AliITSOnlineSPDscanSingle();
19 // virtual void Clear() {AliITSOnlineSPDscan::Clear(); AddScanStep();}
20 // SET METHODS ***********************************
21 void SetHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi, UInt_t val);
22 void IncrementTriggers();
23 void SetTriggers(UInt_t val);
24 void IncrementHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi);
25 void SetHitEvents(UInt_t hs, UInt_t chipi, UInt_t val);
26 void SetHitEventsTot(UInt_t hs, UInt_t val);
27 void IncrementHitEvents(UInt_t hs, UInt_t chipi);
28 void IncrementHitEventsTot(UInt_t hs);
29 // GET METHODS ***********************************
31 UInt_t GetHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi);
32 Float_t GetHitsEfficiency(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi);
33 Float_t GetHitsEfficiencyError(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi);
34 UInt_t GetHitEvents(UInt_t hs, UInt_t chipi);
35 UInt_t GetHitEventsTot(UInt_t hs);
36 Float_t GetHitEventsEfficiency(UInt_t hs, UInt_t chipi);
37 Float_t GetHitEventsTotEfficiency(UInt_t hs);
38 Float_t GetHitEventsEfficiencyError(UInt_t hs, UInt_t chipi);
39 Float_t GetHitEventsTotEfficiencyError(UInt_t hs);
40 Float_t GetAverageMultiplicity(UInt_t hs, UInt_t chipi);
41 Float_t GetAverageMultiplicityTot(UInt_t hs);
46 ClassDef(AliITSOnlineSPDscanSingle,1)