]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONTrackerIO.h
remove obselete clean QA macros command
[u/mrichter/AliRoot.git] / MUON / AliMUONTrackerIO.h
CommitLineData
81028269 1#ifndef ALIMUONTRACKERIO_H
2#define ALIMUONTRACKERIO_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6
7// $Id$
8
9/// \ingroup calib
10/// \class AliMUONTrackerIO
11/// \brief Converts ASCII calibration files (ped, gains, capa) into AliMUONVStore object
12///
13// Author Laurent Aphecetche, Subatech
14
15#ifndef ROOT_TObject
16# include "TObject.h"
17#endif
18
19class AliMUONVStore;
20class TString;
21
22class AliMUONTrackerIO : public TObject
23{
24public:
25 AliMUONTrackerIO();
26 virtual ~AliMUONTrackerIO();
27
28 static Int_t ReadPedestals(const char* filename, AliMUONVStore& pedStore);
cba13f7c 29 static Int_t DecodePedestals(TString data, AliMUONVStore& pedStore);
81028269 30
31 static Int_t ReadGains(const char* filename, AliMUONVStore& gainStore, TString& comment);
cba13f7c 32 static Int_t DecodeGains(TString data, AliMUONVStore& gainStore, TString& comment);
81028269 33
34 static Int_t ReadCapacitances(const char* filename, AliMUONVStore& capaStore);
35
7332f213 36 /// Error code constants
81028269 37 enum ErrorCode
38 {
39 kCannotOpenFile = -1, /// cannot open given file
40 kDummyFile = -2, /// file is a dummy one (e.g. some intermediate gain files from the DA)
41 kFormatError = -3 /// file is not of the expected format
42 };
43
44 ClassDef(AliMUONTrackerIO,1) // Calibration ASCII file reader for MUON tracker
45};
46
47#endif