1 #ifndef ALIITSONLINESPDSCANSINGLE_H
2 #define ALIITSONLINESPDSCANSINGLE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////////////
9 // Author: Henrik Tydesjo //
10 // Interface class to the containers of an online scan //
11 // with only one step. //
12 ////////////////////////////////////////////////////////////
14 #include "AliITSOnlineSPDscan.h"
16 class AliITSOnlineSPDscanSingle : public AliITSOnlineSPDscan {
19 AliITSOnlineSPDscanSingle() {}
20 AliITSOnlineSPDscanSingle(const Char_t *fileName, Bool_t readFromGridFile=kFALSE);
21 virtual ~AliITSOnlineSPDscanSingle();
23 // SET METHODS ***********************************
24 void SetHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi, UInt_t val) ;
25 void IncrementTriggers() ;
26 void SetTriggers(UInt_t val) ;
27 void IncrementHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi) ;
28 void SetHitEvents(UInt_t hs, UInt_t chipi, UInt_t val) ;
29 void SetHitEventsTot(UInt_t hs, UInt_t val) ;
30 void IncrementHitEvents(UInt_t hs, UInt_t chipi) ;
31 void IncrementHitEventsTot(UInt_t hs) ;
32 // GET METHODS ***********************************
33 UInt_t GetTriggers() const;
34 UInt_t GetHits(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi) ;
35 Float_t GetHitsEfficiency(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi) ;
36 Float_t GetHitsEfficiencyError(UInt_t hs, UInt_t chipi, UInt_t coli, UInt_t rowi) ;
37 UInt_t GetHitEvents(UInt_t hs, UInt_t chipi) ;
38 UInt_t GetHitEventsTot(UInt_t hs) ;
39 Float_t GetHitEventsEfficiency(UInt_t hs, UInt_t chipi) ;
40 Float_t GetHitEventsTotEfficiency(UInt_t hs) ;
41 Float_t GetHitEventsEfficiencyError(UInt_t hs, UInt_t chipi) ;
42 Float_t GetHitEventsTotEfficiencyError(UInt_t hs) ;
43 Float_t GetAverageMultiplicity(UInt_t hs, UInt_t chipi) ;
44 Float_t GetAverageMultiplicityTot(UInt_t hs) ;