]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/MUONCDB.h
Added functionality to generate module misalignments
[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
c3357e6d 36void writeHV(const char* cdbpath, Bool_t defaultValues,
37 Int_t startRun, Int_t endRun);
38
5322694c 39void writePedestals(const char* cdbpath, Bool_t defaultValues,
40 Int_t startRun, Int_t endRun);
41
42void writeGains(const char* cdbpath, Bool_t defaultValues,
43 Int_t startRun, Int_t endRun);
44
b3c7c475 45#endif