TGTextView* rn = new TGTextView(t);
+ rn->AddLine("0.98");
+ rn->AddLine("");
+ rn->AddLine("Added --asciimapping option");
+ rn->AddLine("");
+
rn->AddLine("0.97");
rn->AddLine("");
rn->AddLine("Adding calibration option with Emelec (aka injection) gain");
void HandleMenu(Int_t i);
/// Return the version number of the mchview application
- static const char* Version() { return "0.97"; }
+ static const char* Version() { return "0.98"; }
/// Return the SVN revision and version number of the mchview application
static const char* FullVersion() { return Form("mchview Version %s ($Id$)",Version()); }
# Bending PCB. Density 1. Rounded (type 2).
# Placing motifs starting bottom left and going counter-clockwise
-# from O17 to R30
+# from O18 to R30
SIZES 2.5 0.5 40 40
-MOTIF O17 10 0
+MOTIF O18 10 0
MOTIF O18 12 0
MOTIF O9 14 0
//Given a list of gassiplex (manas) channel ranges, defines
-//a motif.dat file.
+//a motif.dat file (starting from bottom left)
#include <fstream>
#include <vector>
cols.push_back(std::make_pair<int,int>(0,8));
}
else if ( what == "O9" || what == "O10" || what == "O11" || what == "O12"
- || what == "O17" || what == "O18" || what == "O19" || what == "O20" )
+ || what == "O18" || what == "O19" || what == "O20" )
{
add(cols,0,32);
add(cols,0,32);
54 1 30 -
53 1 31 -
52 1 32 -
-33 1 33 -
-32 1 34 -
-31 1 35 -
-30 1 36 -
-29 1 37 -
-28 1 38 -
-27 1 39 -
-26 1 40 -
-25 1 41 -
-24 1 42 -
-23 1 43 -
-22 1 44 -
-21 1 45 -
-20 1 46 -
-19 1 47 -
-18 1 48 -
-17 1 49 -
-16 1 50 -
-15 1 51 -
-14 1 52 -
-13 1 53 -
-12 1 54 -
-11 1 55 -
-10 1 56 -
-9 1 57 -
-8 1 58 -
-7 1 59 -
-6 1 60 -
-5 1 61 -
-4 1 62 -
-3 1 63 -
-2 1 64 -
+2 1 33 -
+3 1 34 -
+4 1 35 -
+5 1 36 -
+6 1 37 -
+7 1 38 -
+8 1 39 -
+9 1 40 -
+10 1 41 -
+11 1 42 -
+12 1 43 -
+13 1 44 -
+14 1 45 -
+15 1 46 -
+16 1 47 -
+17 1 48 -
+18 1 49 -
+19 1 50 -
+20 1 51 -
+21 1 52 -
+22 1 53 -
+23 1 54 -
+24 1 55 -
+25 1 56 -
+26 1 57 -
+27 1 58 -
+28 1 59 -
+29 1 60 -
+30 1 61 -
+31 1 62 -
+32 1 63 -
+33 1 64 -
#for slats there's no kapton connector, so it's always 1 (zero make the reader
#abort, so it's not a valid value here).
#
-58 1 1 -
-59 1 2 -
-60 1 3 -
-61 1 4 -
-62 1 5 -
-63 1 6 -
-64 1 7 -
-65 1 8 -
-66 1 9 -
-67 1 10 -
-68 1 11 -
-69 1 12 -
-70 1 13 -
-71 1 14 -
-72 1 15 -
-73 1 16 -
-74 1 17 -
-75 1 18 -
-76 1 19 -
-77 1 20 -
-78 1 21 -
-79 1 22 -
-80 1 23 -
-81 1 24 -
-82 1 25 -
-83 1 26 -
-52 1 27 -
-53 1 28 -
-54 1 29 -
-55 1 30 -
-56 1 31 -
-57 1 32 -
+77 1 1 -
+76 1 2 -
+75 1 3 -
+74 1 4 -
+73 1 5 -
+72 1 6 -
+71 1 7 -
+70 1 8 -
+69 1 9 -
+68 1 10 -
+67 1 11 -
+66 1 12 -
+65 1 13 -
+64 1 14 -
+63 1 15 -
+62 1 16 -
+61 1 17 -
+60 1 18 -
+59 1 19 -
+58 1 20 -
+57 1 21 -
+56 1 22 -
+55 1 23 -
+54 1 24 -
+53 1 25 -
+52 1 26 -
+83 1 27 -
+82 1 28 -
+81 1 29 -
+80 1 30 -
+79 1 31 -
+78 1 32 -
2 1 33 -
3 1 34 -
4 1 35 -
+++ /dev/null
-# Motif O17
-#
-#connecteur_berg kapton padname not_used
-#for slats there's no kapton connector, so it's always 1 (zero make the reader
-#abort, so it's not a valid value here).
-#
-52 1 1 -
-53 1 2 -
-54 1 3 -
-55 1 4 -
-56 1 5 -
-57 1 6 -
-58 1 7 -
-59 1 8 -
-60 1 9 -
-61 1 10 -
-62 1 11 -
-63 1 12 -
-64 1 13 -
-65 1 14 -
-66 1 15 -
-67 1 16 -
-68 1 17 -
-69 1 18 -
-70 1 19 -
-71 1 20 -
-72 1 21 -
-73 1 22 -
-74 1 23 -
-75 1 24 -
-76 1 25 -
-77 1 26 -
-78 1 27 -
-79 1 28 -
-80 1 29 -
-81 1 30 -
-82 1 31 -
-83 1 32 -
-33 1 33 -
-32 1 34 -
-31 1 35 -
-30 1 36 -
-29 1 37 -
-28 1 38 -
-27 1 39 -
-26 1 40 -
-25 1 41 -
-24 1 42 -
-23 1 43 -
-22 1 44 -
-21 1 45 -
-20 1 46 -
-19 1 47 -
-18 1 48 -
-17 1 49 -
-16 1 50 -
-15 1 51 -
-14 1 52 -
-13 1 53 -
-12 1 54 -
-11 1 55 -
-10 1 56 -
-9 1 57 -
-8 1 58 -
-7 1 59 -
-6 1 60 -
-5 1 61 -
-4 1 62 -
-3 1 63 -
-2 1 64 -
#for slats there's no kapton connector, so it's always 1 (zero make the reader
#abort, so it's not a valid value here).
#
-52 1 1 -
-53 1 2 -
-54 1 3 -
-55 1 4 -
-56 1 5 -
-57 1 6 -
-58 1 7 -
-59 1 8 -
-60 1 9 -
-61 1 10 -
-62 1 11 -
-63 1 12 -
-64 1 13 -
-65 1 14 -
-66 1 15 -
-67 1 16 -
-68 1 17 -
-69 1 18 -
-70 1 19 -
-71 1 20 -
-72 1 21 -
-73 1 22 -
-74 1 23 -
-75 1 24 -
-76 1 25 -
-77 1 26 -
-78 1 27 -
-79 1 28 -
-80 1 29 -
-81 1 30 -
-82 1 31 -
-83 1 32 -
-2 1 33 -
-3 1 34 -
+83 1 1 -
+82 1 2 -
+81 1 3 -
+80 1 4 -
+79 1 5 -
+78 1 6 -
+77 1 7 -
+76 1 8 -
+75 1 9 -
+74 1 10 -
+73 1 11 -
+72 1 12 -
+71 1 13 -
+70 1 14 -
+69 1 15 -
+68 1 16 -
+67 1 17 -
+66 1 18 -
+65 1 19 -
+64 1 20 -
+63 1 21 -
+62 1 22 -
+61 1 23 -
+60 1 24 -
+59 1 25 -
+58 1 26 -
+57 1 27 -
+56 1 28 -
+55 1 29 -
+54 1 30 -
+53 1 31 -
+52 1 32 -
+3 1 33 -
+2 1 34 -
4 1 35 -
5 1 36 -
6 1 37 -
+++ /dev/null
-1 0 0
-2 0 1
-3 0 2
-4 0 3
-5 0 4
-6 0 5
-7 0 6
-8 0 7
-9 0 8
-10 0 9
-11 0 10
-12 0 11
-13 0 12
-14 0 13
-15 0 14
-16 0 15
-17 0 16
-18 0 17
-19 0 18
-20 0 19
-21 0 20
-22 0 21
-23 0 22
-24 0 23
-25 0 24
-26 0 25
-27 0 26
-28 0 27
-29 0 28
-30 0 29
-31 0 30
-32 0 31
-33 1 0
-34 1 1
-35 1 2
-36 1 3
-37 1 4
-38 1 5
-39 1 6
-40 1 7
-41 1 8
-42 1 9
-43 1 10
-44 1 11
-45 1 12
-46 1 13
-47 1 14
-48 1 15
-49 1 16
-50 1 17
-51 1 18
-52 1 19
-53 1 20
-54 1 21
-55 1 22
-56 1 23
-57 1 24
-58 1 25
-59 1 26
-60 1 27
-61 1 28
-62 1 29
-63 1 30
-64 1 31
#include <TROOT.h>
#include <TStyle.h>
+#include "AliMpDataProcessor.h"
+#include "AliMpDataMap.h"
+#include "AliMpDataStreams.h"
+#include "AliMpDDLStore.h"
+
+
//______________________________________________________________________________
Int_t Usage()
{
cout << " --use filename.root : reuse a previously saved (from this program) root file. Several --use can be used ;-)" << endl;
cout << " --geometry #x#+#+# : manually specify the geometry of the window, ala X11..., e.g. --geometry 1280x900+1600+0 will" << endl;
cout << " get a window of size 1280x900, located at (1600,0) from the top-left of the (multihead) display " << endl;
+ cout << " --asciimapping : load mapping from ASCII files instead of OCDB (for debug and experts only...)" << endl;
return -1;
}
Bool_t isGeometryFixed(kFALSE);
Int_t gix, giy;
Int_t gox,goy;
-
+ Bool_t ASCIImapping(kFALSE);
+
for ( Int_t i = 0; i <= args.GetLast(); ++i )
{
TString a(static_cast<TObjString*>(args.At(i))->String());
nok += 2;
++i;
}
+ else if ( a == "--asciimapping" )
+ {
+ ASCIImapping = kTRUE;
+ }
else
{
AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
AliCDBManager::Instance()->SetRun(0);
+ if ( ASCIImapping )
+ {
+ AliMpDataProcessor mp;
+ AliMpDataMap* map = mp.CreateDataMap("data");
+ AliMpDataStreams dataStreams(map);
+ AliMpDDLStore::ReadData(dataStreams);
+ }
+
gROOT->SetStyle("Plain");
gStyle->SetPalette(1);
Int_t n = gStyle->GetNumberOfColors();