]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ACORDE/macros/MakeACORDEQAReferenceLowMultiplicityData.C
The volumes that were still coded in the Geant3 framework have been redefined within...
[u/mrichter/AliRoot.git] / ACORDE / macros / MakeACORDEQAReferenceLowMultiplicityData.C
1 /**************************************************************************
2
3         Macro created to storage in $ALICE_ROOT/QAref/ACORDE/QA/Calib
4         the reference data for ACORDE's Quality Assurance
5
6         By now, it is the same information for
7
8         ../ACORDE/QA/Calib
9         ../ACORDE/QA/Cosmics
10         ../ACORDE/QA/HighMultiplicity
11         ../ACORDE/QA/LowMultiplicity
12
13         From: 
14
15                 Mario Rodriguez Cahuantzi <mrodrigu@mail.cern.ch>
16                 FCFM, BUAP, Puebla, Mexico
17
18         Created:
19
20                 March 3rd. 2009 @ CERN
21
22
23         Further commnents:
24
25                 Arturo Fernandez <afernan@mail.cern.ch>
26
27 **************************************************************************/
28 void MakeACORDEQAReferenceLowMultiplicityData()
29 {
30
31         AliCDBManager *man = AliCDBManager::Instance();
32
33         AliCDBStorage *storLoc;
34         man->SetDefaultStorage("local://$ALICE_ROOT/QAref");
35
36
37         AliACORDECalibData *calibda = new AliACORDECalibData("QALowMultiplicity");
38
39         Float_t ModulesActivity[60] = 
40         {
41                 0.92,0.51,0.68,0.76,0.78,0.83,0.00,0.69,0.72,0.86,
42                 0.86,0.85,0.79,0.75,0.79,0.62,0.82,0.92,0.79,0.78,
43                 0.00,0.90,0.84,0.95,0.79,0.87,0.91,0.88,0.92,0.82,
44                 0.80,0.98,1.00,0.89,0.82,0.89,0.85,0.92,0.88,0.91,
45                 0.86,0.00,0.86,0.92,0.88,0.81,0.45,0.84,0.86,0.60,
46                 0.84,0.86,0.74,0.24,0.71,0.82,0.56,0.00,0.00,0.79               
47         };
48   
49         calibda->SetModulesActivity(ModulesActivity);
50         
51         // Creation of the object ACORDE Calibration as a MetaData
52         
53         TObjString str("ACORDE QA Reference LowMultiplicity Data");      // object that will be stored
54
55         AliCDBMetaData *md= new AliCDBMetaData(); // metaData describing the object
56
57         AliCDBId id("ACORDE/QA/LowMultiplicity",0,9999999);
58
59         md->SetResponsible("Mario Rodriguez");
60         md->SetBeamPeriod(0);
61         md->SetAliRootVersion("Current trunk version");
62         md->SetComment("Version 1.0 of QA Reference LowMultiplicity Data for ACORDE");
63         md->PrintMetaData();
64
65         storLoc = man->GetDefaultStorage();
66         storLoc->Put(calibda, id, md);
67
68         storLoc->Delete();
69         delete md;
70
71 }
72