2 // $MpId: testReadMotifType.C,v 1.11 2005/08/24 08:53:27 ivana Exp $
4 // Test macro for reading motif type data.
6 void testReadMotifType(AliMpStationType station = kStation1,
7 AliMpPlaneType plane = kBendingPlane)
9 AliMpMotifReader r(station, plane);
10 //r.SetVerboseLevel(2);
15 if ( station == kStation1 )
16 if ( plane == kBendingPlane )
19 names = "ABCDEFGHIJKLMN";
20 else if ( station == kStation2 )
21 if ( plane == kBendingPlane ) {
22 names ="ABCDEFGHIJKLMNOPQRSTUVWXY";
23 names2 ="abcdefghimnptuv";
27 names = "ABCEFGHIJKLMN";
28 names2 ="abcdefgijklmnopqrstuwv";
32 for (Int_t i=0;i<names.Length();++i){
33 r.BuildMotifType(names[i])->Print("G");
36 // motifs a1, b1, ..., u1, v1
37 for (Int_t i2=0;i2<names2.Length();++i2){
38 TString mtName = names2[i2];
40 r.BuildMotifType(mtName)->Print("G");
43 // motifs v2, ..., v5, v6
45 for (Int_t i3=2;i3<nv+1;++i3) {
48 r.BuildMotifType(mtName)->Print("G");