Adding handling of Capacitances (Laurent)
[u/mrichter/AliRoot.git] / MUON / MUONCDB.h
CommitLineData
b3c7c475 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
8f7d7575 9#include "Rtypes.h"
10
b3c7c475 11class TList;
d29760d6 12class AliMUONV1DStore;
8f7d7575 13class AliMUONV2DStore;
c3357e6d 14class TMap;
8f7d7575 15
beb058b1 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
19static const char* CDBPath = "local://$ALICE_ROOT";
d29760d6 20
21void generateTrigger(const char* cdbpath=CDBPath);
22
5322694c 23void getBoundaries(const AliMUONV2DStore& store,
24 Float_t& x0min, Float_t& x0max,
25 Float_t& x1min, Float_t& x1max);
8f7d7575 26
5322694c 27void plot(const AliMUONV2DStore& store, const char* name, Int_t nbins=512);
8f7d7575 28
5322694c 29AliMUONV2DStore* diff(AliMUONV2DStore& store1, AliMUONV2DStore& store2, const char* opt="abs");
30
8f7d7575 31void testMakeStores(Int_t readLoop=10);
b3c7c475 32
5322694c 33void writeToCDB(const char* cdbpath, const char* calibpath, TObject* object,
34 Int_t startRun, Int_t endRun, Bool_t defaultValues);
35
9ff4fb4b 36void writeNeighbours(const char* cdbpath, Int_t startRun=0, Int_t endRun=99999999);
37
c3357e6d 38void writeHV(const char* cdbpath, Bool_t defaultValues,
39 Int_t startRun, Int_t endRun);
40
5322694c 41void writePedestals(const char* cdbpath, Bool_t defaultValues,
c1bbaf66 42 Int_t startRun, Int_t endRun=99999999);
5322694c 43
44void writeGains(const char* cdbpath, Bool_t defaultValues,
c1bbaf66 45 Int_t startRun, Int_t endRun=99999999);
46
47void writeCapacitances(const char* cdbpath, Bool_t defaultValues,
48 Int_t startRun=0, Int_t endRun=99999999);
5322694c 49
b3c7c475 50#endif