]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/PartCorrBase/AliIsolationCut.cxx
Remove/comment out the code related to signal plus bacround mixing, since it is avail...
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliIsolationCut.cxx
index 503293deac3ebb717133ae3948b1ec06a90bb9c3..0e57cbbedd76144901042d48e86c8de987ca74d9 100755 (executable)
@@ -184,7 +184,7 @@ void  AliIsolationCut::MakeIsolationCut(TObjArray * const plCTS,  TObjArray * co
        if(!reader->GetDataType()== AliCaloTrackReader::kMC) 
        {
                reader->GetVertex(vertex);
-               if(reader->GetSecondInputAODTree()) reader->GetSecondInputAODVertex(vertex2);
+               //if(reader->GetSecondInputAODTree()) reader->GetSecondInputAODVertex(vertex2);
        }
     TLorentzVector mom ;
     for(Int_t ipr = 0;ipr < plNe->GetEntries() ; ipr ++ ){
@@ -196,8 +196,8 @@ void  AliIsolationCut::MakeIsolationCut(TObjArray * const plCTS,  TObjArray * co
       if(calo->GetNTracksMatched() > 0) continue ; 
       //Input from second AOD?
       Int_t input = 0;
-      if     (pCandidate->GetDetector() == "EMCAL" && reader->GetAODEMCALNormalInputEntries() <= ipr) input = 1 ;
-      else if(pCandidate->GetDetector() == "PHOS"  && reader->GetAODPHOSNormalInputEntries()  <= ipr) input = 1;
+//      if     (pCandidate->GetDetector() == "EMCAL" && reader->GetAODEMCALNormalInputEntries() <= ipr) input = 1 ;
+//      else if(pCandidate->GetDetector() == "PHOS"  && reader->GetAODPHOSNormalInputEntries()  <= ipr) input = 1;
       
       //Get Momentum vector, 
       if     (input == 0) calo->GetMomentum(mom,vertex) ;//Assume that come from vertex in straight line