]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
set LookUp table
authoralla <Alla.Maevskaya@cern.ch>
Fri, 21 Nov 2014 10:23:40 +0000 (11:23 +0100)
committeralla <Alla.Maevskaya@cern.ch>
Fri, 21 Nov 2014 11:06:44 +0000 (12:06 +0100)
T0/AliT0CalibData.cxx

index 2a6635384220003297c23c727da0220c615165f3..19e48290734dc650924a45b5eaa9b347d8a5a302 100644 (file)
@@ -131,7 +131,7 @@ void AliT0CalibData::ReadAsciiLookup(const Char_t *filename)
     AliError(Form("Please, specify file with database")) ;
     return ;
   }
-
+  cout<<" read file "<<filename<<endl;
 
   ifstream lookup;
   lookup.open(filename);
@@ -147,6 +147,7 @@ void AliT0CalibData::ReadAsciiLookup(const Char_t *filename)
       lookup>>ntrms;
       //      fNumberOfTRMs=ntrms;
       SetNumberOfTRMs(ntrms);
+      cout<<" N TRMS "<<ntrms<<endl;
        while(!lookup.eof())
        {
          AliT0LookUpKey * lookkey= new AliT0LookUpKey();
@@ -159,7 +160,7 @@ void AliT0CalibData::ReadAsciiLookup(const Char_t *filename)
          lookvalue->SetChannel(channel);
          lookkey->SetKey(key);
          lookkey->SetChannelName(varname);
-         
+         cout<<trm<<" "<<chain<<" "<<tdc<<" "<<channel<<" "<<key<<" "<<varname<<endl;
          fLookup.Add((TObject*)lookvalue,(TObject*)lookkey);
          
        }