]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONPedestalSubprocessor.h
Fixing clustering(s) memory leaks
[u/mrichter/AliRoot.git] / MUON / AliMUONPedestalSubprocessor.h
CommitLineData
ea199e33 1#ifndef ALIMUONPEDESTALSUBPROCESSOR_H
2#define ALIMUONPEDESTALSUBPROCESSOR_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 shuttle
10/// \class AliMUONPedestalSubprocessor
11/// \brief Implementation of AliMUONVSubprocessor for MUON TRK pedestals
12///
78649106 13// Author Laurent Aphecetche
ea199e33 14
15#ifndef ALIMUONVSUBPROCESSOR_H
16# include "AliMUONVSubprocessor.h"
17#endif
18
8d8e920c 19class AliMUONVStore;
ea199e33 20class TObjArray;
21
22class AliMUONPedestalSubprocessor : public AliMUONVSubprocessor
23{
24public:
25 AliMUONPedestalSubprocessor(AliMUONPreprocessor* master);
26 virtual ~AliMUONPedestalSubprocessor();
27
6c870207 28 Bool_t Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
ea199e33 29 UInt_t Process(TMap* dcsAliasMap);
30 void Print(Option_t* opt="") const;
31
32private:
f26f75cd 33 /// Not implemented
ea199e33 34 AliMUONPedestalSubprocessor(const AliMUONPedestalSubprocessor&);
f26f75cd 35 /// Not implemented
ea199e33 36 AliMUONPedestalSubprocessor& operator=(const AliMUONPedestalSubprocessor&);
37
6c870207 38 Int_t ReadPedestalFile(const char* filename);
39 Int_t ReadConfigFile(const char* filename);
f26f75cd 40
ea199e33 41private:
8d8e920c 42 AliMUONVStore* fPedestals; //!< Pedestals for the MUON TRK
6c870207 43 AliMUONVStore* fConfig; //!< Configuration (i.e. list of (buspatch,manu)) for the MUON TRK
44 Bool_t fConfigChanged; //!< flag to trigger the saving of the configuration
ea199e33 45
6c870207 46 ClassDef(AliMUONPedestalSubprocessor,2) // A shuttle preprocessor for MUON TRK pedestals
ea199e33 47};
48
49#endif