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 *
10 /** @file AliHLTTPCNoiseMap.h
11 @author Kalliopi Kanaki
13 @brief Class for reading the noise map from HCDB.
16 #include "AliHLTLogging.h"
20 * @class AliHLTTPCNoiseMap
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.
29 * AliHLTTPCNoiseMap *nm = AliHLTTPCNoiseMap::Instance();
30 * AliTPCCalPad *noisePad = nm->ReadNoiseMap();
36 class AliHLTTPCNoiseMap : public AliHLTLogging {
39 /** returns a pointer to the sole instance */
40 static AliHLTTPCNoiseMap* Instance();
42 /** method to retrieve the noise map from HCDB */
43 AliTPCCalPad* ReadNoiseMap(Int_t runNo);
46 /** standard constructor prohibited */
48 /** copy constructor prohibited */
49 AliHLTTPCNoiseMap(const AliHLTTPCNoiseMap&);
50 /** assignment operator prohibited */
51 AliHLTTPCNoiseMap& operator=(const AliHLTTPCNoiseMap&);
53 /** pointer to sole instance */
54 static AliHLTTPCNoiseMap *pNoiseMapInstance;
56 ClassDef(AliHLTTPCNoiseMap, 0)
58 #endif // AliHLTTPCNOISEMAP_H