]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- added the DCA for the HLT tracks, as calculated by the HLT reconstruction, however...
authorkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Oct 2010 11:25:54 +0000 (11:25 +0000)
committerkkanaki <kkanaki@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Oct 2010 11:25:54 +0000 (11:25 +0000)
  as not all ESD files contain this information and the distribution will be empty for older HLT runs.
  Besides the DCA value differences are minor between what the task calculates at the momemt and what
  the HLT reconstruction delivers. The commit is for completion of information.

HLT/QA/tasks/AliAnalysisTaskHLT.cxx

index a0cb91dd2a0dce5a12535253f2c0010da0d3a45f..f54fe94f9c9bbffdd220199bec6898b935d0ca62 100644 (file)
@@ -627,6 +627,13 @@ void AliAnalysisTaskHLT::UserExec(Option_t *){
       if(!(esdtrackHLT->GetStatus()&AliESDtrack::kTPCin)) continue;
 
       fDCAHLT->Fill(esdtrackHLT->GetD(esdHLT->GetPrimaryVertex()->GetXv(), esdHLT->GetPrimaryVertex()->GetYv(), bfield) );  
+      
+//       // plotting the DCA calculated by Sergey 
+//       Float_t DCAr, DCAz = -99;
+//       esdtrackHLT->GetImpactParametersTPC(DCAr, DCAz);
+//       fDCAHLT->Fill(DCAr);
+      
+      
       fChargeHLT->Fill(esdtrackHLT->Charge());
 
       if((esdtrackHLT->GetStatus()&AliESDtrack::kTPCin) || (esdtrackHLT->GetStatus()&AliESDtrack::kTPCin && esdtrackHLT->GetStatus()&AliESDtrack::kTPCout))