]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/ESD/AliTriggerPFProtection.cxx
added headers needed for compilation
[u/mrichter/AliRoot.git] / STEER / ESD / AliTriggerPFProtection.cxx
index 39c03ad14b1986018db24811b74bc1fc02809515..418d515a2dddff7a47443142bbb6c4721bbaae55 100644 (file)
 #include "AliLog.h"
 #include "AliTriggerPFProtection.h"
 
+using std::endl;
+using std::cout;
+using std::hex;
+using std::dec;
 ClassImp( AliTriggerPFProtection )
 //_____________________________________________________________________________
 AliTriggerPFProtection::AliTriggerPFProtection() :
@@ -51,7 +55,7 @@ fINTa(), fINTb(),fINT(),
 fNa1(0),fNa2(0),fTa(0),
 fNb1(0),fNb2(0),fTb(0) 
 {
-for(Int_t i=0;i<12;i++)pfdef[i]=0;
+for(Int_t i=0;i<12;i++)fPFdef[i]=0;
 }
 AliTriggerPFProtection::AliTriggerPFProtection( TString & name) :
 TNamed(name, name), 
@@ -59,7 +63,7 @@ fINTa(), fINTb(),fINT(),
 fNa1(0),fNa2(0),fTa(0),
 fNb1(0),fNb2(0),fTb(0)
 {
-for(Int_t i=0;i<12;i++)pfdef[i]=0;
+for(Int_t i=0;i<12;i++)fPFdef[i]=0;
 }
 AliTriggerPFProtection::AliTriggerPFProtection( TString & name,TString & inta, TString & intb, TString & interaction ) :
 TNamed(name, name), 
@@ -67,15 +71,15 @@ fINTa(inta), fINTb(intb),fINT(interaction),
 fNa1(0),fNa2(0),fTa(0),
 fNb1(0),fNb2(0),fTb(0)
 {
-for(Int_t i=0;i<12;i++)pfdef[i]=0;
+for(Int_t i=0;i<12;i++)fPFdef[i]=0;
 }
-AliTriggerPFProtection::AliTriggerPFProtection(TString& name,UInt_t* pfdefin)
+AliTriggerPFProtection::AliTriggerPFProtection(TString& name,UInt_t* pfdef)
 :TNamed(name,name),
 fINTa(), fINTb(),fINT(),
 fNa1(0),fNa2(0),fTa(0),
 fNb1(0),fNb2(0),fTb(0)
 {
-for(Int_t i=0;i<12;i++)pfdef[i]=pfdefin[i];
+for(Int_t i=0;i<12;i++)fPFdef[i]=pfdef[i];
 }
 //_____________________________________________________________________________
 void AliTriggerPFProtection::Print( const Option_t* ) const
@@ -88,11 +92,9 @@ void AliTriggerPFProtection::Print( const Option_t* ) const
   cout << "  Interaction:                   " << fINT.Data() << endl;
   cout << "  Na1: " << fNa1 << " Na2: " << fNa2 << " Ta: " << fTa << endl;
   cout << "  Nb1: " << fNb1 << " Nb2: " << fNb2 << " Tb: " << fTb << endl;
-  if(1){
-    cout << "pfdef: " << hex;
-    for(Int_t i=0;i<12;i++)cout << " 0x" << pfdef[i];
-    cout << dec << endl;
-  }
+  cout << "PFdef: " << hex;
+  for(Int_t i=0;i<12;i++)cout << " 0x" << fPFdef[i];
+  cout << dec << endl;
 }
 
 //_____________________________________________________________________________