]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONPreprocessor.h
Build TGeo geometry also when running with Geant4
[u/mrichter/AliRoot.git] / MUON / AliMUONPreprocessor.h
CommitLineData
ea199e33 1#ifndef ALIMUONPREPROCESSOR_H
2#define ALIMUONPREPROCESSOR_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 AliMUONPreprocessor
11/// \brief Shuttle preprocessor for MUON subsystems (TRK and TRG)
12///
13/// \author Laurent Aphecetche
14
15#ifndef ALI_PREPROCESSOR_H
16# include "AliPreprocessor.h"
17#endif
18
19class AliMUONVSubprocessor;
20class TObjArray;
21
22class AliMUONPreprocessor : public AliPreprocessor
23{
24public:
fee1d02b 25 AliMUONPreprocessor(const TString& detName, AliShuttleInterface* shuttle);
ea199e33 26 virtual ~AliMUONPreprocessor();
27
28 virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
29 virtual UInt_t Process(TMap* dcsAliasMap);
30 virtual void Print(Option_t* opt="") const;
31
57e176c0 32 void Log(const char* message) { AliPreprocessor::Log(message); }
33
ea199e33 34 TList* GetFileSources(Int_t system, const char* id)
35 { return AliPreprocessor::GetFileSources(system,id); }
36
37 UInt_t Store(const char* pathLevel2, const char* pathLevel3, TObject* object,
38 AliCDBMetaData* metaData,
39 Int_t validityStart = 0, Bool_t validityInfinite = kFALSE)
40 {
41 return AliPreprocessor::Store(pathLevel2,pathLevel3,object,metaData,
42 validityStart,validityInfinite);
43 }
44
45 const char* GetFile(Int_t system, const char* id, const char* source)
46 {
47 return AliPreprocessor::GetFile(system,id,source);
48 }
49
50private:
fee1d02b 51 // enum ESubprocessors { kPedestal=0, kGMS=1, kLast };
ea199e33 52
53 AliMUONPreprocessor(const AliMUONPreprocessor& rhs);
54 AliMUONPreprocessor& operator=(const AliMUONPreprocessor& rhs);
55
56 AliMUONVSubprocessor* Subprocessor(Int_t i) const;
57
58private:
06ca6d7b 59 static const TString fgkTrackerDetName; ///< The tracker detector name
60 static const TString fgkTriggerDetName; ///< The trigger detector name
fee1d02b 61
ea199e33 62 TObjArray* fSubprocessors; ///!< sub processors to execute
63
64 ClassDef(AliMUONPreprocessor,1) // MUON Shuttle preprocessor
65};
66
67#endif