]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/MUONCDB.h
- ESD can be used instead of AliMUONTrack objects to access the reconstructed variables.
[u/mrichter/AliRoot.git] / MUON / MUONCDB.h
1 #ifndef MUONCDB_H
2 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * See cxx source for full Copyright notice                               */
4
5 /* $Id$ */
6
7 /// By Laurent Aphecetche
8
9 #include "Rtypes.h"
10
11 class TList;
12 class AliMUONV1DStore;
13 class AliMUONV2DStore;
14 class TMap;
15
16 // Use the following for testing the Shuttle preprocessor
17 //static const char* CDBPath = "local://$ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB";
18 // Or this one for "normal" use
19 static const char* CDBPath = "local://$ALICE_ROOT";
20
21 void generateTrigger(const char* cdbpath=CDBPath);
22
23 void getBoundaries(const AliMUONV2DStore& store,
24                    Float_t& x0min, Float_t& x0max,
25                    Float_t& x1min, Float_t& x1max);
26
27 void plot(const AliMUONV2DStore& store, const char* name, Int_t nbins=512);
28
29 AliMUONV2DStore* diff(AliMUONV2DStore& store1, AliMUONV2DStore& store2, const char* opt="abs");
30
31 void testMakeStores(Int_t readLoop=10);
32
33 void writeToCDB(const char* cdbpath, const char* calibpath, TObject* object, 
34                 Int_t startRun, Int_t endRun, Bool_t defaultValues);
35
36 void writeHV(const char* cdbpath, Bool_t defaultValues, 
37              Int_t startRun, Int_t endRun);
38
39 void writePedestals(const char* cdbpath, Bool_t defaultValues,
40                     Int_t startRun, Int_t endRun);
41
42 void writeGains(const char* cdbpath, Bool_t defaultValues,
43                 Int_t startRun, Int_t endRun);
44
45 #endif