Formatting changes.
[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;
14
beb058b1 15// Use the following for testing the Shuttle preprocessor
16//static const char* CDBPath = "local://$ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB";
17// Or this one for "normal" use
18static const char* CDBPath = "local://$ALICE_ROOT";
d29760d6 19
20void generateTrigger(const char* cdbpath=CDBPath);
21
5322694c 22void getBoundaries(const AliMUONV2DStore& store,
23 Float_t& x0min, Float_t& x0max,
24 Float_t& x1min, Float_t& x1max);
8f7d7575 25
5322694c 26void plot(const AliMUONV2DStore& store, const char* name, Int_t nbins=512);
8f7d7575 27
5322694c 28void plotCDB(const char* calibType="MUON/Calib/Pedestals", Int_t runNumber=0);
b3c7c475 29
5322694c 30AliMUONV2DStore* diff(AliMUONV2DStore& store1, AliMUONV2DStore& store2, const char* opt="abs");
31
32AliMUONV2DStore* read2D(const char* calibType="MUON/Calib/Pedestals", Int_t runNumber=0);
33
34AliMUONV1DStore* read1D(const char* calibType="MUON/Calib/LocalBoardMasks", Int_t runNumber=0);
b3c7c475 35
8f7d7575 36void testMakeStores(Int_t readLoop=10);
b3c7c475 37
5322694c 38void writeToCDB(const char* cdbpath, const char* calibpath, TObject* object,
39 Int_t startRun, Int_t endRun, Bool_t defaultValues);
40
41void writePedestals(const char* cdbpath, Bool_t defaultValues,
42 Int_t startRun, Int_t endRun);
43
44void writeGains(const char* cdbpath, Bool_t defaultValues,
45 Int_t startRun, Int_t endRun);
46
47void writeDeadChannels(const char* cdbpath, Bool_t defaultValues,
48 Int_t startRun, Int_t endRun);
49
b3c7c475 50#endif