2 // $MpId: testReadMotifType.C,v 1.12 2005/09/26 16:05:25 ivana Exp $
4 // Test macro for reading motif type data.
6 void testReadMotifType(AliMp::StationType station = AliMp::kStation1,
7 AliMp::PlaneType plane = AliMp::kBendingPlane,
8 Bool_t rootInput = false)
10 AliMpMotifReader r(station, plane);
11 //r.SetVerboseLevel(2);
16 if ( station == AliMp::kStation1 )
17 if ( plane == AliMp::kBendingPlane )
20 names = "ABCDEFGHIJKLMN";
21 else if ( station == AliMp::kStation2 )
22 if ( plane == AliMp::kBendingPlane ) {
23 names ="ABCDEFGHIJKLMNOPQRSTUVWXY";
24 names2 ="abcdefghimnptuv";
28 names = "ABCEFGHIJKLMN";
29 names2 ="abcdefgijklmnopqrstuwv";
33 for (Int_t i=0;i<names.Length();++i){
34 r.BuildMotifType(names[i])->Print("G");
37 // motifs a1, b1, ..., u1, v1
38 for (Int_t i2=0;i2<names2.Length();++i2){
39 TString mtName = names2[i2];
41 r.BuildMotifType(mtName)->Print("G");
44 // motifs v2, ..., v5, v6
46 for (Int_t i3=2;i3<nv+1;++i3) {
49 r.BuildMotifType(mtName)->Print("G");