]>
Commit | Line | Data |
---|---|---|
dadc7068 | 1 | // XEmacs -*-C++-*- |
2 | // $Id$ | |
3 | ||
4 | #ifndef AliHLTTPCNOISEMAP_H | |
5 | #define AliHLTTPCNOISEMAP_H | |
6 | //* This file is property of and copyright by the ALICE HLT Project * | |
7 | //* ALICE Experiment at CERN, All rights reserved. * | |
8 | //* See cxx source for full Copyright notice * | |
9 | ||
10 | /** @file AliHLTTPCNoiseMap.h | |
11 | @author Kalliopi Kanaki | |
3a3550fa | 12 | @date |
dadc7068 | 13 | @brief Class for reading the noise map from HCDB. |
14 | */ | |
15 | ||
16 | #include "AliHLTLogging.h" | |
17 | class AliTPCCalPad; | |
18 | ||
19 | /** | |
20 | * @class AliHLTTPCNoiseMap | |
21 | * | |
22 | * This singleton class enables the reading | |
23 | * of the noise map from the HCDB. There will only | |
24 | * be a single instance called. It returns the noise | |
25 | * map, as it is created by the offline code, i.e. | |
26 | * in global coordinates. | |
27 | * | |
28 | * The use is simple: | |
29 | * AliHLTTPCNoiseMap *nm = AliHLTTPCNoiseMap::Instance(); | |
30 | * AliTPCCalPad *noisePad = nm->ReadNoiseMap(); | |
31 | * | |
32 | * @ingroup alihlt_tpc | |
33 | */ | |
34 | ||
35 | ||
36 | class AliHLTTPCNoiseMap : public AliHLTLogging { | |
37 | public: | |
38 | ||
39 | /** returns a pointer to the sole instance */ | |
40 | static AliHLTTPCNoiseMap* Instance(); | |
41 | ||
42 | /** method to retrieve the noise map from HCDB */ | |
b1d702f1 | 43 | AliTPCCalPad* ReadNoiseMap(Int_t runNo); |
dadc7068 | 44 | |
45 | private: | |
46 | /** standard constructor prohibited */ | |
47 | AliHLTTPCNoiseMap(); | |
48 | /** copy constructor prohibited */ | |
49 | AliHLTTPCNoiseMap(const AliHLTTPCNoiseMap&); | |
50 | /** assignment operator prohibited */ | |
51 | AliHLTTPCNoiseMap& operator=(const AliHLTTPCNoiseMap&); | |
52 | ||
53 | /** pointer to sole instance */ | |
54 | static AliHLTTPCNoiseMap *pNoiseMapInstance; | |
55 | ||
56 | ClassDef(AliHLTTPCNoiseMap, 0) | |
57 | }; | |
58 | #endif // AliHLTTPCNOISEMAP_H |